X-Git-Url: https://git.grml.org/?a=blobdiff_plain;f=etc%2Fvim%2Fvimrc;h=4c01be2cf9f53a8318add50cfd62ca5fde7a57a0;hb=99344abf956e7ac4eb73e7b765f46086296e5f45;hp=020ba515b1ae3235587610148091bd051c6a365f;hpb=abb5f0d01ea0b935b13530ea3d40a7e881cc93d8;p=grml-etc-core.git diff --git a/etc/vim/vimrc b/etc/vim/vimrc index 020ba51..4c01be2 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: Sam Feb 10 11:07:20 CET 2007 [mika] +" Latest change: Mon Dez 24 21:07:04 CET 2007 [mika] """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " All system-wide defaults are set in $VIMRUNTIME/debian.vim (usually just @@ -46,14 +46,11 @@ " These are files we are not likely to want to edit or read. set suffixes=.bak,~,.swp,.o,.info,.aux,.log,.dvi,.bbl,.blg,.brf,.cb,.ind,.idx,.ilg,.inx,.out,.toc -" 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. " Just load the main syntax file when Vim was compiled with "+syntax". if has("syntax") syntax on - fi + endif " Debian uses compressed helpfiles. We must inform vim that the main " helpfiles is compressed. Other helpfiles are stated in the tags-file. @@ -93,6 +90,7 @@ " When switching between different buffers you can't use undo without 'set hidden': set hidden " Hide buffers when they are abandoned " set mouse=a " Enable mouse usage (all modes) in terminals + set wildmenu " command-line completion operates in an enhanced mode set pastetoggle= " don't change text when copy/pasting set dictionary=/usr/share/dict/word " used with CTRL-X CTRL-K