From cc60a9590c91b0aa7acffa386062869bd11bb871 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Sun, 19 Nov 2006 15:30:05 +0100 Subject: [PATCH] /etc/vim/vimrc: set nocompatible even though it is set via debian.vim, just to make sure we have nocompatible also on older vim versions. --- debian/changelog | 3 +++ etc/vim/vimrc | 7 +++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index a433a45..f607980 100644 --- a/debian/changelog +++ b/debian/changelog @@ -5,6 +5,9 @@ grml-etc-core (0.1-33) unstable; urgency=low * Small fix in debian/preinst to prevent overwriting from original files when diverting several times (again: please report any problems you notice). + * /etc/vim/vimrc: 'set nocompatible' even though it's set via + debian.vim, just to make sure we have nocompatible also on + older vim versions. -- Michael Prokop Sun, 19 Nov 2006 14:45:25 +0100 diff --git a/etc/vim/vimrc b/etc/vim/vimrc index c40a521..5cac7a6 100644 --- a/etc/vim/vimrc +++ b/etc/vim/vimrc @@ -3,7 +3,7 @@ " Authors: grml-team (grml.org), (c) Michael Prokop " Bug-Reports: see http://grml.org/bugs/ " License: This file is licensed under the GPL v2. -" Latest change: Son Mai 28 01:26:49 CEST 2006 [mika] +" Latest change: Son Nov 19 15:26:34 CET 2006 [mika] """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " All system-wide defaults are set in $VIMRUNTIME/debian.vim (usually just @@ -20,7 +20,10 @@ runtime! debian.vim " Uncomment the next line to make Vim more Vi-compatible -" NOTE: debian.vim sets 'nocompatible'. Setting 'compatible' changes numerous +" NOTE: debian.vim sets 'nocompatible', but only if debian.vim is available, +" so let's make sure we run in nocompatible mode: +set nocompatible +" Setting 'compatible' changes numerous " options, so any other options should be set AFTER setting 'compatible'. "set compatible -- 2.1.4