Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
vim: Add some "z" keybindings for scrolling (#18928)
Frank Sheiness5b207ba2385e
diff --git a/assets/keymaps/vim.json b/assets/keymaps/vim.jsonindex f3a088f11e5..fc3adcc95e2 100644--- a/assets/keymaps/vim.json+++ b/assets/keymaps/vim.json@@ -128,6 +128,10 @@"shift-m": "vim::WindowMiddle","shift-l": "vim::WindowBottom",// z commands+ "z enter": ["workspace::SendKeystrokes", "z t ^"],+ "z -": ["workspace::SendKeystrokes", "z b ^"],+ "z ^": ["workspace::SendKeystrokes", "shift-h k z b ^"],+ "z +": ["workspace::SendKeystrokes", "shift-l j z t ^"],"z t": "editor::ScrollCursorTop","z z": "editor::ScrollCursorCenter","z .": ["workspace::SendKeystrokes", "z z ^"],