cohama / lexima.vim

Auto close parentheses and repeat by dot dot dot...
996 stars 46 forks source link

Fix Escape mapping in insert mode #11

Closed blueyed closed 9 years ago

blueyed commented 9 years ago

Proposed fix for https://github.com/cohama/lexima.vim/issues/10.

The hack here is to setup an <Esc><Esc> mapping, which would cause Vim to run into a timeout for cursor keys etc, and then use a <nowait> mapping for just <Esc>

blueyed commented 9 years ago

Hmm. Any idea why the tests fail on travis, but not locally?

And why Travis picks up a merge commit, which I cannot find locally, too? (e.g. https://github.com/cohama/lexima.vim/commit/181534c62e637cac017343936f48583f672a26de).

cohama commented 9 years ago

Great! Thanks!

Hmm. Any idea why the tests fail on travis, but not locally?

Ah.. Probably <nowait> feature is enabled only newer versions. But the version of vim installed in travis is older.

blueyed commented 9 years ago

Ah, it has been added in 7.3.1261. I'll add a check for it.

cohama commented 9 years ago

Thanks!