Merge pull request #25149 from overleaf/ae-disable-toggletabfocusmode

Disable toggleTabFocusMode

GitOrigin-RevId: 7f9f9a1a57e6656a3bd03c1986ae6e4d3be71f84
This commit is contained in:
Alf Eaton
2025-04-29 10:52:30 +01:00
committed by Copybot
parent 52e6a216f4
commit 14c82ac94d
2 changed files with 4 additions and 2 deletions
@@ -20,6 +20,8 @@ const ignoredDefaultMacKeybindings = new Set([
// We replace these with our custom visual-line versions
'Mod-Backspace',
'Mod-Delete',
// Disable toggleTabFocusMode as it conflicts with ” on a Swedish keyboard layout
'Shift-Alt-m',
])
const filteredDefaultKeymap = defaultKeymap.filter(
@@ -46,11 +46,11 @@ export const shortcuts = Prec.high(
keymap.of([
{
key: 'Tab',
run: indentMore,
run: indentMore, // note: not using indentWithTab as the user may want to insert tab spaces within a line
},
{
key: 'Shift-Tab',
run: indentLess,
run: indentLess, // note: not using indentWithTab as the user may want to insert tab spaces within a line
},
{
key: 'Mod-y',