To: vim-dev@vim.org Subject: Patch 6.1.082 Fcc: outbox From: Bram Moolenaar MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit ------------ Patch 6.1.082 Problem: On MS-Windows the vimrc_example.vim script is sourced and then mswin.vim. This enables using select mode, but since "p" is mapped it doesn't replace the selection. Solution: Remove the mapping of "p" from vimrc_example.vim, it's obsolete. (Vlad Sandrini) Files: runtime/vimrc_example.vim *** ../vim61.081/runtime/vimrc_example.vim Wed Jul 18 21:59:50 2001 --- runtime/vimrc_example.vim Tue May 28 16:58:19 2002 *************** *** 1,7 **** " An example for a vimrc file. " " Maintainer: Bram Moolenaar ! " Last change: 2001 Jul 18 " " To use it, copy it to " for Unix and OS/2: ~/.vimrc --- 1,7 ---- " An example for a vimrc file. " " Maintainer: Bram Moolenaar ! " Last change: 2002 May 28 " " To use it, copy it to " for Unix and OS/2: ~/.vimrc *************** *** 38,46 **** " Don't use Ex mode, use Q for formatting map Q gq - " Make p in Visual mode replace the selected text with the "" register. - vnoremap p :let current_reg = @"gvs=current_reg - " This is an alternative that also works in block mode, but the deleted " text is lost and it only works for putting the current register. "vnoremap p "_dp --- 38,43 ---- *** ../vim61.081/src/version.c Mon May 20 21:53:16 2002 --- src/version.c Tue May 28 17:00:31 2002 *************** *** 608,609 **** --- 608,611 ---- { /* Add new patch number below this line */ + /**/ + 82, /**/ -- hundred-and-one symptoms of being an internet addict: 71. You wonder how people walk /// Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net \\\ /// Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim \\\ \\\ Project leader for A-A-P -- http://www.a-a-p.org /// \\\ Help me helping AIDS orphans in Uganda - http://iccf-holland.org ///