diff --git a/assets/keymaps/default-linux.json b/assets/keymaps/default-linux.json index 4bde3961b0..ce5ca422b4 100644 --- a/assets/keymaps/default-linux.json +++ b/assets/keymaps/default-linux.json @@ -934,6 +934,7 @@ "ctrl-e": ["terminal::SendKeystroke", "ctrl-e"], "ctrl-o": ["terminal::SendKeystroke", "ctrl-o"], "ctrl-w": ["terminal::SendKeystroke", "ctrl-w"], + "ctrl-backspace": ["terminal::SendKeystroke", "ctrl-w"], "ctrl-shift-a": "editor::SelectAll", "find": "buffer_search::Deploy", "ctrl-shift-f": "buffer_search::Deploy", diff --git a/assets/keymaps/default-macos.json b/assets/keymaps/default-macos.json index ed1cda5248..4542b236dc 100644 --- a/assets/keymaps/default-macos.json +++ b/assets/keymaps/default-macos.json @@ -1021,6 +1021,7 @@ "escape": ["terminal::SendKeystroke", "escape"], "enter": ["terminal::SendKeystroke", "enter"], "ctrl-c": ["terminal::SendKeystroke", "ctrl-c"], + "ctrl-backspace": ["terminal::SendKeystroke", "ctrl-w"], "shift-pageup": "terminal::ScrollPageUp", "cmd-up": "terminal::ScrollPageUp", "shift-pagedown": "terminal::ScrollPageDown",