[prev in list] [next in list] [prev in thread] [next in thread] 

List:       vim-dev
Subject:    Patch 6.1.166
From:       Bram Moolenaar <Bram () moolenaar ! net>
Date:       2002-08-28 19:44:49
[Download RAW message or body]


Patch 6.1.166
Problem:    When 'autoindent' is set and mswin.vim has been sourced, pasting
	    with CTRL-V just after auto-indenting removes the indent. (Shlomi
	    Fish)
Solution:   First insert an "x" and delete it again, so that the auto-indent
	    remains.
Files:	    runtime/mswin.vim


*** ../vim61.165/runtime/mswin.vim	Tue Mar  5 21:40:30 2002
--- runtime/mswin.vim	Wed Aug 28 20:59:20 2002
***************
*** 1,7 ****
  " Set options and add mapping such that Vim behaves a lot like MS-Windows
  "
  " Maintainer:	Bram Moolenaar <Bram@vim.org>
! " Last change:	2002 Mar 05
  
  " set the 'cpoptions' to its Vim default
  if 1	" only do this when compiled with expression evaluation
--- 1,7 ----
  " Set options and add mapping such that Vim behaves a lot like MS-Windows
  "
  " Maintainer:	Bram Moolenaar <Bram@vim.org>
! " Last change:	2002 Aug 28
  
  " set the 'cpoptions' to its Vim default
  if 1	" only do this when compiled with expression evaluation
***************
*** 44,50 ****
      normal `^"+gPi
      let &ve = ove
    endfunc
!   imap <C-V>		<Esc><SID>Pastegi
    vmap <C-V>		"-c<Esc><SID>Paste
  else
    nnoremap <silent> <SID>Paste "=@+.'xy'<CR>gPFx"_2x
--- 44,50 ----
      normal `^"+gPi
      let &ve = ove
    endfunc
!   imap <C-V>		x<BS><Esc><SID>Pastegi
    vmap <C-V>		"-c<Esc><SID>Paste
  else
    nnoremap <silent> <SID>Paste "=@+.'xy'<CR>gPFx"_2x
*** ../vim61.165/src/version.c	Sat Aug 24 23:24:51 2002
--- src/version.c	Wed Aug 28 21:04:20 2002
***************
*** 608,609 ****
--- 608,611 ----
  {   /* Add new patch number below this line */
+ /**/
+     166,
  /**/

-- 
ARTHUR:      Who are you?
TALL KNIGHT: We are the Knights Who Say "Ni"!
BEDEVERE:    No!  Not the Knights Who Say "Ni"!
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

 ///  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           ///
 \\\ Lord Of The Rings helps Uganda - http://iccf-holland.org/lotr.html ///
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic