From 8b5ef2558bd305e958a88b870ca5806289f8a027 Mon Sep 17 00:00:00 2001 From: Devzeth <47153906+devzeth@users.noreply.github.com> Date: Sun, 2 Mar 2025 07:46:22 +0100 Subject: [PATCH] docs: Add documentation for Seed search query from cursor (#25875) Missing documentation added for `seed_search_query_from_cursor`. Release Notes: - N/A --- docs/src/configuring-zed.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/src/configuring-zed.md b/docs/src/configuring-zed.md index 1dcfac17a99401e4dfed4bce5c2053cbc06b43e9..d1b9ca2bb2f0f46f496d40d99d7b0f38cf3b8ce7 100644 --- a/docs/src/configuring-zed.md +++ b/docs/src/configuring-zed.md @@ -1779,6 +1779,18 @@ Or to set a `socks5` proxy: }, ``` +## Seed Search Query From Cursor + +- Description: When to populate a new search's query based on the text under the cursor. +- Setting: `seed_search_query_from_cursor` +- Default: `always` + +**Options** + +1. `always` always populate the search query with the word under the cursor +2. `selection` only populate the search query when there is text selected +3. `never` never populate the search query + ## Use Smartcase Search - Description: When enabled, automatically adjusts search case sensitivity based on your query. If your search query contains any uppercase letters, the search becomes case-sensitive; if it contains only lowercase letters, the search becomes case-insensitive. \