开发者

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

开发者 https://www.devze.com 2022-12-08 01:55 出处:网络
By defaultis mapped to gt command, which selects next tab. I w开发者_StackOverflow中文版ant to pass-throughto Crtl+Tab plugin which does MRU for tabs.

By default is mapped to gt command, which selects next tab. I w开发者_StackOverflow中文版ant to pass-through to Crtl+Tab plugin which does MRU for tabs.

Any idea?


Since you want to pass-through, use:

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


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!


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消