Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
terminal: Fix ctrl-a keybind on Linux (#15512)
Peter Tripp161c6ca6a44e
diff --git a/assets/keymaps/default-linux.json b/assets/keymaps/default-linux.jsonindex 16874047811..f8178efe11c 100644--- a/assets/keymaps/default-linux.json+++ b/assets/keymaps/default-linux.json@@ -246,13 +246,6 @@"ctrl-alt-shift-x": "search::ToggleRegex"}},- {- "context": "Terminal",- "bindings": {- "ctrl-w": ["terminal::SendKeystroke", "ctrl-w"],- "ctrl-e": ["terminal::SendKeystroke", "ctrl-e"]- }- },// Bindings from VS Code{"context": "Editor",@@ -462,12 +455,16 @@{"bindings": {"ctrl-alt-shift-f": "workspace::FollowNextCollaborator",- // TODO: Move this to a dock open action- "ctrl-shift-c": "collab_panel::ToggleFocus","ctrl-alt-i": "zed::DebugElements","ctrl-:": "editor::ToggleInlayHints"}},+ {+ "context": "!Terminal",+ "bindings": {+ "ctrl-shift-c": "collab_panel::ToggleFocus"+ }+ },{"context": "Editor && mode == full","bindings": {@@ -601,12 +598,14 @@"context": "Terminal","bindings": {"ctrl-alt-space": "terminal::ShowCharacterPalette",- "shift-ctrl-c": "terminal::Copy",+ "ctrl-shift-c": "terminal::Copy","ctrl-insert": "terminal::Copy",- "ctrl-a": "editor::SelectAll",- "shift-ctrl-v": "terminal::Paste",+ // "ctrl-a": "editor::SelectAll", // conflicts with readline+ "ctrl-shift-v": "terminal::Paste","shift-insert": "terminal::Paste","ctrl-enter": "assistant::InlineAssist",+ "ctrl-w": ["terminal::SendKeystroke", "ctrl-w"],+ "ctrl-e": ["terminal::SendKeystroke", "ctrl-e"],"up": ["terminal::SendKeystroke", "up"],"pageup": ["terminal::SendKeystroke", "pageup"],"down": ["terminal::SendKeystroke", "down"],