Thursday, May 26, 2011

Re: unable to map

If you're using terminal Vim (rather than GVim), this is likely because
of the way your terminal represents the meta/alt key. When <Alt> plus a
character key is pressed, some terminals will send an ASCII ESC
character (0x1B) followed by the character pressed, while others will
send the character, with the 8th bit set. If I'm not mistaken, Vim
expects the latter.

I recommend reading
http://vim.wikia.com/wiki/Get_Alt_key_to_work_in_terminal for more
detail on this subject, including information on how to configure
various common terminals to work properly with Vim and the <Alt> key.

--
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

No comments:

Post a Comment