Feature Request: Multi-Step Window Navigation Commands #34104
balljul
started this conversation in
Ideas From Vim
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Current Behavior:
Zed currently supports single-step window navigation (e.g., wh to move one window left, wl to move one window right). To navigate multiple windows in a direction, users must repeat the command multiple times.
Requested Feature:
Add support for numeric prefixes in window navigation commands to allow jumping multiple windows at once. For example:
w2h - jump 2 windows to the left
w3l - jump 3 windows to the right
w4k - jump 4 windows up
w2j - jump 2 windows down
Use Case:
When working with multiple split windows or panes, users often need to navigate across several windows quickly.
The current approach requires multiple keystrokes (e.g., wl → wl to move 2 windows right), which is inefficient and interrupts the workflow.
This feature would provide parity with NeoVim's window navigation and improve productivity for users who make use of multiple windows.
Expected Behavior:
The numeric prefix should specify the number of steps to move in the given direction. If the number exceeds available windows in that direction, the cursor should move to the furthest possible window in that direction.
Beta Was this translation helpful? Give feedback.
All reactions