summaryrefslogtreecommitdiffstats
path: root/.config/nvim/my_snippets/vimwiki.snippets
diff options
context:
space:
mode:
authorYigit Sever2023-08-18 23:42:39 +0300
committerYigit Sever2023-08-18 23:42:39 +0300
commit387e08c52d9752bc839c71119f140ba8435c3d70 (patch)
tree3bb20c0e58ccf1e65ced4cfdfb6459e226a24672 /.config/nvim/my_snippets/vimwiki.snippets
parent14c14cfcc9aeb4bada6d2429162ded2917f26a94 (diff)
downloaddotfiles-387e08c52d9752bc839c71119f140ba8435c3d70.tar.gz
dotfiles-387e08c52d9752bc839c71119f140ba8435c3d70.tar.bz2
dotfiles-387e08c52d9752bc839c71119f140ba8435c3d70.zip
nvim: switch to lazy.nvim
revert this as whole, if you miss the good old days
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