Skip to Content

Custom Safari keyboard shortcuts save my sanity

I'm a latecomer to the Safari party. I have used Opera and OmniWeb, but eventually, the siren song of Safari was too much to ignore. For the most part, I like it quite a bit, but there is one thing that has bothered me for a long time.

Safari has some ridiculous keyboard shortcuts. So, I made some better ones.

Exhibit #1: the Downloads window. By default, the keyboard shortcut to open the Downloads window is Alt+cmd+L. That's right, "L" for "Downloads." Does that make sense to you? Me neither. It should be "cmd+D" but ... that leads us to another problem.

Read on for more...




Exhibit #2:
Why doesn't Apple use cmd+D for Downloads? Because they used cmd+D for "Add Bookmark..." Oh, of course. Wait, what?! What sense does that make? The answer is none. It would make sense to use "cmd+A" for "Add" except that cmd+A is a system wide shortcut for "select all." The next logical thing is to use "B" for "Bookmark," not "D" just because it was the next available letter after "A" was taken.

Exhibit #3: I have a theory that no one at Apple uses bookmarks, considering what lousy support Safari has for them. Have you ever tried to manage your bookmarks in Safari? You can't even click to sort them. In addition, there is no keyboard shortcut for "Show All Bookmarks." However, once we've changed "Add Bookmark..." to cmd+B, it seems to make sense to make "Show All Bookmarks" equal to cmd+Shift+B.

If you hold down the Alt/option key while in the "Bookmarks" menu, "Add Bookmark..." changes to "Add Bookmark to Menu." So, once we've made the rest of the changes, it makes sense to set that to cmd+Alt+B.

Note: when referring to keyboard shortcuts, the standard practice is to use uppercase letters even if the keyboard shortcut does not include Shift. There is a difference between "cmd+B" and "cmd+Shift+B," but the proper way to refer to it is "cmd+B" not "cmd+b," according to the way Apple does it.

The next several have to do with making Safari features more easily accessible.

I remapped Quit Safari because I was constantly hitting cmd+Q when I meant to hit cmd+1 or cmd+W. Truthfully, I hardly ever quit Safari, so I wanted to make sure I remapped it to something I was very unlikely to press by accident, and cmd+Alt+Q fit the bill perfectly.

One of my favorite Safari features is "Merge All Windows," which will take all of the tabs from separate windows and turn them into tabs of one window instead. There is no keyboard shortcut for this by default, but cmd+Shift+M seemed a logical, and available, choice.

