Skip to content

Commit

Permalink
Fix #17 - Vebugger interfieres with Ctrlp plugin
Browse files Browse the repository at this point in the history
Use `'n'` mode with `feedkeys("f\e")` to prevent CtrlP's mapping from
interpreting `f` as actual "add `f` and close the window"...
  • Loading branch information
idanarye committed May 29, 2015
1 parent 9f39160 commit 2f52caa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion autoload/vebugger.vim
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion doc/vebugger.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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*

Expand Down

0 comments on commit 2f52caa

Please sign in to comment.