diff --git a/.vim/snips/pandoc.snippets b/.vim/snips/pandoc.snippets index 9c3ffef..bff8003 100644 --- a/.vim/snips/pandoc.snippets +++ b/.vim/snips/pandoc.snippets @@ -638,6 +638,10 @@ 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