Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This is related to my other question about copy/pasting in Vimperator.

In normal Firefox, Ctrl+K gives the focus to the search bar.

How can I do this in Vimperator?

The weird thing is that it doesn't work even in -- PASS THROUGH -- mode. Ctrl+L works in pass through, why is it that Ctrl+K doesn't?

Is there a fix or a patch?

share|improve this question
up vote 10 down vote accepted

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


  • Ctrl+l -> Tab

To get rid of the unsightly toolbar just use:

:set go-=T

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

share|improve this answer

I knew :open behaves essentially like a google search box, but what bothered me was the absence of the auto-suggestions list.

Well, it turns out that set wildoptions=auto turns it on, so with that in mind, here's my workaround:

set wildoptions=auto

noremap <C-k> :open 
inoremap <C-k> <Esc>:open 
cnoremap <C-k> <Esc>:open
share|improve this answer
+1 for the awesomeness of wildoptions – facepalmd Jul 31 '09 at 18:55

The following works well for me, a variant on facepalmd's suggestion :

:set go+=T                      # Turns on the address bar, which I don't mind
:noremap <C-k> <A-d><Tab>       # maps Ctrl-K to Alt-D + Tab
share|improve this answer

F6 focuses the address bar for me. I use the following software.

  • Vimperator 2.3.1
  • Firefox 3.6.10
  • Mac OS X 10.5
share|improve this answer

According to this thread, Firefox performs unexpected behavior when pressing Ctrl+k, and vimperator cannot handle it. An alternative is to search like so:

:o [engine] [search terms]

For instance, to search google for SuperUser, the command would be

:o google SuperUser
share|improve this answer
The problem with seraching from the :open command is that you don't get the auto suggestions and other goodies (like automatically showing calculator results) – hasen Jul 31 '09 at 13:04
The thread I linked shows a workaround – MoshiBin Jul 31 '09 at 15:09

Try pressing F6. F6 focusses the address bar when vimperator is active.

share|improve this answer
won't work even in pass through – facepalmd Jul 31 '09 at 17:05
Vimperator hides the address bar by default. F6 is unmapped. – greyfade Aug 21 '09 at 2:55
Wrong. F6 highlights the address bar in Vimperator. – bobobobo Aug 21 '09 at 11:16
Right. F6 does nothing on default Vimperator config. – Jawa Oct 21 '09 at 6:55
My config is default. Pressing it once does nothing. A second press highlights the address bar (not the one you type in). – Dentrasi Dec 18 '09 at 12:17

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.