config/.vim/after/ftplugin/vimwiki.vim
2021-01-10 00:15:43 +01:00

5 lines
231 B
VimL

" Fancy write markdown to PDF for dissemination
nnoremap <leader>w :!pandoc %:p --pdf-engine=xelatex --to=pdf -o ~/%:t:r.pdf<left><left><left><left>
nnoremap <leader>W :!pandoc %:p --pdf-engine=xelatex --to=pdf -o ~/%:t:r.pdf<cr>