Closed GoogleCodeExporter closed 9 years ago
On many terminals, <Esc>O (with an uppercase O) is a prefix for several
keycodes: to see them, do
:set termcap
in Vim running on the terminal where you experience the problem, and notice
that several code sequences begin with ^[O where the blue ^[ means Esc.
I recommend the following setting:
:set timeout timeoutlen=5000 ttimeoutlen=100
where the timeouts are in milliseconds and should be chosen as follows:
timeoutlen: longer than the time it takes you to type successive characters of
a multi-character mapping or abbreviation at your slowest typing speed, but not
too much longer than that, to avoid making you impatient when waiting for a
timeout
ttimeoutlen: shorter than the time it takes you to hit successive keys at your
fastest typing speed, but longer that the maximum time between successive bytes
sent by the keyboard driver for a single (special) key.
See
:help 'timeout'
:help 'timeoutlen'
Original comment by antoine....@gmail.com
on 25 Sep 2011 at 5:32
Thanks, I was hoping I would be helpful but I'm the only one who learned
finally...
Original comment by benoit.l...@gmail.com
on 25 Sep 2011 at 6:00
Original comment by brammool...@gmail.com
on 25 Sep 2011 at 7:46
Original issue reported on code.google.com by
benoit.l...@gmail.com
on 25 Sep 2011 at 3:49