Vimperator pass-through/unset <C-Tab> by default

945 Views Asked by At

By default is mapped to gt command, which selects next tab. I want to pass-through to Crtl+Tab plugin which does MRU for tabs.

Any idea?

3

There are 3 best solutions below

0
On

Since you want to pass-through, use:

:map <C-Tab> i<C-Tab>

0
On

you can map C-Tab to gt command and, maybe, Control-Shift-Tab to gT command.

:inoremap <C-Tab> gt
:inoremap <C-S-Tab> gT

save your vimperatorrc with :mkvimperatorrc!

3
On

1) Use pentadactyl instead of vimperator. (pentadactyl is a fork of vimperator) 2) put in ~/_pentadactylrc the following:

nm <C-Tab> <Pass>
nm <C-S-Tab> <Pass>

Then pentadactyl will pass these events directly to Firefox.