nvim: init.vim: Modify key bindings as recommended by plugin docs

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
This commit is contained in:
Sanchayan Maity 2019-11-27 19:31:03 +05:30
parent 92c9516ab4
commit bdae1542b0

View file

@ -518,3 +518,17 @@ function! FloatingSkim()
call nvim_open_win(buf, v:true, opts)
endfunction
function! NvimGdbNoTKeymaps()
tnoremap <silent> <buffer> <esc> <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",
\ }