The "Activity" window can be helpful (although the window is weirdly non-resizable and has a column that usually isn't visible unless you horizontally scroll), but for some reason, I never remember cmd+Alt+A and always use cmd+Shift+A, so I changed the shortcut so that it will actually work the way I think it should.

"View Source" is cmd+Alt+U? Why? Because Apple wanted to make sure that I never ever remembered it. That's really the only explanation that I can come up with. Obviously, cmd+V wouldn't work because that is used for "paste," but cmd+Shift+V is a perfectly good alternative. It also has the advantage of being a mnemonic that a normal person might remember and not just someone who has been trained to think the way Apple thinks.

To change the Keyboard Shortcuts for Safari (or any other app) in Snow Leopard, go to System Preferences » Keyboard and click the "Keyboard Shortcuts" tab. Then click "Application Shortcuts" on the left column and then the "+" to bring up the shortcut editor. One very important note: you have to enter the "Menu Title" exactly the way that it appears in the menu. "Add Bookmark" is not the same as "Add Bookmark..." or "Add bookmark." Usually (but not always), each word is capitalized, and any menu item that brings up another window ends with "..." (That's three periods, not an ellipsis.) Be sure to check the menu item that you want to replace, though. You should not even need to restart the app to have the new menu item appear.



Categories

Odds and ends

I'm a latecomer to the Safari party. I have used Opera and OmniWeb, but eventually, the siren song of Safari was too much to ignore. For...
 

Add a Comment

*0 / 3000 Character Maximum

31 Comments

Filter by:
lefauxmail

This technique even works on your own bookmarks. I just gave "Delicious: Add" its own shortcut (because I don't use browser buttons or the bookmarks bar).

June 06 2010 at 9:19 AM Report abuse rate up rate down Reply
Gustavo

cmd+option+L for the downloads window makes sense to me because cmd+L is the shortcut for address bar (as in Location. URL) and poor bookmark managing, really?

I won't leave Safari for any other browser because of that; MobileMe sync with all my computers and iPhones (that includes iPods too) and iPads. I also love the Top Sites window, in fact that's my homepage.

May 31 2010 at 11:08 PM Report abuse rate up rate down Reply
Generaloreius4

I prefer to leave them alone for the reason that I teach people how to use mac
I will be used to the same shortcuts across the board.

But I can always show them this option if they don't like the default

Thanks for sharring

May 31 2010 at 7:00 PM Report abuse rate up rate down Reply
Forrest

How did I not know about "Merge All Windows"! Ahh, that's nice. I'll definitely try these tips out! I found Glims, a Safari addon which has a bunch of features, my two favorites being a "Max Window Size" (I hate, HATE when new window scripts specify a size of window - why not just make it full-screen?) This gives me an easy shortcut to remedy that. Also: "Full-Screen": Finally!

It is available at: http://www.machangout.com/

May 31 2010 at 9:02 AM Report abuse rate up rate down Reply
Frederico

I have to side with Dan, here; it is Windows users moving to Mac who need to adjust to Option as Alt, not the other way around. When I see 'Alt-anything' listed I feel, well, kind of dirty, as though the person writing the article is not a True Mac User.

I also kinda hate hearing 'Right-Click'. It's Control-Click, thanks, even if you do have it keyed to the Right button on your mouse; I use a lefty trackball, so Right and Left are reversed, so it drives the point home that it should be Click and Control [or Option or Command or Shift]-Click, in my writing.

Elitist, I know, but it's just one of those niggling facts of over 30 years of loving Apple products.

And, while we're at it, how many of you stenciled an Apple logo back on your Command key? Really? I'm the only one?

May 30 2010 at 10:45 PM Report abuse rate up rate down Reply
2 replies to Frederico's comment
TJ Luoma


> I have to side with Dan, here; it is Windows users moving to Mac who need to adjust to Option as Alt, not the other way around.

This is rather funny/ironic, considering that the argument for why Apple uses cmd+D for Add Bookmark is that is how other browsers did it.


> When I see 'Alt-anything' listed I feel, well, kind of dirty, as though
> the person writing the article is not a True Mac User.

I'm living in a Windows-free environment, with a handful of iPods, two iPhones, two Mac laptops and an iMac, not to mention several Mac keyboards (all of which say "alt" on that key). Sorry if I have blemished the pure gene pool that you "True Mac Users" were trying to keep going.

But to me this sounds like those "should we call it 'e-mail' or 'email'? Should we say 'a historic' or 'an historic'?" discussions that linguistics folks like to have while the rest of us just sort of go on living and don't really care which one you use.

Can't wait for the day when Apple decides to drop the 'option' altogether. I expect there will be riots in the streets.

May 31 2010 at 12:05 AM Report abuse rate up rate down Reply
Frederico

I guess I should have added a bunch of smileys there for you to see I was being (mostly) facetious. I should have known that since your article is based on the frustrations of immovable opinions, that you would be hypersensitive and have a few of your own.

You are the rare all-mac user who prefers to reference the only-recently-added lower-case (thus deemphasized) Alt to Option. You really must concede that in 100% of all Apple documents on keystroke commands, they emphasize Option over Alt.

Oh, and, BTW, Apple's first browser, Cyberdog, did not use Command-D for add bookmark; it used Command-Option-B; but there was lots of vocal debate over what the defaults should be, and since Netscape (nee Mosaic) was dominant, and it was *nix/Windows-centric, Alt-D/Cmnd-D won by sheer impetus of defacto standard. Cyberdog died, Netscape lived on, IE came, too, and Apple did not attempt to roll their own again until Safari, at which time customized keystrokes were there to correct the error.

Glad you found the path.

Cheers

F

May 31 2010 at 12:45 AM Report abuse rate up rate down Reply
Dan Pritchard

QUIT CALLING IT ALT!! This is a friggin Mac blog, we call it "option" here.

Sorry, I just had to say that. It's friggin annoying.

May 30 2010 at 1:17 AM Report abuse rate up rate down Reply
6 replies to Dan Pritchard's comment
ghostshadow

The only thing that bugs me about safari is; The tab handling / switching shortcuts. I want to be able to hold Command and then hit the number of the tab I want. For example; Firefox, say you have 5 tabs open. Say you're on the second tab but you want to get to the 5th tab. Hold down Command and hit number 5. You'll get jumped to the 5th tab. Safari doesn't handle tabs that way. When you do this, it'll open the bookmarks that correspond with the numerical representation / layout of the bookmarks.

I haven't found a way to change the handling of the tabs, or make the safari tab bar work the way I want it to (like firefox or chrome). Still have to use CTRL + tab. no fun.

May 29 2010 at 9:59 PM Report abuse rate up rate down Reply
2 replies to ghostshadow's comment
TJ Luoma


I just wrote about a way to do this a few weeks ago:

http://www.tuaw.com/2010/05/13/create-keyboard-shortcuts-to-jump-to-safari-4-tabs-directly/

May 30 2010 at 1:40 PM Report abuse rate up rate down Reply
ghostshadow

Wow! I totally missed that article! Thanks! That works great!

May 30 2010 at 1:54 PM Report abuse rate up rate down Reply
frank.lowney

When you re-map things like this, how persistent are the changes? If not very, how does one maintain them over updates large and small? Keep a notebook?

May 29 2010 at 6:52 PM Report abuse rate up rate down Reply
1 reply to frank.lowney's comment
Dan Pritchard

They work pretty persistently. Since this isn't a hack, it's how the system was designed on purpose, these settings are stored in your user account's preferences (which ultimately resides in some .plist in ~/Preferences). So even OS updates shouldn't hurt it.

I, too, have done the Cmd-D = Downloads swap for EVERY browser I use, but since I never, ever, ever, add bookmarks using the keyboard (that would result in a very cluttered un-organized bookmarks folder)--in fact I rarely use bookmarks at all, I just set the Add Bookmark shortcut to something absurd (such as Cmd-Alt-Ctrl-Shift-End) or something to overwrite its binding to Cmd-D.

May 30 2010 at 1:22 AM Report abuse rate up rate down Reply
David Chartier

Command+D is also a system-wide shortcut for "duplicate" used in many other apps, especially the Finder. A simple muscle memory misfire could be fairly dangerous, since we all know how eager Finder is to lock up at the slightest operation.

May 29 2010 at 5:10 PM Report abuse rate up rate down Reply
dave.healey

Yeah, you have to be very careful starting to change keyboard shortcuts around.

I've been using cmd+b for years to do bold, cmd+u for underline, cmd+i for italics etc. Whilst all these make sense, they are also cast in years of stone and when you suddenly switch to a browser and think its a good idea to rename b for bookmark, its simply not good practice for the old commonality rule.

May 29 2010 at 1:55 PM Report abuse rate up rate down Reply
Buy an ad here

Hot Apps on TUAW

Tweets

© 2012 AOL Inc. All Rights Reserved.