We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

Possible to change Firefox default keybinds?

  • 1 отговор
  • 1 има този проблем
  • 1 изглед
  • Последен отговор от cor-el

more options

Is it possible to change Firefox's default keybinds? I don't see an option for this in Settings, nor in about:preferences or about:config. Some discussions on these forums suggest autoconfig.conf but that doesn't seem to have any options for keybinds. I found several KB articles on customizing Firefox, but none said anything about default keybinds:

KB: Customize Firefox controls, buttons and toolbars KB: Firefox advanced customization and configuration options KB: Customizing Firefox Using AutoConfig

For example, I'd like to change the keybind to open a private window from the default [Shift]+[Cmd]+P to [Shift]+[Cmd]+N. The latter is standard on most other browsers and is in my muscle memory. Is there any way to do that?

Is it possible to change Firefox's default keybinds? I don't see an option for this in Settings, nor in [https://about:preferences about:preferences] or [https://about:config about:config]. Some discussions on these forums suggest ''autoconfig.conf'' but that doesn't seem to have any options for keybinds. I found several KB articles on customizing Firefox, but none said anything about default keybinds: [https://support.mozilla.org/en-US/kb/customize-firefox-controls-buttons-and-toolbars KB: Customize Firefox controls, buttons and toolbars] [https://support.mozilla.org/en-US/kb/firefox-advanced-customization-and-configuration KB: Firefox advanced customization and configuration options] [https://support.mozilla.org/en-US/kb/customizing-firefox-using-autoconfig KB: Customizing Firefox Using AutoConfig] For example, I'd like to change the keybind to open a private window from the default [Shift]+[Cmd]+P to [Shift]+[Cmd]+N. The latter is standard on most other browsers and is in my muscle memory. Is there any way to do that?

Променено на от Byron

Всички отговори (1)

more options

Key sequence [Shift]+[Cmd]+P is used by key_privatebrowsing Key sequence [Shift]+[Cmd]+N is used by key_undoCloseWindow, [Cmd]+N is used by key_newNavigator Those two form a pair, similar to [Cmd]+T and [Shift]+[Cmd]+T for a New Tab and Undo Closed Tab. I'm not sure if it would be a good idea to change this. You can use the Browser Toolbox to inspect the mainKeyset tag, key_privatebrowsing and key_undoCloseWindow are further down.

See this thread for the basic way on how to use autoconfig.cfg to modify key bindings.