]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
vimrc: Write out commands.
authorSimon Ruderich <simon@ruderich.org>
Fri, 15 Oct 2010 14:12:29 +0000 (16:12 +0200)
committerSimon Ruderich <simon@ruderich.org>
Fri, 15 Oct 2010 14:12:29 +0000 (16:12 +0200)
vimrc

diff --git a/vimrc b/vimrc
index d5496e6f7cd53872212cbe844ecae6f96618ff31..e7fc77fdfc3536e06033ddf7c1d665aa602c1260 100644 (file)
--- a/vimrc
+++ b/vimrc
@@ -7,7 +7,7 @@
 " instead. Thanks to godlygeek in #vim on Freenode (2009-06-19 22:21).
 if $HOME == '/root' || exists('$SUDO_USER')
     echomsg 'Running as root is forbidden! Use sudoedit.'
-    qa
+    qall
 endif