diff options
Diffstat (limited to '.vim/vimrc')
-rw-r--r-- | .vim/vimrc | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -86,6 +86,8 @@ nmap <silent> <F6> :TlistToggle<CR> nmap <silent> gc :tabclose<CR> nmap <silent> gn :tabnew<CR>:e .<CR> +"tmap <silent> <Esc> <C-\><C-n> + " Smart brackets inoremap "" ""<left> inoremap '' ''<left> @@ -112,7 +114,7 @@ command -bar Runbuffer call Run_in_terminal(expand("%:p")) command -bar Make call Run_in_terminal("make run") command -bar Fileheader call Insert_Header(expand("%")) -command -bar Makelatex silent! execute "!pdflatex % > /dev/null 2>&1 &" | redraw! +command -bar Makelatex silent! execute "!(pdflatex % > /dev/null 2>&1 && killall -s SIGHUP mupdf)&" | redraw! command Openpdf silent! execute "!mupdf " . (join(split(expand("%"), '\.')[:-2], ".") . ".pdf") . " > /dev/null 2>&1 &" | redraw! " =========== |