vimwiki: add mapping to generate pdf

This commit is contained in:
Mathieu Maret 2021-01-10 00:15:43 +01:00
parent b7736702eb
commit 6e8235d98e

View File

@ -0,0 +1,4 @@
" 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>