Firstly, awesome job figuring out wildoptions
That said, I'd just add that if you just hit o or t it should take you to the command box with the pre-filled command :open or :tabopen respectively. You could type some text and hit Tab to look at auto-complete options for that text.
Also if you ever want to see your search bar for whatever reason:
:set go+=T
Now you should have your entire toolbar, but to access the searchbox I use:
Alt+d -> Tab
OR
Ctrl+l -> Tab
To get rid of the unsightly toolbar just use:
:set go-=T
Also:
you could open up searchoptions via:
:dia searchengines
and set the keywords for each search engine. For eg: Google -> g, Yahoo -> y, etc.
Now when you need to search just hit o or t and follow up the command with g hello as in:
:open g hello
to open a google search page for the word hello
I actually switched to Pentadactyl because of this. Using vimperator it is possible to achieve this (though I'd have to look up how), but pentadactyl added better support.
I have
set passkeys+=google.com/reader/:j,k,v,<CR>,r
in my config, which sets any url that matches google.com/reader/
to pass the keys j, k, v, return, and r through to the page rather than handling them.
Other than that the two are very similar projects with very similar goals, I had no problem switching. Pentadactyl is a fork by some of the original developers of vimperator. I assume they had a good old open source forking out at some point.
Best Answer
Update #2: fix released
Update: fix done
Fix was done and contributed to Vimperator, new version was built with it, but it needs Mozilla's verification before publishing so it will take time.
If you wish to have it, follow this issue comment. I have not done that myself yet, so will not republish under my name (yet).
Reason why it doesn't work
Firefox changed how their rendering engine treats JS and Vimperator needs to adjust (e.g. legacy generator functions - those with
yield
- are now dropped).Source: https://developer.mozilla.org/en-US/docs/Web/JavaScript/New_in_JavaScript/Firefox_JavaScript_changelog#Firefox_51
Tab opening workaround
.vimperatorrc
file (GNU/Linux:/home/username/.vimperatorrc
)" Example keybinding: xt
nmap xt :extraTab<SPACE>
command! extraTab -nargs=1 -description "Open an extra tab" :js extraTab("<args>");
:js <<EOF
function extraTab(args) {
liberator.open(args, liberator.NEW_TAB)
}
EOF
Real solution
Needs to make
tabs
defined again, as now it ain't thus making it hard to do lots of tab-related things.It requires Vimperator code re-work and an update, so go and upvote (don't comment, just upvote original post) an issue:
https://github.com/vimperator/vimperator-labs/issues/568