diff --git a/assets/keymaps/default-macos.json b/assets/keymaps/default-macos.json index 23953b9d45cc9c9980a4eac73293195750a1c073..7edfd53a73bbf979b6c64cf3b864c6aec450052f 100644 --- a/assets/keymaps/default-macos.json +++ b/assets/keymaps/default-macos.json @@ -1268,11 +1268,11 @@ "ctrl-enter": "assistant::InlineAssist", "ctrl-_": null, // emacs undo // Some nice conveniences - "cmd-backspace": ["terminal::SendText", "\u0015"], // ctrl-u: clear line + "cmd-backspace": ["terminal::SendKeystroke", "ctrl-u"], // clear line "alt-delete": ["terminal::SendText", "\u001bd"], // alt-d: delete word forward - "cmd-delete": ["terminal::SendText", "\u000b"], // ctrl-k: delete to end of line - "cmd-right": ["terminal::SendText", "\u0005"], - "cmd-left": ["terminal::SendText", "\u0001"], + "cmd-delete": ["terminal::SendKeystroke", "ctrl-k"], // delete to end of line + "cmd-right": ["terminal::SendKeystroke", "ctrl-e"], + "cmd-left": ["terminal::SendKeystroke", "ctrl-a"], // Terminal.app compatibility "alt-left": ["terminal::SendText", "\u001bb"], "alt-right": ["terminal::SendText", "\u001bf"],