On Tue, Oct 02, 2012 at 03:27:12PM +0200, Marco <[email protected]> wrote:
> ctrl-tab mappings work fine in gvim, but fail in console vim with
> urxvt. Example:

Well, gvim doesn't run in a terminal.

> map <c-tab> <ESC>iFoo
> Hitting ctrl-tab prints “Foo” in gvim, but it fails in console vim.

I guess you need to find out what vim expects to receive for c-tab, and then
configure urxvt to emit this sequence.

> It's me who is clueless here. Frankly I don't know much about key
> codes and terminals.

While I probably fare better in that respetc, and even use vim myself, I also
don't know what vim expects as a sequence, and don't know a good way of
finding out, short of reading the source (with luck, it's hidden somewhere in
the docs).

The best way would be to find somebody who knows what vim expects. #vim
is probably not a bad place to look for help, but the person you met
apparently didn't know either.

> properly. As least, as I understand you, I don't have to change my
> terminal and it's possible with urxvt. Maybe you can help me with
> the configuration?

It is possible if vim supports it - the basic question is what sequence
does vim expect for c-tab.

If vim doesn't support it at all, then you can still invent your own
fantasy sequence and bind that one to the command though, so no matter
what, there should be a way to get whatever you want working.

-- 
                The choice of a       Deliantra, the free code+content MORPG
      -----==-     _GNU_              http://www.deliantra.net
      ----==-- _       generation
      ---==---(_)__  __ ____  __      Marc Lehmann
      --==---/ / _ \/ // /\ \/ /      [email protected]
      -=====/_/_//_/\_,_/ /_/\_\

_______________________________________________
rxvt-unicode mailing list
[email protected]
http://lists.schmorp.de/cgi-bin/mailman/listinfo/rxvt-unicode

Reply via email to