mirror of
https://github.com/rbreaves/kinto.git
synced 2025-08-05 18:38:26 +02:00
Open Firefox private window with Ctrl+Shift+N
Safari and Chrome/Chromium use Ctrl+Shift+N to open private/incognito windows. Firefox for some reason wants to use Ctrl+Shift+P. This makes Firefox respond to Ctrl+Shift+N the same way as Safari and the Chromes. Ctrl+Shift+P of course still works also. No pre-existing action for Ctrl+Shift+N seems to exist in the current Firefox version. So no known conflict.
This commit is contained in:
@@ -413,6 +413,7 @@ define_keymap(re.compile("Firefox", re.IGNORECASE),{
|
|||||||
K("Shift-SEMICOLON"),K("p"),K("r"),K("e"),K("f"),
|
K("Shift-SEMICOLON"),K("p"),K("r"),K("e"),K("f"),
|
||||||
K("e"),K("r"),K("e"),K("n"),K("c"),K("e"),K("s"),K("Enter")
|
K("e"),K("r"),K("e"),K("n"),K("c"),K("e"),K("s"),K("Enter")
|
||||||
],
|
],
|
||||||
|
K("RC-Shift-N"): K("RC-Shift-P"), # Open private window with Ctrl+Shift+N like other browsers
|
||||||
})
|
})
|
||||||
define_keymap(re.compile(chromeStr, re.IGNORECASE),{
|
define_keymap(re.compile(chromeStr, re.IGNORECASE),{
|
||||||
K("C-comma"): [K("M-e"), K("s"),K("Enter")],
|
K("C-comma"): [K("M-e"), K("s"),K("Enter")],
|
||||||
|
Reference in New Issue
Block a user