From 01caf7b7e429f9967a3274b0d5268b3d7c018c55 Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Thu, 18 Mar 2021 11:02:09 +0100 Subject: vim --- .vim/vimrc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to '.vim/vimrc') diff --git a/.vim/vimrc b/.vim/vimrc index 19e4a82..d98bb5f 100644 --- a/.vim/vimrc +++ b/.vim/vimrc @@ -86,6 +86,8 @@ nmap :TlistToggle nmap gc :tabclose nmap gn :tabnew:e . +"tmap + " Smart brackets inoremap "" "" inoremap '' '' @@ -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! " =========== -- cgit v1.2.3