DuckDuckGo is already set as the default search engine, no need to specify it again in the key map.
22 lines
389 B
Lua
22 lines
389 B
Lua
return {
|
|
"tyru/open-browser.vim",
|
|
|
|
cmd = {
|
|
"OpenBrowser",
|
|
"OpenBrowserSearch",
|
|
"OpenBrowserSmartSearch",
|
|
},
|
|
|
|
keys = {
|
|
{
|
|
"<leader>o",
|
|
"<Plug>(openbrowser-smart-search)",
|
|
desc = " [o]pen URL under cursor or search the web",
|
|
mode = { "n", "v" },
|
|
},
|
|
},
|
|
|
|
init = function()
|
|
vim.g.openbrowser_default_search = "duckduckgo"
|
|
end,
|
|
}
|