Is it possible to have the new tab page automatically open the Vomnibar?
If so, how? Otherwise this is a feature request
My customized version of Vimium, Vimium C (https://github.com/gdh1995/vimium-c), has implemented this feature: as said in https://github.com/gdh1995/vimium-c-helpers/issues/16#issuecomment-917598571 :
- open Vimium C Options, go to
New tab URLand set itpages/blank.html - add such a key mapping
map t createTab $then="Vomnibar.activate"
Explainations:
- Vomnibar can not run on browser's native NewTab pages, so here uses an extension page of
pages/blank.html - in Vimium C,
$thencan be a mapped key sequence or a command name, and when it's a key sequence likeoandg0,createTabwill invoke the mapping rule when a new tab gets ready. - If you're using global (browser-level) shortcuts, then
shortcut createTab $then="Vomnibar.activate"should also work.
Detailed syntax and usages of $then: https://github.com/gdh1995/vimium-c/wiki/Auto-run-a-tree-of-commands
@Itay123TheKing Why not use Vomnibar.activateInNewTab? It's mapped to O by default.
It does almost exactly the thing you ask for, except it'll open the result in a new tab. To me that feels better than pressing to (open a new tab -> open omnibar).
@oheikk I don't do to, that's exactly what this issue is about, I now have it configured so t opens a new tab and the vomnibar. That's not to say I don't also use the openinnewtab action, it's just sometimes one feels more natural than the other
@oheikk I don’t do
to, that’s exactly what this issue is about, I now have it configured sotopens a new tab and the vomnibar. That’s not to say I don’t also use the openinnewtab action, it’s just sometimes one feels more natural than the other
How did you accomplish this so that t opens a new tab AND the vomnibar? Trying to do just that. Thank you.
@vim-happy-duck I have a PR coming in a few days which implements the ability to open the vomnibar on new tab pages. I'll link it here when it's ready.
Fantastic! Thank you!
See PR #4795 which implements this.
Closing as #4795 is now merged.