From: Oleg Broytman Date: Tue, 12 Jul 2016 04:31:06 +0000 (+0300) Subject: .vimrc: Use long name for a command X-Git-Url: https://git.phdru.name/?p=dotfiles.git;a=commitdiff_plain;h=c08c70f213d849947c8f436be29092b46d6d82e0 .vimrc: Use long name for a command --- 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