diff --git a/.vim/snips/all.snippets b/.vim/snips/all.snippets new file mode 100644 index 0000000..294afec --- /dev/null +++ b/.vim/snips/all.snippets @@ -0,0 +1,7 @@ +snippet fne "Filename (+extension)" i +`!p snip.rv = snip.fn` +endsnippet + +snippet fn "Filename basename" i +`!p snip.rv = snip.basename` +endsnippet diff --git a/.vim/snips/pandoc.snippets b/.vim/snips/pandoc.snippets index bff8003..9c3ffef 100644 --- a/.vim/snips/pandoc.snippets +++ b/.vim/snips/pandoc.snippets @@ -638,10 +638,6 @@ snippet sketch "Link a sketch" i [$1](file:///home/h/sketches/$2) endsnippet -snippet fn "Filename" -`!p snip.rv = snip.basename` -endsnippet - snippet ` "Inline code" i `$1`$2 endsnippet