zed-industries / zed

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
https://zed.dev
Other
49.05k stars 2.96k forks source link

Vim Mode "/" searching. Wrap search on end of file disable. #13417

Open shariqwaseem opened 4 months ago

shariqwaseem commented 4 months ago

Check for existing issues

Describe the feature

Love your work! One thing I'm greatly missing. There should be a an option to disable wrap to start when the search reaches end of file while using "n" keystroke. In VSCode, this option can be disabled using:

"vim.wrapscan": false

There should be a similar option in Zed.

If applicable, add mockups / screenshots to help present your vision of the feature

No response

weartist commented 4 months ago

I wrote this feature in vim mode, but have a doubt as to whether this feature should be limited to vim, and perhaps make it suitable for all cases of search if needed