refactor(nvim): remove sudo write function
This commit is contained in:
parent
7266dc2fa8
commit
ccb8d9dcbc
@ -79,9 +79,6 @@ M.setup = function()
|
|||||||
vim.opt.relativenumber = not vim.opt.relativenumber:get()
|
vim.opt.relativenumber = not vim.opt.relativenumber:get()
|
||||||
end, { silent = true, desc = "Toggle Relativenumber" })
|
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
|
-- Terminal mappings
|
||||||
vim.keymap.set("t", [[<C-\>]], [[<C-\><C-n>]], { silent = true })
|
vim.keymap.set("t", [[<C-\>]], [[<C-\><C-n>]], { silent = true })
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user