diff --git a/assets/keymaps/default-linux.json b/assets/keymaps/default-linux.json index 280e14f13ca..af1fb028436 100644 --- a/assets/keymaps/default-linux.json +++ b/assets/keymaps/default-linux.json @@ -1209,7 +1209,7 @@ "alt-b": ["terminal::SendText", "\u001bb"], "alt-f": ["terminal::SendText", "\u001bf"], "alt-.": ["terminal::SendText", "\u001b."], - "ctrl-delete": ["terminal::SendText", "\u001bd"], + "ctrl-delete": ["terminal::SendText", "\u001b[3;5~"], // Overrides for conflicting keybindings "ctrl-b": ["terminal::SendKeystroke", "ctrl-b"], "ctrl-c": ["terminal::SendKeystroke", "ctrl-c"], diff --git a/assets/keymaps/default-macos.json b/assets/keymaps/default-macos.json index 7c56b433792..23953b9d45c 100644 --- a/assets/keymaps/default-macos.json +++ b/assets/keymaps/default-macos.json @@ -1278,7 +1278,7 @@ "alt-right": ["terminal::SendText", "\u001bf"], "alt-b": ["terminal::SendText", "\u001bb"], "alt-f": ["terminal::SendText", "\u001bf"], - "ctrl-delete": ["terminal::SendText", "\u001bd"], + "ctrl-delete": ["terminal::SendText", "\u001b[3;5~"], // There are conflicting bindings for these keys in the global context. // these bindings override them, remove at your own risk: "up": ["terminal::SendKeystroke", "up"],