From 2ddc04cd3638c8c370303cad3d6ea9db325454f8 Mon Sep 17 00:00:00 2001 From: TheK4n Date: Sat, 19 Nov 2022 20:02:56 +0300 Subject: [PATCH] neovim: map ,qq to delete buffer, map ,qa to quit all --- sub/vim/vimrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sub/vim/vimrc b/sub/vim/vimrc index 96caa3f..2a70cfc 100644 --- a/sub/vim/vimrc +++ b/sub/vim/vimrc @@ -307,5 +307,6 @@ endfunction nnoremap l :call TabDo('call ToggleRelativeAbsoluteNumber()') +nnoremap qq :bd! " Quick exiting without save -nnoremap qq :qa! +nnoremap qa :qa!