summaryrefslogtreecommitdiffstats
path: root/.config/nvim/my_snippets/vimwiki.snippets
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/my_snippets/vimwiki.snippets')
-rw-r--r--.config/nvim/my_snippets/vimwiki.snippets29
1 files changed, 0 insertions, 29 deletions
diff --git a/.config/nvim/my_snippets/vimwiki.snippets b/.config/nvim/my_snippets/vimwiki.snippets
deleted file mode 100644
index daf93f7..0000000
--- a/.config/nvim/my_snippets/vimwiki.snippets
+++ /dev/null
@@ -1,29 +0,0 @@
1# vim:ft=snippets:
2
3snippet link "Link a static content" b
4{{local:/home/yigit/nextcloud/personal_wiki/html/static/${1:filename}|${2:alt text}}}
5endsnippet
6
7snippet on "O(n)" b
8$\mathcal{O}(n)$
9endsnippet
10
11snippet s "Create a new spotlight item" b
12- (`!v strftime("%F %R")`) `xsel -ob` -- ${1:Summary}
13endsnippet
14
15snippet '- s' "Create a new spotlight item" w
16- (`!v strftime("%F %R")`) `xsel -ob` -- ${1:Summary}
17endsnippet
18
19snippet "h([1-6])" "Headings" rbA
20`!p snip.rv = '=' * int(match.group(1)) ` ${1:${VISUAL}} `!p snip.rv = '=' * int(match.group(1))`
21$0
22endsnippet
23
24snippet mcd "multi-line code" bA
25{{{ $1
26${2:${VISUAL}}
27}}}
28$0
29endsnippet