vim: Add some "z" keybindings for scrolling (#18928)

Release Notes:

- vim: Added a few "z" keybindings for scrolling
This commit is contained in:
Frank Sheiness
2024-10-14 10:00:37 +02:00
committed by GitHub
parent 325f106c8b
commit 5b207ba238
+4
View File
@@ -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 ^"],