Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

In Firefox forward slash is mapped to quick find. Is it possible to let forward slash behave the same in Google Chrome as in Firefox? To find a link and follow it in a page in Google Chrome I now have to type:

Ctrl + F, <search query>, ESC, Enter

In Firefox this is:

/, <search query>, Enter

Not being able to use forward slash to find in page has been a real show-stopper for me as I use it all the time in Firefox to browse documentation.

share|improve this question
2  
It's obvious there are emacs saboteurs in Google's HQ ... with a plan to destroy every single key shortcut out there. –  ldigas Dec 9 '09 at 11:47
add comment

9 Answers

up vote 8 down vote accepted

Try checking out Vimium, an extension which gives you Vim keymappings. This would allow you to type a '/' and then you start typing whatever you're looking for and it dynamically jumps you to the part of the page that matches.

You may just find that the rest of the Vim keybindings are helpful too - for scrolling, navigating tabs, opening new links, etc., all without taking your hands off the keyboard - but you could simply start with the search feature and safely ignore the rest of the functionality if you're not familiar with the other bindings.

share|improve this answer
add comment

I've been posting this info wherever I can find threads on FAYT:

If you want to have this feature (find as you type/FAYT) enabled in Chrome by default, go to Chromium Issue 150: Type-ahead-find and read #4 for why it's not.

Then star (vote for) the issue, tell everyone who wants FAYT enabled by default to star it, and install tokland's extension as an awesome workaround for the time being: Chrome-Type-Ahead.

Also, please join my group on LinkedIn (Chrome-Type-Ahead-Find), start a Facebook group, tweet about it, or do something to spread the word.

share|improve this answer
add comment

In current versions of chrome you can do:

Ctrl + F, <search query>, Ctrl + Enter

Which is a bit more convenient compared to using ESC.

share|improve this answer
add comment

For OSX users (I'm using 10.6.6)

I mapped the ⌘/ shortcut to the Chrome "Find..." command (Not as good as having a simple '/', but it will do for now...

  • Go to System Preferences
  • Choose Keyboard
  • Choose the '+' to add a shortuct
  • Choose 'Chrome' from the list of available applications
  • Type the menu title exactly as it appears on the Chrome menu... for now it's Find...
  • Type ⌘/ in the 'Keyboard Shortcut' field (for some reason you can't simply have / as the shortcut...)

Switch to Chrome and try it out

share|improve this answer
add comment

A Chromium find-as-you-type extension was recently launched that comes very near to the behavior I want.

There are several problems with the extension:

  • does not search in local pages due to restrictions on Chrome extensions (you could hack the extension to make it work though)
  • bad performance
share|improve this answer
add comment

Update: The Chromium Find As You Type Extension comes with the '/' key search functioning out of the box. Just install the extension, and forward-slash search should start working.

share|improve this answer
add comment

The problem is not only the usage of / itself.

I often use / to go to a link and then hit enter to open it, without the use of mouse.

It's very practical, even more so when I'm already typing, both hands are on keyboard and it's just a hassle to switch to mouse.

That's why keymapping wont solve it for me.

share|improve this answer
add comment

There is a problem with the AutoHotKey script that makes it unusable -- I don't think there's a way to get the desired behavior using AutoHotKey:

1) You can't search for text containing "/". This can be fixed by checking if the find textbox has focus:

#IfWinActive, ahk_class Chrome_WindowImpl_0
 /::
  ControlGetFocus focussed, A
  if ( focussed != "ViewsTextfieldEdit1" )
   Send ^f
  else
   Send /
return

You'd have to do the same thing to allow entering "/" in the URL bar.

2) You can't type "/" in any web page's input box displayed by Chrome! Textboxes, search boxes, drop downs, etc... I don't know a way around this. The problem is that all these form controls don't seem to be visible to AutoHotKey (try mousing over them with Window Spy and you'll notice the control under "Now Under Mouse Cursor" doesn't change).

share|improve this answer
add comment

As you realized, Chrome doesn't offer a native way to modify shortcuts. As things stand, you have two options:

  1. if you are on the beta or developer channel - and are willing to install an extension - there's Shortcut manager to fulfil your remapping desires. BUT, right now, you'll have to contact the developer, since the "Find" browser action is not yet assignable;
  2. you can use a AutoHotkey script, which will map the "/" in your numeric keyboard pad to "Ctrl-f", only while in Google Chrome:

#IfWinActive, ahk_class Chrome_WindowImpl_0

NumpadDiv::

Send ^f

return

share|improve this answer
    
The Shortcut manager does not seem to work for Ubuntu unfortunately. Also, AutoHotkey is a Windows only solution. Thanks for a pointer in the right direction though, I'll start looking into UI automation tools for Ubuntu and see where that gets me. –  Ton van den Heuvel Dec 10 '09 at 8:23
    
Just tried on Ubuntu, and it worked for me. You have to consider that, when you add a new shortcut, it will not work in the tabs/pages that were already open at creation time. You'll have to open a new one, and then test it. But, as I said, I don't think that "Find" is among the available browser actions (yet). –  TataBlack Dec 10 '09 at 10:00
    
Yes, I got it to work now, thanks. Still, this isn't a solution unfortunately :( –  Ton van den Heuvel Dec 11 '09 at 21:27
add comment

Your Answer

 
discard

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.