Add a way to cache default keymaps, impl function for adding temporary
keymaps (i.e keymaps during debugging) which saves original keymaps if it overrides them at restores them upon deletion.
This commit is contained in:
parent
ec921c73a3
commit
9b3a9ece1e
2 changed files with 71 additions and 21 deletions
|
|
@ -79,7 +79,7 @@ return {
|
|||
local function enter_debug_mode()
|
||||
dapui.open()
|
||||
if not are_stepping_keymaps_active then
|
||||
utils.add_keymaps(stepping_keymaps)
|
||||
utils.add_temporary_keymaps(stepping_keymaps)
|
||||
are_stepping_keymaps_active = true
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue