diff --git a/README.md b/README.md index e57498b..fee829c 100644 --- a/README.md +++ b/README.md @@ -76,7 +76,7 @@ require("lazy").setup({ }, }, handler_options = { - search_engine = "google", -- you can select between google, bing, duckduckgo, and ecosia + search_engine = "google", -- you can select between google, bing, duckduckgo, ecosia and yandex search_engine = "https://search.brave.com/search?q=", -- or you can pass in a custom search engine select_for_search = false, -- if your cursor is e.g. on a link, the pattern for the link AND for the word will always match. This disables this behaviour for default so that the link is opened without the select option for the word AND link diff --git a/lua/gx/helper.lua b/lua/gx/helper.lua index 95d83cd..d957922 100644 --- a/lua/gx/helper.lua +++ b/lua/gx/helper.lua @@ -127,6 +127,7 @@ function M.get_search_url_from_engine(engine) bing = "https://www.bing.com/search?q=", duckduckgo = "https://duckduckgo.com/?q=", ecosia = "https://www.ecosia.org/search?q=", + yandex = "https://ya.ru/search?text=", } if search_url[engine] == nil then return engine