# 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