diff --git a/.config/vim/vim_nix b/.config/vim/vim_nix index 368c872..29282ec 100644 --- a/.config/vim/vim_nix +++ b/.config/vim/vim_nix @@ -28,6 +28,9 @@ else autocmd FileType python imap :w:vs:ter python3 "%" endif +autocmd FileType sh map :w:vs:ter sh "%" +autocmd FileType sh imap :w:vs:ter sh "%" + " ----- Automatically Render PDF autocmd FileType plaintex command! -nargs=0 Lw w !pdflatex % > /dev/null autocmd FileType tex command! -nargs=0 Lw w !pdflatex % > /dev/null