On 26/03/10 23:06, Matt Wozniski wrote:
On Fri, Mar 26, 2010 at 4:28 PM, Tony Mechelynck
<[email protected]>  wrote:
On 27/01/10 05:37, Matt Wozniski wrote:
[...]

In my experience, using<Esc>    as the LHS of a map can have disastrous
side effects in terminal vim, up to and including breaking most of the
non-alphanumeric keys on the keyboard (including the arrow keys,
delete, function keys, page keys, mouse selection, mousewheel
scrolling, etc).[...]

This ought not to happen if 'ttimeoutlen' is set to a positive value
significantly smaller than 'timeoutlen' (which is not the default) while
'timeout' is set on (which is the default).

No, it definitely oughtn't, but it does, at least in xterm (the only
terminal I use regularly).  I've never seen a terminal where vim can
handle this.  Try it yourself.  I can give you steps to reproduce, if
you're having trouble reproducing the problem.

~Matt


In any case, it's bad enough to have so many keycodes starting with Esc, I definitely don't recommend overloading it with a mapping to boot (though IIUC modern xterms are supposed to be able send CSI aka 0x9B instead of Esc [ -- I'm not sure how to make mine do it; version X.Org6.8.99.903(242), termresponse ^[[>0;242;0c ; but normally I use gvim, or, less often, Vim in linux or konsole terminals).


Best regards,
Tony.
--
Come, every frustum longs to be a cone,
And every vector dreams of matrices.
Hark to the gentle gradient of the breeze:
It whispers of a more ergodic zone.
                -- Stanislaw Lem, "Cyberiad"

--
You received this message from the "vim_use" 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

To unsubscribe from this group, send email to vim_use+unsubscribegooglegroups.com or 
reply to this email with the words "REMOVE ME" as the subject.

Reply via email to