summaryrefslogtreecommitdiffstats
path: root/lldb/utils/vim-lldb/plugin/lldb.vim
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/utils/vim-lldb/plugin/lldb.vim')
-rw-r--r--lldb/utils/vim-lldb/plugin/lldb.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/utils/vim-lldb/plugin/lldb.vim b/lldb/utils/vim-lldb/plugin/lldb.vim
index c69fe7b2255..8121a73d025 100644
--- a/lldb/utils/vim-lldb/plugin/lldb.vim
+++ b/lldb/utils/vim-lldb/plugin/lldb.vim
@@ -47,6 +47,8 @@ function! s:InitLldbPlugin()
" Launching convenience commands (no autocompletion)
command -nargs=* Lstart python ctrl.doLaunch(True, '<args>')
command -nargs=* Lrun python ctrl.doLaunch(False, '<args>')
+ command -nargs=1 Lattach python ctrl.doAttach('<args>')
+ command -nargs=0 Ldetach python ctrl.doDetach()
" Regexp-commands: because vim's command mode does not support '_' or '-'
" characters in command names, we omit them when creating the :L<cmd>
OpenPOWER on IntegriCloud