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