You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Search for your word dolor and hit enter. You will jump to the first match in the same line.
Jump to beginning of the line (^)
Press / to open the search again
Search for your word dolor and hit enter. This time you land at the second match and skip the first one.
This is especially inconvenient if you try to use vim commands like c/<word>. If you did it for the same word before you might just skip the intended match. I expected the search to be reset when pressing / again. I also tried this setup in neovim and it is not skipping the first match in this scenario.
Screen.Recording.2024-11-27.at.10.34.20.mov
(I am not 100% sure if this is a bug or just a feature that I am misunderstanding. Please just close it if not valid)
Check for existing issues
Describe the bug / provide steps to reproduce it
Steps to reproduce:
/
to open the searchdolor
and hitenter
. You will jump to the first match in the same line.^
)/
to open the search againdolor
and hitenter
. This time you land at the second match and skip the first one.This is especially inconvenient if you try to use vim commands like
c/<word>
. If you did it for the same word before you might just skip the intended match. I expected the search to be reset when pressing/
again. I also tried this setup in neovim and it is not skipping the first match in this scenario.Screen.Recording.2024-11-27.at.10.34.20.mov
(I am not 100% sure if this is a bug or just a feature that I am misunderstanding. Please just close it if not valid)
Environment
Zed: v0.163.2 (Zed Preview)
OS: macOS 14.7.1
Memory: 32 GiB
Architecture: x86_64
If applicable, add mockups / screenshots to help explain present your vision of the feature
No response
If applicable, attach your Zed.log file to this issue.
Zed.log
The text was updated successfully, but these errors were encountered: