X-Git-Url: https://git.grml.org/?a=blobdiff_plain;f=etc%2Fvim%2Fvimrc;h=838cacc15e9361e302be2f7bb5ec8150afdf7516;hb=b285a6913f2b2f80d51d70b57bfe0a659903e2e2;hp=5cac7a69bb91c9bbc5de8d773d3e8b67c38bfa4c;hpb=08f61f2b8ff41f131e4d71dccfeddc7cd27474a0;p=grml-etc-core.git diff --git a/etc/vim/vimrc b/etc/vim/vimrc index 5cac7a6..838cacc 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 Nov 19 15:26:34 CET 2006 [mika] +" Latest change: Fre Feb 09 14:32:09 CET 2007 [mika] """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " All system-wide defaults are set in $VIMRUNTIME/debian.vim (usually just @@ -48,9 +48,11 @@ set suffixes=.bak,~,.swp,.o,.info,.aux,.log,.dvi,.bbl,.blg,.brf,.cb,.ind,.idx,.i " Make p in Visual mode replace the selected text with the "" register. vnoremap p :let current_reg = @"gvdi=current_reg -" Vim5 and later versions support syntax highlighting. Uncommenting the next -" line enables syntax highlighting by default. -syntax on +" Vim5 and later versions support syntax highlighting. +" Just load the main syntax file when Vim was compiled with "+syntax". + if has("syntax") + syntax on + fi " Debian uses compressed helpfiles. We must inform vim that the main " helpfiles is compressed. Other helpfiles are stated in the tags-file.