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.

terminal: Bind Alt+F4 to Close Window in the terminal keymap (#53091)

Saketh2b29d00e2c3d
diff --git a/assets/keymaps/default-windows.json b/assets/keymaps/default-windows.json
index 8651bfbe3b4..8d60a68dbc2 100644
--- a/assets/keymaps/default-windows.json
+++ b/assets/keymaps/default-windows.json
@@ -1226,6 +1226,7 @@
"ctrl-delete": ["terminal::SendText", "\u001bd"],
"ctrl-n": "workspace::NewTerminal",
// Overrides for conflicting keybindings
+ "alt-f4": "workspace::CloseWindow",
"ctrl-b": ["terminal::SendKeystroke", "ctrl-b"],
"ctrl-c": ["terminal::SendKeystroke", "ctrl-c"],
"ctrl-e": ["terminal::SendKeystroke", "ctrl-e"],