/etc/vim/vimrc: set nocompatible even though it is set via 0.1-33
authorMichael Prokop <mika@grml.org>
Sun, 19 Nov 2006 14:30:05 +0000 (15:30 +0100)
committerMichael Prokop <mika@grml.org>
Sun, 19 Nov 2006 14:30:05 +0000 (15:30 +0100)
debian.vim, just to make sure we have nocompatible also on
older vim versions.

debian/changelog
etc/vim/vimrc

index a433a45..f607980 100644 (file)
@@ -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 <mika@grml.org>  Sun, 19 Nov 2006 14:45:25 +0100
 
index c40a521..5cac7a6 100644 (file)
@@ -3,7 +3,7 @@
 " Authors:       grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
 " 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
 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