From 5481b831df95f8946d408389fd14955cd2b5dc60 Mon Sep 17 00:00:00 2001 From: dogeystamp Date: Mon, 1 Aug 2022 16:08:28 -0400 Subject: [PATCH] nvim: improve termdebug experience --- src/.config/nvim/init.vim | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/.config/nvim/init.vim b/src/.config/nvim/init.vim index 992fc55..ad02d0d 100755 --- a/src/.config/nvim/init.vim +++ b/src/.config/nvim/init.vim @@ -41,7 +41,9 @@ nnoremap - :call OpenNetRW() let g:termdebug_popup = 0 let g:termdebug_wide = 100 -au BufEnter term://* startinsert +" Enter insert mode automatically in terminal windows +"au BufEnter term://* startinsert + au BufEnter *.c,*.cpp,*.h,*.hpp packadd termdebug tnoremap @@ -54,7 +56,10 @@ nnoremap :Clear nnoremap :Break nnoremap :Continue -tnoremap +nnoremap :vertical resize -5 +nnoremap :vertical resize +5 +nnoremap w +nnoremap W nnoremap :Step nnoremap :Over