From 985c3b354116b402f28aa9071c2ba4cbd284b988 Mon Sep 17 00:00:00 2001 From: Kien N Date: Sat, 15 Sep 2012 13:14:27 +0700 Subject: [PATCH] Toggle &imdisable --- autoload/ctrlp.vim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/autoload/ctrlp.vim b/autoload/ctrlp.vim index 194aacc..d8d2d3c 100644 --- a/autoload/ctrlp.vim +++ b/autoload/ctrlp.vim @@ -858,6 +858,9 @@ endf fu! s:ToggleKeyLoop() let s:keyloop = !s:keyloop + if exists('+imd') + let &imd = !s:keyloop + en if s:keyloop let [&ut, s:lazy] = [0, 0] cal s:KeyLoop()