Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Control which tab gets the focus when you close a tab in Safari Web Browsers
When you close a tab in Safari, the one that gets the focus (becomes active) is the one that was to its right (unless you are closing the last tab, in which case the one that was next to last gets the focus). If you sometimes wish the tab on the left would get the focus, you can have that with the help of a free extension called Tabkeys.

The main purpose of the extension is to let you assign your own keyboard shortcuts to various actions involving tabs. One of the supported actions is closing the current tab, and Tabkeys has a setting that determines which tab will get the focus when you do that.

The only catch is, in order for the tab-focusing feature to work, you have to close the tab using your assigned hotkey. If you close it any other way, such as by clicking its close box or pressing Command-W, the feature has no effect. I use the W key for closing tabs, and this has become second nature to me. (Such unmodified hotkeys have no effect inside text boxes and other editable elements.)

[crarko adds: There was a previous hint about this author's Safari Extensions, but I've used this one myself and thought it was worthy of note.]
    •    
  • Currently 2.50 / 5
  You rated: 2 / 5 (8 votes cast)
 
[3,942 views]  

Control which tab gets the focus when you close a tab in Safari | 3 comments | Create New Account
Click here to return to the 'Control which tab gets the focus when you close a tab in Safari' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Control which tab gets the focus when you close a tab in Safari
Authored by: jyu on Mar 17, '11 08:53:29AM

"The only catch is, in order for the tab-focusing feature to work, you have to close the tab using your assigned hotkey."

This throws me off right away. There are so many shortcuts keys already from the OS and normally I'm pretty good at memorizing (some if not all of) them. Those extra gadgets are supposed to help people to make their life easier, but shouldn't force people to memorize more things IN ORDER TO use them properly. I'll pass.



[ Reply to This | # ]
Control which tab gets the focus when you close a tab in Safari
Authored by: canisbos on Mar 17, '11 10:17:18AM

For what it's worth, you could use the Keyboard prefpane of System Preferences to assign some hotkey other than Command-W to Safari's Close Tab command, and then use Command-W for Tabkeys's tab closing command. That way, you would get the benefit described in this hint without having to memorize another hotkey, even one as simple as "W".



[ Reply to This | # ]
Control which tab gets the focus when you close a tab in Safari
Authored by: jazzbri on Mar 17, '11 11:40:38AM

A plugin called "Saft" also allows this, in conjunction with the native keyboard shortcuts. Not free, though.



[ Reply to This | # ]