commit 25062f5c99bd29a464ed8a16db7a32b737cf84a3
parent 4252e55cb1353099130b709dcdb5dae7b0324294
Author: Janis Pagel <janis.pagel@ims.uni-stuttgart.de>
Date: Sun, 29 Dec 2019 22:09:14 +0100
Add vim make command
Diffstat:
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/vim/vimrc b/vim/vimrc
@@ -64,9 +64,12 @@ command! -nargs=* RunSilent
\ | execute ':redraw!'
" markdown preview with pandoc
-nmap <Leader>pc :RunSilent pandoc -f markdown -o /tmp/vim-pandoc-out.pdf % && pkill -1 mupdf &<CR>
+nmap <Leader>pc :RunSilent pandoc -f markdown -o /tmp/vim-pandoc-out.pdf % && pkill -1 mupdf<CR>
nmap <Leader>pp :RunSilent mupdf /tmp/vim-pandoc-out.pdf &<CR>
+" run make
+nmap <Leader>mk :RunSilent make<CR>
+
" Create commands for activating customized write and code modes
command Normalmode set background=dark | colorscheme nord | Goyo! | set nolinebreak | set norelativenumber | set nospell
command Writemode set background=light | colorscheme solarized | set linebreak | set spell | Goyo 70