From c08c70f213d849947c8f436be29092b46d6d82e0 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Tue, 12 Jul 2016 07:31:06 +0300 Subject: [PATCH] .vimrc: Use long name for a command --- .vimrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.vimrc b/.vimrc index 8892527..bad48fd 100644 --- a/.vimrc +++ b/.vimrc @@ -272,7 +272,7 @@ if version >= 700 " Save all files before running any quickfix command (grep, makeprg, etc.) autocmd QuickFixCmdPre * wall " automatically close quickfix if it's the only window left -autocmd WinEnter * if winnr('$') == 1 && &buftype == "quickfix" | q | endif +autocmd WinEnter * if winnr('$') == 1 && &buftype == "quickfix" | quit | endif endif " Syntax highlighting -- 2.39.5