Tuesday, December 6, 2011

Re: Control-[ as Esc not working on apple aluminum (on a PC)

On Dec 6, 10:17 am, leandromartinez98 <leandromartine...@gmail.com>
wrote:
> This is quite a specific problem:
>
> I'm using Ubuntu 10.04 in a PC, but I use a Apple Aluminum keyboard.
>
> Strangely, the Control-[  combination is not working as "Esc" on Vim.
> Instead
> it is the Control-] which works as "esc".
>
> However, the correct characters are printed by each key, so actually
> is seems
> that the mapping of the key is bound to the key position instead of
> its actual
> character, which is strange.
>
> Anyone has any idea how this can be fixed? Alternatively, how can I
> map
> the Control-[ stroke to "esc"?
>
> Thanks,
> Leandro.
>
> Ps. Also, and that is probably related, in gnu-screen the "Control-a
> [" goes to copy
> mode, but the "control-a control-[" does not, and the "control-a
> control-]" does it. So,
> what seems to be wrong is that after pressing control the "]" key
> behaves as "["

Actually I noticed now that the problem is only on the gnome-
terminal.
If I run xterm, it works. Therefore, there is an issue with the gnome-
terminal
mapping of the control 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: