Fix #17 - Vebugger interfieres with Ctrlp plugin

Use `'n'` mode with `feedkeys("f\e")` to prevent CtrlP's mapping from
interpreting `f` as actual "add `f` and close the window"...
This commit is contained in:
IdanArye 2015-05-29 16:13:24 +03:00
parent 9f39160685
commit 2f52caac25
2 changed files with 2 additions and 2 deletions

View File

@ -59,7 +59,7 @@ function! s:f_debugger.invokeReading() dict
\|| 'error'==l:checkpid[0]
call self.kill()
endif
call feedkeys("f\e") " Make sure the CursorHold event is refired even if the user does nothing
call feedkeys("f\e", 'n') " Make sure the CursorHold event is refired even if the user does nothing
endfunction
"Handle a single line from the debugger's interactive shell

View File

@ -4,7 +4,7 @@
Author: Idan Arye <https://github.com/idanarye/>
License: Same terms as Vim itself (see |license|)
Version: 1.2.2
Version: 1.2.3
INTRODUCTION *vebugger*