nvim: added ZQ back with safety confirmation

master
tiyn 9 months ago
parent 9f70da80e3
commit ef8e6556ab

@ -34,6 +34,7 @@ m.inoremap("<F12>", '<NOP>')
m.nnoremap("<F12>", '<NOP>')
-- shortcuts for quitting
m.nnoremap("ZQ", ':conf q<CR>', 'Exit: quit current buffer')
m.nnoremap("ZZ", ':x<CR>', 'Exit: write and quit current buffer')
m.nnoremap("ZA", ':conf xa<CR>', 'Exit: write and quit all buffers')

Loading…
Cancel
Save