r412 - in trunk/vim/debian: . runtime

James Vega jamessan-guest at costa.debian.org
Mon Nov 21 13:15:54 UTC 2005


Author: jamessan-guest
Date: 2005-11-21 13:15:53 +0000 (Mon, 21 Nov 2005)
New Revision: 412

Modified:
   trunk/vim/debian/changelog
   trunk/vim/debian/runtime/vimrc
Log:
Remove the 'p' vmap since it has undesirable side effects, such as not being
able to paste from a register.


Modified: trunk/vim/debian/changelog
===================================================================
--- trunk/vim/debian/changelog	2005-11-18 21:42:38 UTC (rev 411)
+++ trunk/vim/debian/changelog	2005-11-21 13:15:53 UTC (rev 412)
@@ -26,8 +26,11 @@
     (closes: #338557)
   * Fixed patch 304_memline.c.diff to avoid inifinte loops resolving
     symlinks. (closes: #336560)
+  * Remove the 'p' vmap in /etc/vim/vimrc since it has various bad
+    side-effects such as not being able to paste from a register while
+    in visual mode.
 
- -- Debian VIM Maintainers <pkg-vim-maintainers at lists.alioth.debian.org>  Fri, 11 Nov 2005 14:09:24 -0500
+ -- Debian VIM Maintainers <pkg-vim-maintainers at lists.alioth.debian.org>  Sat, 19 Nov 2005 23:32:49 -0500
 
 vim (1:6.4-001+2) unstable; urgency=low
 

Modified: trunk/vim/debian/runtime/vimrc
===================================================================
--- trunk/vim/debian/runtime/vimrc	2005-11-18 21:42:38 UTC (rev 411)
+++ trunk/vim/debian/runtime/vimrc	2005-11-21 13:15:53 UTC (rev 412)
@@ -6,10 +6,10 @@
 set nocompatible	" Use Vim defaults instead of 100% vi compatibility
 set backspace=indent,eol,start	" more powerful backspacing
 
-" Now we set some defaults for the editor 
+" Now we set some defaults for the editor
 set autoindent		" always set autoindenting on
 " set linebreak		" Don't wrap words by default
-set textwidth=0		" Don't wrap lines by default 
+set textwidth=0		" Don't wrap lines by default
 set viminfo='20,\"50	" read/write a .viminfo file, don't store more than
 			" 50 lines of registers
 set history=50		" keep 50 lines of command line history
@@ -26,9 +26,6 @@
   set t_Sb=[4%dm
 endif
 
-" 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. Uncommenting the next
 " line enables syntax highlighting by default.
 " syntax on




More information about the pkg-vim-maintainers mailing list