From 2f52caac2541e042bb99f35af5efe16a3c337d74 Mon Sep 17 00:00:00 2001 From: IdanArye Date: Fri, 29 May 2015 16:13:24 +0300 Subject: [PATCH] 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"... --- autoload/vebugger.vim | 2 +- doc/vebugger.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/autoload/vebugger.vim b/autoload/vebugger.vim index e1ec249..795431b 100644 --- a/autoload/vebugger.vim +++ b/autoload/vebugger.vim @@ -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 diff --git a/doc/vebugger.txt b/doc/vebugger.txt index db8088d..08491f0 100644 --- a/doc/vebugger.txt +++ b/doc/vebugger.txt @@ -4,7 +4,7 @@ Author: Idan Arye License: Same terms as Vim itself (see |license|) -Version: 1.2.2 +Version: 1.2.3 INTRODUCTION *vebugger*