From: Simon Ruderich Date: Wed, 10 Mar 2010 17:51:00 +0000 (+0100) Subject: vimrc: Reset all options on startup. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=e4f99a9615bea7fbcba11e7e1de5a979c41211ef;p=config%2Fdotfiles.git vimrc: Reset all options on startup. --- diff --git a/vimrc b/vimrc index 2823246..566c95f 100644 --- a/vimrc +++ b/vimrc @@ -10,6 +10,11 @@ if $HOME == '/root' || exists('$SUDO_USER') qa endif + +" Reset all options (except 'term, 'lines' and 'columns'). This makes sure a +" system wide configuration file doesn't change default values. +set all& + " Make sure Vim (and not Vi) settings are used. set nocompatible