I have a frustrating problem with the firefox pluign vimperator. When I'm switching tabs with cntrl + n, if a tab that has focus on a field is open along the way from the current tab to the target tab, this opens firefox in a new window. How can I take focus away from all fields when I switch tabs in vimperator?
| |||
|
feedback
|
|
(Sorry I have to do a new answer, because it's too long for a comment.) I have my keyboard mappings customized beyond recognition, but I use gt/gT or Ctrl-Tab to cycle through tabs. But the main thing I have trouble duplicating is that if I switch out of a tab while in insert mode and then switch back to it, I don't switch back into insert mode. I wonder if you have some setting that is making it focus the first text field automatically or something. (E.g., nofocuscontent.) Anyway,
should give you the basics in mappings. You might do
or possibly
or put it in your .vimperatorrc to remap it automatically on load; there you can leave out the opening ':' . (Replace You might even solve your problem just by unmapping or remapping
will make ctrl-N do nothing in insert mode, or you could make it move tabs too:
or some such. | |||
|
feedback
|
|
This is hard to test, because I'm having trouble duplicating the problem (Ctrl-N does not switch tabs for me, etc.) Have you tried:
? (See :help focuscontent for more info.) If that doesn't work, you might just consider remapping Ctrl-N to gt<Esc>. | |||
feedback
|
