nvim: change overloaded tab bind
This commit is contained in:
parent
e33bbb175b
commit
860929da5b
@ -33,10 +33,6 @@ 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 <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>
|
nnoremap - :call OpenNetRW()<cr>
|
||||||
|
|
||||||
|
|
||||||
@ -45,13 +41,11 @@ 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 <silent> <tab> <c-\><c-n><c-\><c-n>:wincmd w<cr>
|
|
||||||
tnoremap <silent> <s-tab> <c-\><c-n><c-\><c-n>:wincmd W<cr>
|
|
||||||
tnoremap <silent> <esc> <c-\><c-n><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
|
||||||
|
|
||||||
|
tnoremap <silent> <esc> <c-\><c-n><c-\><c-n>
|
||||||
|
|
||||||
nnoremap <silent> <f3> :Termdebug a.out<cr>
|
nnoremap <silent> <f3> :Termdebug a.out<cr>
|
||||||
nnoremap <silent> <f4> :!g++ -g %:p<cr>
|
nnoremap <silent> <f4> :!g++ -g %:p<cr>
|
||||||
nnoremap <silent> <f5> :Run<cr>
|
nnoremap <silent> <f5> :Run<cr>
|
||||||
@ -60,6 +54,8 @@ nnoremap <silent> <f8> :Clear<cr>
|
|||||||
nnoremap <silent> <f9> :Break<cr>
|
nnoremap <silent> <f9> :Break<cr>
|
||||||
nnoremap <silent> <f10> :Continue<cr>
|
nnoremap <silent> <f10> :Continue<cr>
|
||||||
|
|
||||||
|
tnoremap <c-w> <c-\><c-n><c-\><c-n><c-w>
|
||||||
|
|
||||||
nnoremap <silent> <c-p> :Step<cr>
|
nnoremap <silent> <c-p> :Step<cr>
|
||||||
nnoremap <silent> <c-n> :Over<cr>
|
nnoremap <silent> <c-n> :Over<cr>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user