From ccb8d9dcbc5ef3e8ea3e15c212536d40060062e4 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Fri, 15 Sep 2023 07:18:00 -0500 Subject: [PATCH] refactor(nvim): remove sudo write function --- dots/.config/nvim/lua/core/mappings.lua | 3 --- 1 file changed, 3 deletions(-) diff --git a/dots/.config/nvim/lua/core/mappings.lua b/dots/.config/nvim/lua/core/mappings.lua index b25036e4..4b0b8c06 100755 --- a/dots/.config/nvim/lua/core/mappings.lua +++ b/dots/.config/nvim/lua/core/mappings.lua @@ -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", [[]], [[]], { silent = true })