Update vimrc: drop the p vmap 0.3.45
authorMichael Prokop <mika@grml.org>
Mon, 24 Dec 2007 20:10:57 +0000 (21:10 +0100)
committerMichael Prokop <mika@grml.org>
Mon, 24 Dec 2007 20:10:57 +0000 (21:10 +0100)
debian/changelog
etc/vim/vimrc

index 4d12e24..0551092 100644 (file)
@@ -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'
index 3ec9b03..4c01be2 100644 (file)
@@ -3,7 +3,7 @@
 " Authors:       grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
 " 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 <Esc>:let current_reg = @"<CR>gvdi<C-R>=current_reg<CR><Esc>
-
 " Vim5 and later versions support syntax highlighting.
 " Just load the main syntax file when Vim was compiled with "+syntax".
   if has("syntax")