2012-10-02 Marc Lehmann <[email protected]>: Hi Marc
> > I want to map <ctrl-tab> in vim, but it turned out that urxvt > > reports the wrong key code to the application. > > And which is that? ctrl-tab mappings work fine in gvim, but fail in console vim with urxvt. Example: map <c-tab> <ESC>iFoo Hitting ctrl-tab prints “Foo” in gvim, but it fails in console vim. > In my test, I get the right key sequence (ctrl-tab and > tab are the same, in urxvt and most other terminals, such as xterm). Key > sequences are per terminal btw., so whoever told you it is "wrong" > is clueless It's me who is clueless here. Frankly I don't know much about key codes and terminals. I tried to get help on the #vim IRC and the guys told me to change my terminal, which is not really what I want. > - the only requirement for urxvt is to follow it's own > documentation. > > > Is it possible to configure it in a way so I can use <ctrl-tab> > > within the aplication? > > Depends on the application - you can configure any key sequence you wish > via the keysym resource. Whether the app then works depends on the app. I > would expect you can map any key sequence in vim. All I want is a working ctrl-tab and ctrl-shift-tab mapping in console vim. I don't know if I didn't configure my vim or my urxvt 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? Marco _______________________________________________ rxvt-unicode mailing list [email protected] http://lists.schmorp.de/cgi-bin/mailman/listinfo/rxvt-unicode
