[Vimperator] ALT mappings and C-[ (on Mac?)
Daniel Schaffrath
daniel.schaffrath at mac.com
Wed Jun 25 09:23:33 PDT 2008
Hello everybody!
I'd like to have mappings to switch between tabs which use the alt
modifier and some digit, like <A-1> for moving left, etc. But :map
<A-1> gt does not work.
The reasons seems to be that vimperators onKeyPress: function (event)
has the digit '1' already somewhat 'cooked' by the alt modifier in it
(which renders it to become '¡'). If the mapping was meta instead of
alt the digit is not cooked.
Maybe the vimperator event handler is not "early" enough to get raw
events? Something similar seems to happen to <C-[> which becomes
(strange enough) <C-^[> (which is really annoying as the real Escape
is that far out...)
Does anyone have a clue if this is a vimperator or FF on Mac issue?
Thanks a lot,
Daniel Schaffrath
Vimperator 1.2pre (created: 2008/06/25 01:20:50) running on: Mozilla/
5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9) Gecko/
2008061004 Firefox/3.0
More information about the Vimperator
mailing list