This commit is contained in:
tavo-wasd 2024-05-23 21:35:19 -06:00
parent 7eb3481523
commit 3cbb4c13a7

View file

@ -67,8 +67,8 @@ noremap <leader>n :cn<CR>
noremap n :cn<CR>
" 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 <buffer> <silent> <F9> :!zathura --fork %:r.pdf<CR> & disown