Separate config into '.vim/plugins/'

This commit is contained in:
2024-09-22 13:13:29 +02:00
parent 0ce01efd46
commit 21e5d0ac86
7 changed files with 59 additions and 69 deletions

10
.vim/plugin/pandoc.vim Normal file
View File

@@ -0,0 +1,10 @@
fu! Compile()
if expand('%:e') == "md"
:silent exec "!pandoc % -s -o /tmp/op.pdf &"
endif
endfu
fu! Preview()
:call Compile()
:silent exec "!zathura /tmp/op.pdf &"
endfu