Add more commands to dap debugger.
parent
0dcfc190ea
commit
8752601a95
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue