From ef8e6556abb2de5d1c500da5dac19b45671ff1ff Mon Sep 17 00:00:00 2001 From: tiyn Date: Mon, 1 Apr 2024 03:40:29 +0200 Subject: [PATCH] nvim: added ZQ back with safety confirmation --- .config/nvim/lua/keymap.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/.config/nvim/lua/keymap.lua b/.config/nvim/lua/keymap.lua index 8614502..6bbc275 100644 --- a/.config/nvim/lua/keymap.lua +++ b/.config/nvim/lua/keymap.lua @@ -34,6 +34,7 @@ m.inoremap("", '') m.nnoremap("", '') -- shortcuts for quitting +m.nnoremap("ZQ", ':conf q', 'Exit: quit current buffer') m.nnoremap("ZZ", ':x', 'Exit: write and quit current buffer') m.nnoremap("ZA", ':conf xa', 'Exit: write and quit all buffers')