X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=etc%2Fskel%2F.vimrc;h=1f87644640cbcf599ad8fb6b4125de43da75abcc;hb=a835cc7f725a494d0e53d1d5ec080d17cd31d2f1;hp=9da75832f17a889a4026e057ea1381569698d37f;hpb=fdc8e8a0089fc457478464f8cbe4b89a813b27fc;p=grml-etc-core.git diff --git a/etc/skel/.vimrc b/etc/skel/.vimrc index 9da7583..1f87644 100644 --- a/etc/skel/.vimrc +++ b/etc/skel/.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: Mon Jun 05 16:30:29 CEST 2006 [mika] +" Latest change: Sam Jun 30 01:28:53 CEST 2007 [mika] "############################################################################### " Thanks to Sven Guckes for his template! "############################################################################### @@ -15,11 +15,13 @@ " turn these OFF ("no" prefix): set noeb noet nosol " non-toggles: - set bs=2 fo=cqrt ls=2 shm=at tw=72 ww=<,>,h,l + set bs=2 fo=cqrt ls=2 shm=at ww=<,>,h,l +" set bs=2 fo=cqrt ls=2 shm=at tw=72 ww=<,>,h,l set comments=b:#,:%,fb:-,n:>,n:) " set list listchars=tab:»·,trail:· set listchars=eol:$,precedes:«,extends:»,tab:»·,trail:· set viminfo=%,'50,\"100,:100,n~/.viminfo + set tags=./tags,./TAGS,tags,TAGS,../tags,../../tags,../../../tags,../../../../tags " autocommands: " when the file type is "mail" then set the textwidth to "70": @@ -33,6 +35,7 @@ " hi nontext ctermfg=blue ctermbg=black guifg=blue guibg=black " switch on syntax coloring!! "bunt ist meine lieblingsfarbe!" :-) syn on +" set t_Co=256 " number of colors " some useful mappings: set pastetoggle= @@ -72,6 +75,16 @@ " Kill quote spaces (when quoting a quote) map ,kqs mz:%s/^> >/>>/ +" Interface to Mercurial Version Control + if filereadable( "/usr/share/doc/mercurial/examples/vim/hg-menu.vim" ) + source /usr/share/doc/mercurial/examples/vim/hg-menu.vim + endif + +" source local configuration file + if filereadable(expand("$HOME/.vimrc.local")) + source $HOME/.vimrc.local + endif + " Vim 7 brings cool new features - see ':he version7'! " The coolest features of Vim7 by mika " ====================================