updates
This commit is contained in:
1 parent
34ffac5b30
commit
ca2368ee2b
14 files changed
+168
-43
No files matched your search
@@ -6,8 +6,9 @@ local map = vim.keymap.set
|
||||
local Util = require("lazyvim.util")
|
||||
|
||||
-- Search current word
|
||||
-- stylua: ignore
|
||||
local searching_brave = [[:lua vim.fn.system({'xdg-open', 'https://search.brave.com/search?q=' .. vim.fn.expand("<cword>")})<CR>]]
|
||||
local searching_brave = function()
|
||||
vim.fn.system({ "xdg-open", "https://search.brave.com/search?q=" .. vim.fn.expand("<cword>") })
|
||||
end
|
||||
map("n", "<leader>?", searching_brave, { noremap = true, silent = true, desc = "Search current word on brave search" })
|
||||
|
||||
-- Toggle background
|
||||
|
||||
Reference in new issue
Block a user