From 99344abf956e7ac4eb73e7b765f46086296e5f45 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Mon, 24 Dec 2007 21:10:57 +0100 Subject: [PATCH] Update vimrc: drop the p vmap --- debian/changelog | 6 ++++++ etc/vim/vimrc | 5 +---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/debian/changelog b/debian/changelog index 4d12e24..0551092 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,5 +1,11 @@ grml-etc-core (0.3.45) unstable; urgency=low + [ Michael Prokop ] + * Drop the 'Make p in Visual mode replace the selected text...' from + vimrc. More details available at + http://lists.alioth.debian.org/pipermail/pkg-vim-maintainers/2005-November/001577.html + - thanks for the hint, James Vega! + [ Alexander Steinböck ] * /etc/zsh/zshrc: added bindkeys for navigating by vi keys (hjkl) (disable by default though) as well as 'accept-and-infer-next history' diff --git a/etc/vim/vimrc b/etc/vim/vimrc index 3ec9b03..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: Fre Mär 09 15:33:45 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,9 +46,6 @@ " 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") -- 2.1.4