From 86c9f4eb40b493818a251cf57631c2b3f167e383 Mon Sep 17 00:00:00 2001 From: dogeystamp Date: Sat, 9 Jul 2022 18:57:36 -0400 Subject: [PATCH] nvim: minor adjustments for termdebug binds --- src/.config/nvim/init.vim | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/src/.config/nvim/init.vim b/src/.config/nvim/init.vim index 61e16ce..f383f07 100755 --- a/src/.config/nvim/init.vim +++ b/src/.config/nvim/init.vim @@ -45,9 +45,9 @@ nnoremap - :call OpenNetRW() let g:termdebug_popup = 0 let g:termdebug_wide = 100 -tnoremap :wincmd w -tnoremap :wincmd W -tnoremap +tnoremap :wincmd w +tnoremap :wincmd W +tnoremap au BufEnter term://* startinsert au BufEnter *.c,*.cpp,*.h,*.hpp packadd termdebug @@ -55,10 +55,12 @@ au BufEnter *.c,*.cpp,*.h,*.hpp packadd termdebug nnoremap :Termdebug a.out nnoremap :!g++ -g %:p nnoremap :Run -nnoremap :Stop -nnoremap :Break +nnoremap :Stop nnoremap :Clear -nnoremap :Continue -nnoremap :Over +nnoremap :Break +nnoremap :Continue + nnoremap :Step -nnoremap :Finish +nnoremap :Over + +vnoremap K :'<,'>Evaluate