X-Git-Url: https://git.grml.org/?a=blobdiff_plain;f=etc%2Fskel%2F.vimrc;h=cd83d23426e3ef0af31569e8b8598d50c9de9cdc;hb=9c3b6dc030abd09b1ed0660cc27328b2f08f7da7;hp=9da75832f17a889a4026e057ea1381569698d37f;hpb=fdc8e8a0089fc457478464f8cbe4b89a813b27fc;p=grml-etc-core.git diff --git a/etc/skel/.vimrc b/etc/skel/.vimrc index 9da7583..cd83d23 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: Son Apr 01 19:33:19 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,11 @@ " 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 + " Vim 7 brings cool new features - see ':he version7'! " The coolest features of Vim7 by mika " ====================================