Release Notes:
-
Fixed an issue where opening a search without text selected would populate the search query with non-word characters adjacent to the cursor.
-
Added a setting,
seed_search_query_from_cursor
, which controls whether the search query is automatically populated from the buffer when starting a new buffer search or project search.By default, the search query will always be set to the word under the cursor. If you want to only populate the search query when text is selected, you can add the following to your
~/.zed/settings.json
:{ "seed_search_query_from_cursor": "selection" }
If you don't want the search query to be automatically populated, even when there is text selected, add the following:
{ "seed_search_query_from_cursor": "never" }