config/.vim/after/ftplugin/vimwiki.vim

5 lines
231 B
VimL
Raw Normal View History

2021-01-10 00:15:43 +01:00
" 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>