nvim: add warnings to gcc bind

This commit is contained in:
dogeystamp 2023-01-12 18:14:52 -05:00
parent 4cc883fef4
commit a96058043e
Signed by: dogeystamp
GPG Key ID: 7225FE3592EFFA38

View File

@ -53,7 +53,7 @@ au BufEnter *.c,*.cpp,*.h,*.hpp packadd termdebug
tnoremap <silent> <esc> <c-\><c-n><c-\><c-n>
nnoremap <silent> <f3> :execute "Termdebug" $HOME .. "/.cache/termdebug.out"<cr>
nnoremap <silent> <f4> :!g++ -g %:p -o ~/.cache/termdebug.out<cr>
nnoremap <silent> <f4> :!g++ -Wall -Wextra -Wpedantic -g %:p -o ~/.cache/termdebug.out<cr>
nnoremap <silent> <f5> :Run<cr>
nnoremap <silent> <f6> :Stop<cr>
nnoremap <silent> <f8> :Clear<cr>