nvim: silence binds

This commit is contained in:
dogeystamp 2022-07-05 17:28:32 -04:00
parent 0326268087
commit aee8d23b7e
Signed by: dogeystamp
GPG Key ID: 7225FE3592EFFA38

View File

@ -11,7 +11,7 @@ highlight LineNr ctermfg=grey
highlight EndOfBuffer ctermfg=black ctermbg=black
" Disable highlighting when searching
nnoremap <esc> :noh<return><esc>
nnoremap <silent> <esc> :noh<return><esc>
" NetRW
@ -33,9 +33,9 @@ aug netrw_close
au WinEnter * if winnr('$') == 1 && getbufvar(winbufnr(winnr()), "&filetype") == "netrw"|q|endif
aug END
nnoremap <tab> :wincmd w<cr>
nnoremap <s-tab> :wincmd W<cr>
inoremap <s-tab> <c-o>:wincmd W<cr>
nnoremap <silent> <tab> :wincmd w<cr>
nnoremap <silent> <s-tab> :wincmd W<cr>
inoremap <silent> <s-tab> <c-o>:wincmd W<cr>
nnoremap - :call OpenNetRW()<cr>
@ -45,20 +45,20 @@ nnoremap - :call OpenNetRW()<cr>
let g:termdebug_popup = 0
let g:termdebug_wide = 100
tnoremap <tab> <c-\><c-n> :wincmd w<cr>
tnoremap <s-tab> <c-\><c-n> :wincmd W<cr>
tnoremap <esc> <c-\><c-n>
tnoremap <silent> <tab> <c-\><c-n> :wincmd w<cr>
tnoremap <silent> <s-tab> <c-\><c-n> :wincmd W<cr>
tnoremap <silent> <esc> <c-\><c-n>
au BufEnter term://* startinsert
au BufEnter *.c,*.cpp,*.h,*.hpp packadd termdebug
nnoremap <f3> :Termdebug a.out<cr>
nnoremap <f4> :!g++ -g %:p<cr>
nnoremap <f5> :Run<cr>
nnoremap <s-f5> :Stop<cr>
nnoremap <f9> :Break<cr>
nnoremap <f8> :Clear<cr>
nnoremap <s-f10> :Continue<cr>
nnoremap <c-n> :Over<cr>
nnoremap <c-p> :Step<cr>
nnoremap <s-f11> :Finish<cr>
nnoremap <silent> <f3> :Termdebug a.out<cr>
nnoremap <silent> <f4> :!g++ -g %:p<cr>
nnoremap <silent> <f5> :Run<cr>
nnoremap <silent> <s-f5> :Stop<cr>
nnoremap <silent> <f9> :Break<cr>
nnoremap <silent> <f8> :Clear<cr>
nnoremap <silent> <s-f10> :Continue<cr>
nnoremap <silent> <c-n> :Over<cr>
nnoremap <silent> <c-p> :Step<cr>
nnoremap <silent> <s-f11> :Finish<cr>