Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

linux: Forward ctrl-w/ctrl-e to terminal (#13263)

Thorsten Ballaff7a83815bd
diff --git a/assets/keymaps/default-linux.json b/assets/keymaps/default-linux.json
index 3befd2b671f..ef8c6a0b261 100644
--- a/assets/keymaps/default-linux.json
+++ b/assets/keymaps/default-linux.json
@@ -296,6 +296,13 @@
"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",