Karsten Hopp a8e6dc
To: vim-dev@vim.org
Karsten Hopp a8e6dc
Subject: Patch 7.0.033
Karsten Hopp a8e6dc
Fcc: outbox
Karsten Hopp a8e6dc
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp a8e6dc
Mime-Version: 1.0
Karsten Hopp a8e6dc
Content-Type: text/plain; charset=ISO-8859-1
Karsten Hopp a8e6dc
Content-Transfer-Encoding: 8bit
Karsten Hopp a8e6dc
------------
Karsten Hopp a8e6dc
Karsten Hopp a8e6dc
Patch 7.0.033
Karsten Hopp a8e6dc
Problem:    When pasting text, with the menu or CTRL-V, autoindent is removed.
Karsten Hopp a8e6dc
Solution:   Use "x<BS>" to avoid indent to be removed. (Benji Fisher)
Karsten Hopp a8e6dc
Files:	    runtime/autoload/paste.vim
Karsten Hopp a8e6dc
Karsten Hopp a8e6dc
Karsten Hopp a8e6dc
*** ../vim-7.0.032/runtime/autoload/paste.vim	Fri Apr 21 23:57:39 2006
Karsten Hopp a8e6dc
--- runtime/autoload/paste.vim	Fri Jun 23 17:18:48 2006
Karsten Hopp a8e6dc
***************
Karsten Hopp a8e6dc
*** 1,6 ****
Karsten Hopp a8e6dc
  " Vim support file to help with paste mappings and menus
Karsten Hopp a8e6dc
  " Maintainer:	Bram Moolenaar <Bram@vim.org>
Karsten Hopp a8e6dc
! " Last Change:	2006 Apr 21
Karsten Hopp a8e6dc
  
Karsten Hopp a8e6dc
  " Define the string to use for items that are present both in Edit, Popup and
Karsten Hopp a8e6dc
  " Toolbar menu.  Also used in mswin.vim and macmap.vim.
Karsten Hopp a8e6dc
--- 1,6 ----
Karsten Hopp a8e6dc
  " Vim support file to help with paste mappings and menus
Karsten Hopp a8e6dc
  " Maintainer:	Bram Moolenaar <Bram@vim.org>
Karsten Hopp a8e6dc
! " Last Change:	2006 Jun 23
Karsten Hopp a8e6dc
  
Karsten Hopp a8e6dc
  " Define the string to use for items that are present both in Edit, Popup and
Karsten Hopp a8e6dc
  " Toolbar menu.  Also used in mswin.vim and macmap.vim.
Karsten Hopp a8e6dc
***************
Karsten Hopp a8e6dc
*** 12,18 ****
Karsten Hopp a8e6dc
  if has("virtualedit")
Karsten Hopp a8e6dc
    let paste#paste_cmd = {'n': ":call paste#Paste()<CR>"}
Karsten Hopp a8e6dc
    let paste#paste_cmd['v'] = '"-c<Esc>' . paste#paste_cmd['n']
Karsten Hopp a8e6dc
!   let paste#paste_cmd['i'] = '<Esc>' . paste#paste_cmd['n'] . 'gi'
Karsten Hopp a8e6dc
  
Karsten Hopp a8e6dc
    func! paste#Paste()
Karsten Hopp a8e6dc
      let ove = &ve
Karsten Hopp a8e6dc
--- 12,18 ----
Karsten Hopp a8e6dc
  if has("virtualedit")
Karsten Hopp a8e6dc
    let paste#paste_cmd = {'n': ":call paste#Paste()<CR>"}
Karsten Hopp a8e6dc
    let paste#paste_cmd['v'] = '"-c<Esc>' . paste#paste_cmd['n']
Karsten Hopp a8e6dc
!   let paste#paste_cmd['i'] = 'x<BS><Esc>' . paste#paste_cmd['n'] . 'gi'
Karsten Hopp a8e6dc
  
Karsten Hopp a8e6dc
    func! paste#Paste()
Karsten Hopp a8e6dc
      let ove = &ve
Karsten Hopp a8e6dc
*** ../vim-7.0.032/src/version.c	Fri Jun 23 16:44:32 2006
Karsten Hopp a8e6dc
--- src/version.c	Fri Jun 23 17:18:56 2006
Karsten Hopp a8e6dc
***************
Karsten Hopp a8e6dc
*** 668,669 ****
Karsten Hopp a8e6dc
--- 668,671 ----
Karsten Hopp a8e6dc
  {   /* Add new patch number below this line */
Karsten Hopp a8e6dc
+ /**/
Karsten Hopp a8e6dc
+     33,
Karsten Hopp a8e6dc
  /**/
Karsten Hopp a8e6dc
Karsten Hopp a8e6dc
-- 
Karsten Hopp a8e6dc
Yesterday, all my deadlines seemed so far away
Karsten Hopp a8e6dc
now it looks as though it's freeze in four days
Karsten Hopp a8e6dc
oh I believe in cvs..
Karsten Hopp a8e6dc
    [ CVS log "Beatles style" for FreeBSD ports/INDEX, Satoshi Asami ]
Karsten Hopp a8e6dc
Karsten Hopp a8e6dc
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp a8e6dc
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp a8e6dc
\\\        download, build and distribute -- http://www.A-A-P.org        ///
Karsten Hopp a8e6dc
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///