diff --git a/.config/vim/vim_nix b/.config/vim/vim_nix index 3f527a5..36cf346 100644 --- a/.config/vim/vim_nix +++ b/.config/vim/vim_nix @@ -51,6 +51,10 @@ autocmd FileType matlab imap :w:vs:ter octave "%" :w:vs:ter ruby "%" autocmd FileType ruby imap :w:vs:ter ruby "%" +" golang +autocmd FileType go map :w:vs:ter go run "%" +autocmd FileType go imap :w:vs:ter go run "%" + " ----- 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