nvim: plugins: Add nvim-gdb

This commit is contained in:
Sanchayan Maity 2021-07-05 11:54:59 +05:30
parent ffadf1cf4f
commit 119c91a6b7
2 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,13 @@
function! NvimGdbNoTKeymaps()
tnoremap <silent> <buffer> jk <C-\><C-n>
endfunction
let g:nvimgdb_config_override = {
\ 'key_next' : 'n',
\ 'key_step' : 's',
\ 'key_finish' : 'f',
\ 'key_continue' : 'c',
\ 'key_until' : 'u',
\ 'key_breakpoint' : 'b',
\ 'set_tkeymaps' : "NvimGdbNoTKeymaps",
\ }

View File

@ -115,6 +115,8 @@ local init = function ()
'rafamadriz/friendly-snippets',
'hrsh7th/vim-vsnip'
}
-- GDB support
use 'sakhnik/nvim-gdb'
end
return require('packer').startup(init)