aboutsummaryrefslogtreecommitdiff
path: root/.vim/after/plugin/vimspector.vim
diff options
context:
space:
mode:
Diffstat (limited to '.vim/after/plugin/vimspector.vim')
-rw-r--r--.vim/after/plugin/vimspector.vim17
1 files changed, 17 insertions, 0 deletions
diff --git a/.vim/after/plugin/vimspector.vim b/.vim/after/plugin/vimspector.vim
new file mode 100644
index 0000000..7157afb
--- /dev/null
+++ b/.vim/after/plugin/vimspector.vim
@@ -0,0 +1,17 @@
+packadd vimspector
+
+nmap <leader>di <plug>VimspectorBalloonEval
+xmap <leader>di <plug>VimspectorBalloonEval
+
+nmap <leader>db <plug>VimspectorToggleBreakpoint
+nmap <leader>dB <plug>VimspectorBreakpoints
+
+nmap <leader>dc <plug>VimspectorContinue
+nmap <leader>dr <plug>VimspectorRstart
+nmap <leader>dn <plug>VimspectorStepOver
+nmap <leader>dsi <plug>VimspectorStepInto
+nmap <leader>dso <plug>VimspectorStepOut
+
+nmap <leader>dut <plug>VimspectorRunToCursor
+nmap <leader>dq :VimspectorReset<CR>
+