Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I recently switched from Windows to Mac. One of the things that's really ingrained in my muscle memory is hitting Alt+D in a browser to go to the address bar. On Mac browsers, +D creates a bookmark, the equivalent to move to the address bar is +L.

I've used the Keyboard pref pane to remap +D to the "Open Location..." command in Safari, Chrome, and Firefox. In Safari this works great. In both Chrome and Firefox, hitting +D now goes to the address bar and creates a bookmark. Is there any way to get this to work properly in Chrome and Firefox?

Mac OS 10.7, Chrome 13.0.782.220, Firefox 6.0.2

share|improve this question

2 Answers 2

up vote 5 down vote accepted

Chris,

You can achieve this using the keyboard prefs just as you were trying. You simply need to create one more shortcut.

In Chrome you would:

  • Set Command-D to Open Location...
  • Set Command-L to Bookmark This Page...

By setting an explicit shortcut for Bookmark This Page... you get rid of the conflict an ensure there aren't two menu options with the same shortcut.

share|improve this answer
    
Could someone extend this answer for dummies, please? I'm not sure where this Keyboard prefs page is. Is this System Preferences > Keyboard? If so, I added Google Chrome and the shortcuts mentioned above and relaunched Chrome but the shortcut actions did not change. –  Henno Sep 21 '12 at 14:54
    
I figured it out. My browser was not in English. :) –  Henno Sep 21 '12 at 15:01

ShortcutManager (Chrome extension) allows you to:

Customize shortcut keys; Assign any Javascript code or browser actions to any key strokes.

Here's an article on remapping keyboard shortcuts for Firefox. You'll need the keyconfig extension.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.