> On Mon, Feb 21, 2011 at 03:57:17AM EST, Erik Christiansen wrote:
>> On Sun, Feb 20, 2011 at 02:37:33PM -0500, Chris Jones wrote:
>
> [..]
>
>> Buuuut, I don't understand how <Esc> becomes alt/meta, and my vim
>> needs:
>
>> :map <M-j> gj
>>
>> to gain the described benefit.
>
> I vaguely remember having problems with <M-> mappings at one point and
> discovered that <Esc> worked.
>
> Too busy to look into it and for consistency's sake continued using
> the latter syntax.
>
> Time I revisited and straightened this out.. ;-)
Explanations at:
:help :map-alt-keys
:help xterm-8bit
Gist: Depending on settings, some terminal emulators represent
<Alt>+<key> as <key> with it's 8th bit set. Others represent
<Alt>+<key> as <Esc> followed by <key>.
--
Best,
Ben
--
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