Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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

I would like to customize keyboard shortcuts in Google Chrome.

For example, I would like to map the keys combination Ctrl+Shift+W to the command "Close Other Tabs", instead of right-clicking on a tab (default command).

Is there any setting in Chrome to set this combination to that command ?
Or is there any plugin/script that can provide this function ?

share|improve this question
Have you tried searching the Chrome Web Store? If not, here's a link to a shortcuts manager extension -… – VenkatH Nov 1 '12 at 9:19
@VenkatH Thank you for the hint ! Unfortunately, "Close Other Tabs" is not a command supported by the "Shortkeys" extension, so it does not fill my need. – wil Nov 2 '12 at 1:46
Is there a way to remove keyboard shortcuts? I want to use the shortcuts built into Tumblr but it conflicts with the ones already built into chrome and none of the extensions I could find edit already existing ones... – Cyberson Apr 22 '15 at 0:14
@wil Almost 3 years later, the "Close Other Tabs" command exists now in Shortkeys. – Mike Crittenden Jul 28 '15 at 3:32
Another option is vimium although I don't think it can actually rebind C-W. – mgalgs Oct 16 '15 at 23:47

Looks like this feature is 'on the way' but not in the main release cycle yet. Found an article that describes the feature being implemented in the development build, #22. Or at least partially to allow some features to be shortcut-ed Ref:

That post mentions an experimental API for more types of actions linked to shortcuts which can be found.. here:

Of course that's all in the development stage still.

share|improve this answer
@wil update: this has been in Chrome for some time, just scroll down in the extensions page and click "Keyboard Shortcuts" – skeggse Jun 21 '14 at 1:06
@distilledchaos: That link only allows you to set keyboard shortcuts for apps and extensions, not for the browser in general. – bergie3000 Aug 27 '14 at 18:35
It is 2015 they REALY need to add this to chrome. Custom hotkeys should be something every app should have since first version – Srneczek Jan 27 at 15:58
@Srneczek It's actually 2016 now, but otherwise I agree – zzbomb Jan 27 at 16:47

There is a Chrome plugin called Shortcut Manager which can do this.

I just used it to create shortkeys for j and k to scroll up and down. It also has 'close other windows' available to map to a short-key.

share|improve this answer
I installed the plugin, unfortunately for some reason it is impossible to set the combination I want "Ctrl+Shift+W" into the input box (when I try to, the pop-up asking me if I want to leave the page appears). – wil Apr 10 '13 at 2:13
This doesn't seem to override the default functionality. I am trying to add a ALT+ENTER ".com" shortcut for the URL bar (for subdomains) and it still uses the default functionality of doing a search. – Gaʀʀʏ Jun 21 '14 at 13:22
I configured f and d for scroll down and up to save my right hand ;o) – YordanGeorgiev Aug 17 '14 at 7:13
I added Ctrl+G to open favorite page , earlier it seemed not working but after restarting chrome it started working. Ctrl+G has default function of searching next in chrome , this extension overrides it. – Vins Feb 27 '15 at 7:20
This doesn't work for Mac when I try to set "Ctrl+Page Up" to go to the previous tab. (Actually Cmd+Page Up since I switched those two keys) – andrewtweber Apr 3 '15 at 19:45

As described in the comments of another answer, I am also wanting to disable the "Cmd+Shift+W" shortcut for close window, and incidentally the similar shortcut that appears when I disable the first, which now stands for "Close All".

  • I simply went to the Mac's Keyboard preference pane, in the "Shortcuts" tab, in "App Shortcuts" section, and went to create new shortcut mappings.
  • I made these for Google Chrome and chose that as the first parameter, but I guess you could fix a similar problem in any other application by selecting the one you want instead.
  • I then proceeded to name the menu entry that I wanted to replace, such as those I mentioned above.
  • Lastly, I assigned it a complex key combination, one that I would hopefully never accidentally press in the future.

It's not the best approach, and I am currently reading into another question and answer "How to disable keyboard shortcuts in mac os x" which may remove the shortcut completely, but it works well enough through the existing system interface without having to install any additional software as a limited Google Chrome Web Extension or system application.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .