diff --git a/.vim/after/ftplugin/vimwiki.vim b/.vim/after/ftplugin/vimwiki.vim new file mode 100644 index 0000000..f056314 --- /dev/null +++ b/.vim/after/ftplugin/vimwiki.vim @@ -0,0 +1,4 @@ +" Fancy write markdown to PDF for dissemination +nnoremap w :!pandoc %:p --pdf-engine=xelatex --to=pdf -o ~/%:t:r.pdf +nnoremap W :!pandoc %:p --pdf-engine=xelatex --to=pdf -o ~/%:t:r.pdf +