Unfortunately, this is a long-running, documented bug in Firefox. https://bugzilla.mozilla.org/show_bug.cgi?id=1333781
You can add custom keyboard shortcuts which Firefox does not already use, but you cannot remap a shortcut that is built into Firefox.
Answer from Wowfunhappy on Stack ExchangeMac & Linux shortcuts
Mac Shortcuts x-callback-url to open a Firefox webpage link not working even if Firefox App is installed
Or this firefox shortcut only work with iOS as stated in the open-source project title?
correct
Do I need to install Xcode for Mac which has Swift in it and follow the Walkthrough instructions
No. Because that also is a instruction for the iOS app.
On MacOS you can launch Firefox with a run shell action like
open -a firefox https://apple.com
Keyboard shortcuts
No. Watch https://bugzilla.mozilla.org/show_bug.cgi?id=57805
More on reddit.comDear Firefox developers: stop changing shortcuts which users have used on a daily basis for YEARS
Unfortunately, this is a long-running, documented bug in Firefox. https://bugzilla.mozilla.org/show_bug.cgi?id=1333781
You can add custom keyboard shortcuts which Firefox does not already use, but you cannot remap a shortcut that is built into Firefox.
This is a known issue in Firefox.
I use BetterTouchTool, a commercial app, to remap command-D to another purpose in Firefox. It intercepts the keystrokes before Firefox gets them. You can assign various other actions, including different keyboard shortcuts, or an "Enter fullscreen" action. There may be other similar commercial apps, but I haven't tested them.
You could try using the free Karabiner Elements app to globally remap command-D to control-command-F (the default for "Enter Full Screen", in most apps) instead of using System Preferences. It works on a lower level. It's possible to use Karabiner for an application-specific remapping, but it's more complicated to set up.
-
Update default shortcuts
I want to use the same shortcuts I have on a Mac, eg; copy, paste; using the Cmd instead of the Ctrl key on Linux. (I have a magic keyboard.)
I can remap Alt -> Command and set up shortcuts on the terminal to copy and paste with Cmd(Alt) + C/V. However, I can't find a way to configure Firefox to either use Cmd in some of the shortcuts or remap the key to change its behavior accordingly.
Any ideas?
2. Shortcuts to cycle tabs
I've been using the shortcut Shift + Cmd + [ to cycle the tabs backward and Shift + Cmd + ] to cycle it forward. I can't find the matching shortcut on Linux, nor the documentation for Mac: https://support.mozilla.org/en-US/kb/keyboard-shortcuts-perform-firefox-tasks-quickly
Has the shortcut been deprecated? What other options do I have to cycle between tabs without using Ctrl + Tab?
updated for macOS and current Firefox.
- default shortcut:
Command+Option+⭠andCommand+Option+⭢ - alternative shortcut:
Ctrl+TabandCtrl+Shift+Tab
this shows firefox tab switcher in current version - alternative shortcut:
Command+{andCommand+}
this actually requires 3 keys to be pressed on US keyboardCommand+Shift+{andCommand+Shift+}and may not work with other keyboard languages - alternative shortcut:
Ctrl+Page UpandCtrl+Page Down - you can also jump to tabs directly with
Cmd+1,Cmd+2,Cmd+3,Cmd+4etc. - you can try a Firefox add-on focused on switching tabs which suits your needs: Add-ons browser
- just use a BetterTouchTool to remap any keystroke or mouse/trackpad gesture you want to already existing
Command+Option+⭠andCommand+Option+⭢keystrokes.
I personally prefer #7: Command+Option+⭠ and Command+Option+⭢ for switching tabs. I haven't modified Firefox at all and I used BetterTouchTool to remap keystrokes in every other app which uses other commands that these two. Now I can use Cmd+Option+⭠ and Command+Option+⭢ to switch tabs across all apps I use on Mac and it works great.
I use this addon on Firefox on MacOS: https://addons.mozilla.org/en-US/firefox/addon/clut-cycle-last-used-tabs
However, I wanted to use Command+Q but Firefox wouldn't allow that because it's a built-in shortcut.
So I set a different shortcut: Command+Shift+E and then mapped Command+Q to that using Keyboard Maestro app.
