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.
This commit is contained in:
Sanchayan Maity 2021-10-03 17:49:01 +05:30
parent b7036e5bfe
commit 79e4022b0e
3 changed files with 0 additions and 41 deletions

View File

@ -1,2 +0,0 @@
" Always open gdb debug window at the bottom
wincmd J

View File

@ -1,37 +0,0 @@
let g:nvimgdb_disable_start_keymaps = 1
function! NvimGdbNoTKeymaps()
tnoremap <silent> <buffer> jk <C-\><C-n>
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 <Leader>dg :GdbStart gdb<SPACE>
nnoremap <Leader>db :GdbBreakpointToggle<CR>
nnoremap <Leader>dB :GdbBreakpointClearAll<CR>
nnoremap <Leader>dc :GdbContinue<CR>
nnoremap <Leader>dn :GdbNext<CR>
nnoremap <Leader>ds :GdbStep<CR>
nnoremap <Leader>dl :GdbUntil<SPACE>
nnoremap <Leader>df :GdbFrame<CR>
nnoremap <Leader>du :GdbFrameUp<CR>
nnoremap <Leader>dd :GdbFrameDown<CR>
nnoremap <Leader>dF :GdbFinish<CR>
nnoremap <Leader>di :GdbInterrupt<CR>
nnoremap <Leader>dq :GdbDebugStop<CR>

View File

@ -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',