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

In Chrome we can close all the tabs in a window while keeping a selected one open.

Is there a keyboard shortcut to "close other tabs"?

enter image description here

share|improve this question
up vote 6 down vote accepted

No keyboard shortcut i know about and checking google forums neither does anyone else.

There is an extension Close Inactive Tabs this is a button which closes all other tabs except the active one

No more confusing menus

share|improve this answer
    
There's an entry in the suggestions box. – JdeBP Jun 18 '11 at 12:15

The shortcut key to close all other tabs is CtrlShiftAltW if you install Amazing Tab Shortcuts, freely available in the Chrome Web Store.

I use it frequently for scripts, which I suspect is your use.

        

share|improve this answer
1  
Alas, doesn't appear to work on Linux. – Joseph Garvin Oct 8 '14 at 1:00

None of them work. The easiest way is to right-click on the tab that you want to keep open and then click 'close other tabs'. The shortcut to close ALL tabs is Ctrl+Shift+W, to open a new tab is Ctrl+T, and to close the tab you are on is Ctrl+W. Also, if you close a tab by mistake and want to reopen it to the same page it was on, use Ctrl+Shift+T. Experiment with the rest like, Ctrl+Shift+E, etc.

share|improve this answer
1  
In the question it we can see already that the way how to do this with mouse is known. I think it is not needed to show keyboard shortcuts for other functions here. – pabouk Oct 17 '13 at 9:44

Here is an extension that assigns a keyboard shortcut to close other tabs. .

Works great on my Mac with Chrome stable channel.

share|improve this answer

In OS X you can create ~/Library/Scripts/Applications/Google Chrome/ and save this script there with Script Editor:

tell window 1 of app "google chrome" to close tabs whose id is not (get id of active tab)

Then use FastScripts to give the script a shortcut.

share|improve this answer

You must log in to answer this question.

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