2009/4/27 pansz <[email protected]>:
> To make sure, launch screen and run vim in it.
> use :map <Ctrl-V><yourkey>
>
> here <Ctrl-V> means press Ctrl+V, not to verbatim type the text.
>
> if Vim receives key codes, it should print some thing.

So, when I do it for Alt and left-arrow I get:

:map ^[[1;3D

for the right one:

:map ^[[1;3C

In this case, anyway, on my machine, the mappings (these from my .vimrc) work.

On the server, via ssh, it prints the same characters, but normally
they don't work. While if I redefine them directly from vim, doing:

:map ^[[1;3D :tabprevious<CR>
:map ^[[1;3C :tabnext<CR>

They work.

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to