[prev in list] [next in list] [prev in thread] [next in thread] 

List:       vim
Subject:    Re: Setting terminal Escape sequence for <Tab> key with * char does not make <C-S-Tab> working
From:       gpfault () smtp ! ru
Date:       2006-12-27 21:49:40
Message-ID: 200612272149.kBRLneDw086211 () www10 ! pochta ! ru
[Download RAW message or body]

> On 12/27/06, gpfault@smtp.ru <gpfault@smtp.ru> wrote:
> > I had keyboard mapping for <C-S-Tab> that works perfect in gvim.
> > While trying to make possible use it in console version of vim I made following \
> > steps: 1. Configure my terminal to send "\e[709;*~" for tab key with modifiers; \
> > (* means
> xterm-like modifier(Ctrl,Shift,alt(=meta=Mod1) reporting)
> > 2. :set <Tab>=<1b>[709;*~                                      //<1b> is a
> real escape there
> > After that <Tab> mappings work properly and <C-Tab> too.
> > My problem is: <S-Tab> and <C-S-Tab> just inserts \x09 character and do not even
> mappings for <Tab> (while expected to execute mappings assigned to <S-Tab> and
> <C-S-Tab>)
> 
> What happens if you :set <S-Tab>=your-escape-sequence
> ?
> 
> Yakov
> 

If I :set <S-Tab>=<1b>[709;2~  (specialized version for shift modifier) Shift+Tab \
starts to work fine, but Ctrl+Shift+Tab still insert <09> simbol and doesn`t execute \
any mappings

If I :set <S-Tab>=<1b>[709;*~  (note the *, generilized version) Tab key alone is \
enterpreted as Shift+Tab (pressing Tab executes mappings for <S-Tab>)

--
Vasily


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic