refactor(nvim): remove sudo write function

This commit is contained in:
Price Hiller 2023-09-15 07:18:00 -05:00
parent 7266dc2fa8
commit ccb8d9dcbc
No known key found for this signature in database

View File

@ -79,9 +79,6 @@ M.setup = function()
vim.opt.relativenumber = not vim.opt.relativenumber:get()
end, { silent = true, desc = "Toggle Relativenumber" })
-- Sudo Write
vim.keymap.set("c", "w!!", "w !sudo tee > /dev/null %", { silent = true, desc = "Write as Sudo" })
-- Terminal mappings
vim.keymap.set("t", [[<C-\>]], [[<C-\><C-n>]], { silent = true })