Enable Command+K for Google Search on Safari 3.0
Are you like me, used to Firefox’s Ctrl+L for address bar and Ctrl+K for Google Search bar in Windows (and Mac, well Command+K/L that is)? I’ve been trying to use Safari 3.0 on my Mac for a while now, because it’s so sleek and prrty and damn fast, but this was one of the things that just killed it for me. Until now. I decided to figure this out once and for all since Rufio always says that Apple is off the hizzay and that they make neighbor’s cat-killer applications and stuff and things of sorts.
From a web developers point of view, I’m sad to say that Safari is still a semi-shady browser, because it still doesn’t display web pages like you’d expect it to. It compares very well to the improvements IE6-IE7. Better, but still not quite there.
Anyway, let’s get to it. To add the keyboard shortcut Command (Apple) + K, go into System Preferences and choose Keyboard & Mouse like so:
Hit the plus sign at bottom left to add a new Shortcut. Choose Safari.app as Application, and type in “Google Search…” as Menu Title. Note the dots, very important. This is how Safari has this shortcut programmed, so you have to use them as well. Highlight Keyboard Shortcut and hit Command+K on your keyboard.
Click Add button, and voila! You have a brand new Keyboard Shortcut for your Safari 3.0 to play with.

Isn’t it a treat? This can be done in Opera quite easily as well, but that’s a different post. My next project will be to get/hack the Bookmarks to work like I want them to. Like, why the hell does the Bookmarks manager open in the active tab, kidnapping you from the very very interesting web page your currently on, reading this article about Somaliland on Wikipedia, and how it never seems to get recognized as an independent state god damn it…





Jesper Garneij
February 21st 2008
An addition to this article would be that I did the same for View Source with Shortcut Command+U. Works fine, fine, just fine. This might not be that interesting to the common man, but hey… Some of you might be interested in viewing the code, maybe that you build it yourself, like me.
Yvette
November 5th 2008
a good theme, and you can read more