blob: daf93f7b192d8d8581b83d6c433ecd781121d28e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# vim:ft=snippets:
snippet link "Link a static content" b
{{local:/home/yigit/nextcloud/personal_wiki/html/static/${1:filename}|${2:alt text}}}
endsnippet
snippet on "O(n)" b
$\mathcal{O}(n)$
endsnippet
snippet s "Create a new spotlight item" b
- (`!v strftime("%F %R")`) `xsel -ob` -- ${1:Summary}
endsnippet
snippet '- s' "Create a new spotlight item" w
- (`!v strftime("%F %R")`) `xsel -ob` -- ${1:Summary}
endsnippet
snippet "h([1-6])" "Headings" rbA
`!p snip.rv = '=' * int(match.group(1)) ` ${1:${VISUAL}} `!p snip.rv = '=' * int(match.group(1))`
$0
endsnippet
snippet mcd "multi-line code" bA
{{{ $1
${2:${VISUAL}}
}}}
$0
endsnippet
|