5 ms·
I'd switch to Firefox in a heartbeat if I could somehow focus the URL bar with Cmd+D instead of Cmd+L (years of muscle memory with Alt+D on Linux previously).
by spurgu 4y ago
I'd switch to Firefox in a heartbeat if I could somehow focus the URL bar with Cmd+D instead of Cmd+L (years of muscle memory with Alt+D on Linux previously).
Other browsers have a menu entry for this (File -> Open Location... in Chrome) so keyboard shortcuts can be switched in the Keyboard settings but Firefox doesn't have this. :|
I've tried various methods without success. If anyone had a working solution I'd be very grateful.
- siegecraft 4y agoYou can do this with karabiner-elements (https://karabiner-elements.pqrs.org/ https://karabiner-elements.pqrs.org/) by remapping cmd-l to cmd-d. I believe you can even add a condition to make the mapping only active in firefox, but I haven't tested that. Here is a rule that does it (only for left command, but that's probably sufficient): https://genesy.github.io/karabiner-complex-rules-generator/#eyJ0aXRsZSI6ImNtZC1kIHRvIGNtZC1sIiwicnVsZXMiOlt7ImRlc2NyaXB0aW9uIjoiIiwibWFuaXB1bGF0b3JzIjpbeyJ0eXBlIjoiYmFzaWMiLCJmcm9tIjp7Im1vZGlmaWVycyI6eyJtYW5kYXRvcnkiOlsibGVmdF9ndWkiXX0sImtleV9jb2RlIjoiZCJ9LCJ0byI6W3sicmVwZWF0Ijp0cnVlLCJtb2RpZmllcnMiOlsibGVmdF9ndWkiXX1dfV19XX0= https://genesy.github.io/karabiner-complex-rules-generator/#...
- bl4ckcontact 4y agoIf I recall, F6 should get what you’re after.
- spurgu 4y agoAs I said I want it specifically to be Cmd+D (instead of the default Cmd+L).
- atwood22 4y agoIt would be pretty trivial to write an extension that does that.
- dan-robertson 4y agoI don't think Firefox extensions can do this sort of thing.
- atwood22 4y agoYea you’re right. Looks like they removed the ability of extensions to do that back in 2017. Sad :(
- kavothe 4y agoJust press F6 and it'll focus into the URL bar
- bussierem 4y agoI'm on Windows 10 with FF right now and Alt+D just worked for me, along with Cmd+L and F6 as other have said. I think your muscle memory should be just fine. Time to switch!
- spurgu 4y agoTime to switch to Windows? :o Edit: I moved off Windows around 2005 followed by a decade of Linux and since then Mac.
- bussierem 4y agoOh haha I assumed windows since you said you used to be on linux, and Mac doesn't have an Alt key! My mistake. Well at the very least it seems there are FF plugins that allow you to modify shortcuts, so you could probably rebind Option+D to the same control as Cmd+L/F6 and that might work.
- mixmastamyk 4y agoOption+D would be the analogue on Mac. This might work: https://addons.mozilla.org/en-US/firefox/addon/shortkeys/ https://addons.mozilla.org/en-US/firefox/addon/shortkeys/
- spurgu 4y ago> Option+D would be the analogue on Mac. For me it's "the key to the left of the spacebar" in terms of muscle memory, so Cmd on Mac. Tried it, as well as modifying omni.ja... From the add-on page (I tried it): > shortkeys cannot override Firefox default shortcuts
- mixmastamyk 4y agoLook up: https://karabiner-elements.pqrs.org/ https://karabiner-elements.pqrs.org/
- dan-robertson 4y agoI think it may be possible to change browser shortcuts with a custom UserChrome.js but it is very much going down a nonstandard path.
- spurgu 4y agoI've tried various add-ons as well as modifying omni.ja (requires re-zipping it on Linux because zip is compiled with different flags on Mac making the omni.ja not work with FF). This issue requires action from Mozilla, there are no user solutions as far as I'm aware.