Add more commands to dap debugger.

main
Joshua Potter 2023-11-18 06:18:08 -07:00
parent 0dcfc190ea
commit 8752601a95
1 changed files with 6 additions and 0 deletions

View File

@ -52,7 +52,13 @@ function M.buffer_map()
set_nnoremap('<localleader>', dap.continue) set_nnoremap('<localleader>', dap.continue)
set_nnoremap('b', dap.toggle_breakpoint) 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('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('x', dap.clear_breakpoints)
set_nnoremap('we', function() set_nnoremap('we', function()
toggle_sidebar(sidebars.expression) toggle_sidebar(sidebars.expression)