aboutsummaryrefslogtreecommitdiff
path: root/.vim/after/plugin/vimspector.vim
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2022-06-04 19:17:01 +0800
committerGuangxiong Lin <[email protected]>2022-06-05 11:41:04 +0800
commit47be6a508c4150f8ef2627ae185c650c081c6bbf (patch)
tree49656b4c2ffcc6adae8df89f4c9747287663311f /.vim/after/plugin/vimspector.vim
parent8c54a7ae533b5e07e978c705f3790eff054196c0 (diff)
downloaddotfiles-47be6a508c4150f8ef2627ae185c650c081c6bbf.tar.gz
dotfiles-47be6a508c4150f8ef2627ae185c650c081c6bbf.tar.bz2
dotfiles-47be6a508c4150f8ef2627ae185c650c081c6bbf.zip
Add more plugins for nvim
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>
+