X-Git-Url: https://git.grml.org/?a=blobdiff_plain;f=etc%2Fskel%2F.vimrc;h=62485df5368322a942c3ab86926267f0d031702e;hb=refs%2Ftags%2F0.3.43;hp=9da75832f17a889a4026e057ea1381569698d37f;hpb=fdc8e8a0089fc457478464f8cbe4b89a813b27fc;p=grml-etc-core.git diff --git a/etc/skel/.vimrc b/etc/skel/.vimrc index 9da7583..62485df 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: Don Jul 19 00:02:50 CEST 2007 [mika] "############################################################################### " Thanks to Sven Guckes for his template! "############################################################################### @@ -12,14 +12,17 @@ set nocp " turn these ON: set digraph ek hidden ruler sc vb wmnu +" set digraph " 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 +36,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 +76,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 " ====================================