[Keybinds] Remove write quit bind
This commit is contained in:
@@ -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>0", ":1tabnext<CR>", opts("Go to previous tab"))
|
||||||
keymap.set("n", "<C-t>$", ":$tabnext<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
|
-- Quit file
|
||||||
keymap.set("n", "Q", ":q!<CR>", opts("quit file"))
|
keymap.set("n", "Q", ":q!<CR>", opts("quit file"))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user