From 60ccea52c2e1f57625c56707150b377521e9e5d5 Mon Sep 17 00:00:00 2001 From: coolneng Date: Thu, 9 May 2019 16:59:01 +0200 Subject: [PATCH] Add F4 shortcut to compile with handout template in vim --- vim/.vimrc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/vim/.vimrc b/vim/.vimrc index 4e28767..eddca09 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -37,9 +37,10 @@ let g:markdown_fenced_languages = ['cpp', 'python', 'java'] let g:vim_markdown_math=1 "" Pandoc autocmd FileType markdown nnoremap :!pandoc %:p:S -o %:p:r:S.pdf --from markdown --template eisvogel --listings & -autocmd FileType markdown nnoremap :!pandoc %:p:S -o %:p:r:S.pdf -t beamer -V theme:metropolis --listings & -autocmd FileType markdown nnoremap :!zathura %:p:r:S.pdf & -autocmd FileType markdown nnoremap :!rm %:p:r:S.pdf & +autocmd FileType markdown nnoremap :!pandoc %:p:S -o %:p:r:S.pdf --from markdown --template handout & +autocmd FileType markdown nnoremap :!pandoc %:p:S -o %:p:r:S.pdf -t beamer -V theme:metropolis --listings & +autocmd FileType markdown nnoremap :!zathura %:p:r:S.pdf & +autocmd FileType markdown nnoremap :!rm %:p:r:S.pdf & "" Snippets let g:UltiSnipsExpandTrigger = '' let g:UltiSnipsJumpForwardTrigger = ''