From 79e4022b0e07535fdd6882fb43abe35d6a0141ea Mon Sep 17 00:00:00 2001 From: Sanchayan Maity Date: Sun, 3 Oct 2021 17:49:01 +0530 Subject: [PATCH] nvim: plugins: Drop nvim-gdb termdebug seems good enough so just drop this. Or we will use nvim-dap if needed. However, termdebug should be enough really. We also just found gdb-dashboard which seems great adding just the necessary UI bits. --- nvim/.config/nvim/after/ftplugin/nvimgdb.vim | 2 -- nvim/.config/nvim/after/plugin/nvimgdb.vim | 37 -------------------- nvim/.config/nvim/lua/plugins.lua | 2 -- 3 files changed, 41 deletions(-) delete mode 100644 nvim/.config/nvim/after/ftplugin/nvimgdb.vim delete mode 100644 nvim/.config/nvim/after/plugin/nvimgdb.vim diff --git a/nvim/.config/nvim/after/ftplugin/nvimgdb.vim b/nvim/.config/nvim/after/ftplugin/nvimgdb.vim deleted file mode 100644 index 7666840..0000000 --- a/nvim/.config/nvim/after/ftplugin/nvimgdb.vim +++ /dev/null @@ -1,2 +0,0 @@ -" Always open gdb debug window at the bottom -wincmd J diff --git a/nvim/.config/nvim/after/plugin/nvimgdb.vim b/nvim/.config/nvim/after/plugin/nvimgdb.vim deleted file mode 100644 index 5b12b7d..0000000 --- a/nvim/.config/nvim/after/plugin/nvimgdb.vim +++ /dev/null @@ -1,37 +0,0 @@ -let g:nvimgdb_disable_start_keymaps = 1 - -function! NvimGdbNoTKeymaps() - tnoremap jk -endfunction - -" Disable all default nvim-gdb keymaps -let g:nvimgdb_config_override = { - \ 'key_next' : v:null, - \ 'key_step' : v:null, - \ 'key_finish' : v:null, - \ 'key_continue' : v:null, - \ 'key_until' : v:null, - \ 'key_breakpoint' : v:null, - \ 'key_frameup' : v:null, - \ 'key_framedown' : v:null, - \ 'key_quit' : v:null, - \ 'set_tkeymaps' : "NvimGdbNoTKeymaps", - \ } - -nnoremap dg :GdbStart gdb - -nnoremap db :GdbBreakpointToggle -nnoremap dB :GdbBreakpointClearAll - -nnoremap dc :GdbContinue -nnoremap dn :GdbNext -nnoremap ds :GdbStep -nnoremap dl :GdbUntil - -nnoremap df :GdbFrame -nnoremap du :GdbFrameUp -nnoremap dd :GdbFrameDown - -nnoremap dF :GdbFinish -nnoremap di :GdbInterrupt -nnoremap dq :GdbDebugStop diff --git a/nvim/.config/nvim/lua/plugins.lua b/nvim/.config/nvim/lua/plugins.lua index b16d2de..955cbba 100644 --- a/nvim/.config/nvim/lua/plugins.lua +++ b/nvim/.config/nvim/lua/plugins.lua @@ -124,8 +124,6 @@ local init = function () 'rafamadriz/friendly-snippets', rtp = '.' } - -- GDB support - use 'sakhnik/nvim-gdb' -- For files with ANSI escape sequences use { 'powerman/vim-plugin-AnsiEsc',