Vim: Starting DrawIt errs "not connected"
From FVue
Contents
Problem
Using Vim, trying to enable DrawIt by typing `\di', yields error messages:
Not connected Not connected
Cause
Listing the key mappings with `:map' shows the `\di StartDrawIt' mapping is overridden by the `debugger' plugin:
:map
...
\ds <Plug>StopDrawIt
\di :python debugger_command('step_into')<CR>
...
Solution
Change the debugger `\di' mapping to `\dd' ("Debug Deeper"):
--- debugger.vim.orig 2008-10-14 12:47:04.000000000 +0200
+++ debugger.vim 2008-10-14 12:48:39.000000000 +0200
@@ -128,7 +128,7 @@
endif
map <Leader>dr :python debugger_resize()<cr>
-map <Leader>di :python debugger_command('step_into')<cr>
+map <Leader>dd :python debugger_command('step_into')<cr>
map <Leader>do :python debugger_command('step_over')<cr>
map <Leader>dt :python debugger_command('step_out')<cr>
Advertisement