Comment #1 on issue 24 by [email protected]: Slow when pressing <SHIFT> + O quickly after pressing <ESC>
http://code.google.com/p/vim/issues/detail?id=24

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'

--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui