nvim: init.vim: Modify key bindings as recommended by plugin docs
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
This commit is contained in:
parent
92c9516ab4
commit
bdae1542b0
1 changed files with 14 additions and 0 deletions
|
@ -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",
|
||||
\ }
|
||||
|
|
Loading…
Reference in a new issue