Toggle &imdisable

This commit is contained in:
Kien N 2012-09-15 13:14:27 +07:00
parent 0d198fb507
commit 985c3b3541

View File

@ -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()