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.snippets18
1 files changed, 17 insertions, 1 deletions
diff --git a/.config/nvim/my_snippets/vimwiki.snippets b/.config/nvim/my_snippets/vimwiki.snippets
index 21c1b22..daf93f7 100644
--- a/.config/nvim/my_snippets/vimwiki.snippets
+++ b/.config/nvim/my_snippets/vimwiki.snippets
@@ -9,5 +9,21 @@ $\mathcal{O}(n)$
9endsnippet 9endsnippet
10 10
11snippet s "Create a new spotlight item" b 11snippet s "Create a new spotlight item" b
12- (`!v strftime("%F %R")`) ${1:`!v substitute(@+, ' \|\n', '', 'g' )`} -- ${2:Summary} 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
13endsnippet 29endsnippet