Update Split bindings in terminal (#29188)
Conrad Irwin
created 8 months ago
Closes #29087
Release Notes:
- Changed default bindings for splitting terminals from `ctrl-k
{up,down,left,right}` to `ctrl-alt-{up,down,left,right}`. `ctrl-k` is
used by Readline to cut to the end of the line.
Change summary
assets/keymaps/default-macos.json | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
Detailed changes
@@ -1028,10 +1028,10 @@
// Using `ctrl-shift-space` in Zed requires disabling the macOS global shortcut.
// System Preferences->Keyboard->Keyboard Shortcuts->Input Sources->Select the previous input source (uncheck)
"ctrl-shift-space": "terminal::ToggleViMode",
- "ctrl-k up": "pane::SplitUp",
- "ctrl-k down": "pane::SplitDown",
- "ctrl-k left": "pane::SplitLeft",
- "ctrl-k right": "pane::SplitRight"
+ "ctrl-alt-up": "pane::SplitUp",
+ "ctrl-alt-down": "pane::SplitDown",
+ "ctrl-alt-left": "pane::SplitLeft",
+ "ctrl-alt-right": "pane::SplitRight"
}
},
{