]> git.phdru.name Git - dotfiles.git/commitdiff
.vimrc: Use long name for a command
authorOleg Broytman <phd@phdru.name>
Tue, 12 Jul 2016 04:31:06 +0000 (07:31 +0300)
committerOleg Broytman <phd@phdru.name>
Tue, 12 Jul 2016 04:31:06 +0000 (07:31 +0300)
.vimrc

diff --git a/.vimrc b/.vimrc
index 88925276d9b817e00f52f7222470d70a860f8a5f..bad48fd4e8def586b5ac01dab21382b489b99f61 100644 (file)
--- 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