From e4f99a9615bea7fbcba11e7e1de5a979c41211ef Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Wed, 10 Mar 2010 18:51:00 +0100 Subject: [PATCH] vimrc: Reset all options on startup. --- vimrc | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.45.2