diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2021-03-18 11:02:09 +0100 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2021-03-18 11:02:09 +0100 |
commit | 01caf7b7e429f9967a3274b0d5268b3d7c018c55 (patch) | |
tree | ba5ee5ee19ead0778be75b6836bc6328e8df71cf /.vim/vimrc | |
parent | 6aceb256674aa0a69b6799576e4ead598b1adefc (diff) | |
download | dotfiles-01caf7b7e429f9967a3274b0d5268b3d7c018c55.tar.gz |
vim
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! " =========== |