mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2024-11-24 22:46:40 +00:00
Ensure the "Ctrl+Alt+["/"Ctrl+Alt+]" shortcuts don't get triggered on "AltGr+8"/"AltGr+9" (#1979)
* Remove the "Ctrl+Alt+[" and "Ctrl+Alt+]" shortcuts, as they conflict on non-US keyboard layouts * Use "BracketLeft" and "BracketRight" to re-enable shortcut for US keyboards
This commit is contained in:
parent
1a4f713a79
commit
9ec2cea95c
@ -83,8 +83,8 @@ const bindings: Record<KeyboardAction, string[]> = {
|
|||||||
[KeyboardAction.NEW_ITEM]: ["Alt+N I"],
|
[KeyboardAction.NEW_ITEM]: ["Alt+N I"],
|
||||||
[KeyboardAction.DELETE_ITEM]: ["Alt+D"],
|
[KeyboardAction.DELETE_ITEM]: ["Alt+D"],
|
||||||
[KeyboardAction.TOGGLE_COPILOT]: ["$mod+P"],
|
[KeyboardAction.TOGGLE_COPILOT]: ["$mod+P"],
|
||||||
[KeyboardAction.SELECT_LEFT_TAB]: ["$mod+Alt+[", "$mod+Shift+F6"],
|
[KeyboardAction.SELECT_LEFT_TAB]: ["$mod+Alt+BracketLeft", "$mod+Shift+F6"],
|
||||||
[KeyboardAction.SELECT_RIGHT_TAB]: ["$mod+Alt+]", "$mod+F6"],
|
[KeyboardAction.SELECT_RIGHT_TAB]: ["$mod+Alt+BracketRight", "$mod+F6"],
|
||||||
[KeyboardAction.CLOSE_TAB]: ["$mod+Alt+W"],
|
[KeyboardAction.CLOSE_TAB]: ["$mod+Alt+W"],
|
||||||
[KeyboardAction.SEARCH]: ["$mod+Shift+F"],
|
[KeyboardAction.SEARCH]: ["$mod+Shift+F"],
|
||||||
[KeyboardAction.CLEAR_SEARCH]: ["$mod+Shift+C"],
|
[KeyboardAction.CLEAR_SEARCH]: ["$mod+Shift+C"],
|
||||||
|
Loading…
Reference in New Issue
Block a user