commit d4cc9c9e08167393d577c3aecd2f74505db9fbfb
parent 14543f2404cfc8159cdf10c4f5bb5bf3e87dffdd
Author: Alex Balgavy <a.balgavy@gmail.com>
Date: Mon, 13 Jan 2020 14:28:59 +0100
vim: modify snippet snippet
Former-commit-id: 873469d58ef108529b002fda46b759781c216f59
Diffstat:
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/vim/ultisnips/snippets.snippets b/vim/ultisnips/snippets.snippets
@@ -1,5 +1,5 @@
snippet snip "Snippet skeleton" b
-snippet ${1:name} "${2:Description}" ${3:b,w,i,A}
+snippet ${1:name} "${2:Description}" ${3:bwiA}
${4:contents}
`echo endsnippet`
endsnippet
diff --git a/vim/ultisnips/vimwiki.snippets b/vim/ultisnips/vimwiki.snippets
@@ -0,0 +1,6 @@
+snippet file "File link" bwi
+[[local:${1:file path}|${2:link text}]]$0
+endsnippet
+snippet incl "Transclusion" bwi
+{{local:${1:file path}|${2:alt text}}}$0
+endsnippet