2009/4/28 pansz <[email protected]>:
> Then it must has something to do with the TERM environment variable.
> The same character sequence ^[[1;3D are interpreted differently for
> different TERM, you can check $TERM in your shell, or check &term in vim.

Ok, on my machine it normally outputs "xterm", both in the shell and inside Vim.
When I open screen, tough, it outputs "screen".
While on the server, with screen open, it outputs screen-bce.

> may be something like:
>
> if &term == 'blabla'
>     map ^[[1;3D :tabprevious<CR>
> endif

This seems to work, thank you :D
Anyway I'd like to find out what the problem is. It seems to me a
strange behaviour.

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

Reply via email to