vimwiki: add mapping to generate pdf
This commit is contained in:
parent
b7736702eb
commit
6e8235d98e
4
.vim/after/ftplugin/vimwiki.vim
Normal file
4
.vim/after/ftplugin/vimwiki.vim
Normal 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>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user