Check for existing issues
Describe the bug / provide steps to reproduce it
In Vim mode any actions that selects a block of text unexpectedly enters visual mode on next navigation with h, j, k, or l. Interestingly navigating via the arrow keys does not cause this issue.
Reproduction:
- Select a block of text either with the mouse, or navigation commands such as
gd (go to definition).
- Attempt to move the cursor via h, j, k, or l. The text block will continue to expand.
- Navigating with up, down, left, or right will clear the selection but on the next navigation via h, j, k, or l the selection will start again from the current cursor.
- Navigate again with i, j, k, l and a new visual selection will be started.
This is unexpected particularly in the "jump to definition" case as even when closing the new window containing an external definition you're now selecting a visual range.
It is also unexpected that arrow key navigation clears any selection but i, j, k, or l navigation will start a new selected text range.
Environment
Zed: v0.78.1 (stable)
OS: macOS 13.2.0
Memory: 16 GiB
Architecture: aarch64
If applicable, add mockups / screenshots to help explain present your vision of the feature
No response
If applicable, attach your ~/Library/Logs/Zed/Zed.log file to this issue.
If you only need the most recent lines, you can run the zed: open log command palette action to see the last 1000.
No response
Check for existing issues
Describe the bug / provide steps to reproduce it
In Vim mode any actions that selects a block of text unexpectedly enters visual mode on next navigation with h, j, k, or l. Interestingly navigating via the arrow keys does not cause this issue.
Reproduction:
gd(go to definition).This is unexpected particularly in the "jump to definition" case as even when closing the new window containing an external definition you're now selecting a visual range.
It is also unexpected that arrow key navigation clears any selection but i, j, k, or l navigation will start a new selected text range.
Environment
Zed: v0.78.1 (stable)
OS: macOS 13.2.0
Memory: 16 GiB
Architecture: aarch64
If applicable, add mockups / screenshots to help explain present your vision of the feature
No response
If applicable, attach your
~/Library/Logs/Zed/Zed.logfile to this issue.If you only need the most recent lines, you can run the
zed: open logcommand palette action to see the last 1000.No response