🔧 Various reconfiguration/scripting

This commit is contained in:
tomit4 2025-08-25 15:25:49 -07:00
parent 8860d36d1b
commit 921f082ffa
4 changed files with 47 additions and 3 deletions

View file

@ -180,3 +180,10 @@ vim.keymap.set("v", "<A-k>", ":m '<-2<CR>gv=gv")
-- vim.api.nvim_set_keymap("n", "p", "o<Esc>p", { noremap = true, silent = true })
-- above
-- vim.api.nvim_set_keymap("n", "P", "O<Esc>P", { noremap = true, silent = true })
--
-- sets 'gx' to open with default browser
vim.keymap.set("n", "gx", function()
local url = vim.fn.expand("<cfile>")
vim.system({ "librewolf", url }, { detach = true })
end, { silent = true })