[Keybinds] Remove write quit bind

This commit is contained in:
2026-03-16 09:44:15 +01:00
parent d8621e4a5e
commit 90f9fdd8e2

View File

@@ -32,10 +32,6 @@ keymap.set("n", "<C-t>h", ":-tabnext<CR>", opts("Go to previous tab"))
keymap.set("n", "<C-t>0", ":1tabnext<CR>", opts("Go to previous tab"))
keymap.set("n", "<C-t>$", ":$tabnext<CR>", opts("Go to previous tab"))
-- Save and quit (sudo and no sudo)
keymap.set("n", "E", ":wq!<CR>", opts("write and quit file"))
keymap.set("n", "<leader>E", ":lua require('utils').sudo_write()<CR>:q!<CR>", opts("sudo write and quit file"))
-- Quit file
keymap.set("n", "Q", ":q!<CR>", opts("quit file"))