diff --git a/vim/vimrc b/vim/vimrc index 3abf809..57eb3bf 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -67,8 +67,8 @@ noremap n :cn noremap n :cn " c/c++ -autocmd FileType c :compiler gcc | setlocal makeprg=gcc\ -Wall\ -c\ %\ &&\ rm\ -f\ %.gch -autocmd FileType cpp :compiler gcc | setlocal makeprg=g++\ -Wall\ -c\ %\ &&\ rm\ -f\ %.gch +autocmd FileType c :compiler gcc | setlocal makeprg=gcc\ -Wall\ -c\ % +autocmd FileType cpp :compiler gcc | setlocal makeprg=g++\ -Wall\ -c\ % " groff autocmd FileType groff noremap :!zathura --fork %:r.pdf & disown