Fix ctrl+delete to correctly send alt+d (ESC + d)

Fixes #136994
This commit is contained in:
Daniel Imms 2021-11-22 06:11:34 -08:00
parent dee69dc807
commit 74e7864370

View file

@ -173,8 +173,8 @@ if (isWindows) {
primary: KeyMod.CtrlCmd | KeyCode.Backspace,
});
}
// Delete word right: alt+d
registerSendSequenceKeybinding('\u000d', {
// Delete word right: alt+d [27, 100]
registerSendSequenceKeybinding('\u001bd', {
primary: KeyMod.CtrlCmd | KeyCode.Delete,
mac: { primary: KeyMod.Alt | KeyCode.Delete }
});