Mr.SpOOn 写道:
> 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.

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.

may be something like:

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


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

Reply via email to