From 8752601a95203bbe0eb8a4d769b3b6d95ac2cd16 Mon Sep 17 00:00:00 2001 From: Joshua Potter Date: Sat, 18 Nov 2023 06:18:08 -0700 Subject: [PATCH] Add more commands to dap debugger. --- jrpotter/neovim/lua/init/dap.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/jrpotter/neovim/lua/init/dap.lua b/jrpotter/neovim/lua/init/dap.lua index 8178b4b..cc1531b 100644 --- a/jrpotter/neovim/lua/init/dap.lua +++ b/jrpotter/neovim/lua/init/dap.lua @@ -52,7 +52,13 @@ function M.buffer_map() set_nnoremap('', dap.continue) set_nnoremap('b', dap.toggle_breakpoint) + set_nnoremap('d', dap.down) + set_nnoremap('i', dap.step_into) set_nnoremap('n', dap.step_over) + set_nnoremap('o', dap.step_out) + set_nnoremap('q', dap.close) + set_nnoremap('r', dap.run_to_cursor) + set_nnoremap('u', dap.up) set_nnoremap('x', dap.clear_breakpoints) set_nnoremap('we', function() toggle_sidebar(sidebars.expression)