Warning!

Notice: the grml team is migrating from Mercurial to Git.
Please visit git.grml.org instead!

Update vimrc: drop the p vmap
authorMichael Prokop <mika@grml.org>
Mon Dec 24 21:10:57 2007 +0100 (11 months ago)
changeset 35210f9529b5d6e
manifest10f9529b5d6e
parent 3511e035008cdfe
child 353318d5223c270
tag0.3.45
Update vimrc: drop the p vmap
debian/changelog
etc/vim/vimrc
--- a/debian/changelog Sat Dec 22 19:20:06 2007 +0100
+++ b/debian/changelog Mon Dec 24 21:10:57 2007 +0100
@@ -1,4 +1,10 @@ grml-etc-core (0.3.45) unstable; urgency
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)
--- a/etc/vim/vimrc Sat Dec 22 19:20:06 2007 +0100
+++ b/etc/vim/vimrc Mon Dec 24 21:10:57 2007 +0100
@@ -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
@@ -45,9 +45,6 @@
" Suffixes that get lower priority when doing tab completion for filenames.
" 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".