From 860929da5b654fcd8460af35f5e7d44daaa88b72 Mon Sep 17 00:00:00 2001 From: dogeystamp Date: Sat, 16 Jul 2022 18:56:03 -0400 Subject: [PATCH] nvim: change overloaded tab bind --- src/.config/nvim/init.vim | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/src/.config/nvim/init.vim b/src/.config/nvim/init.vim index f383f07..992fc55 100755 --- a/src/.config/nvim/init.vim +++ b/src/.config/nvim/init.vim @@ -33,10 +33,6 @@ aug netrw_close au WinEnter * if winnr('$') == 1 && getbufvar(winbufnr(winnr()), "&filetype") == "netrw"|q|endif aug END -nnoremap :wincmd w -nnoremap :wincmd W -inoremap :wincmd W - nnoremap - :call OpenNetRW() @@ -45,13 +41,11 @@ nnoremap - :call OpenNetRW() let g:termdebug_popup = 0 let g:termdebug_wide = 100 -tnoremap :wincmd w -tnoremap :wincmd W -tnoremap - au BufEnter term://* startinsert au BufEnter *.c,*.cpp,*.h,*.hpp packadd termdebug +tnoremap + nnoremap :Termdebug a.out nnoremap :!g++ -g %:p nnoremap :Run @@ -60,6 +54,8 @@ nnoremap :Clear nnoremap :Break nnoremap :Continue +tnoremap + nnoremap :Step nnoremap :Over