home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / patches / 7.0 / 7.0.033 < prev    next >
Encoding:
Internet Message Format  |  2006-06-22  |  2.4 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 7.0.033
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. Mime-Version: 1.0
  6. Content-Type: text/plain; charset=ISO-8859-1
  7. Content-Transfer-Encoding: 8bit
  8. ------------
  9.  
  10. Patch 7.0.033
  11. Problem:    When pasting text, with the menu or CTRL-V, autoindent is removed.
  12. Solution:   Use "x<BS>" to avoid indent to be removed. (Benji Fisher)
  13. Files:        runtime/autoload/paste.vim
  14.  
  15.  
  16. *** ../vim-7.0.032/runtime/autoload/paste.vim    Fri Apr 21 23:57:39 2006
  17. --- runtime/autoload/paste.vim    Fri Jun 23 17:18:48 2006
  18. ***************
  19. *** 1,6 ****
  20.   " Vim support file to help with paste mappings and menus
  21.   " Maintainer:    Bram Moolenaar <Bram@vim.org>
  22. ! " Last Change:    2006 Apr 21
  23.   
  24.   " Define the string to use for items that are present both in Edit, Popup and
  25.   " Toolbar menu.  Also used in mswin.vim and macmap.vim.
  26. --- 1,6 ----
  27.   " Vim support file to help with paste mappings and menus
  28.   " Maintainer:    Bram Moolenaar <Bram@vim.org>
  29. ! " Last Change:    2006 Jun 23
  30.   
  31.   " Define the string to use for items that are present both in Edit, Popup and
  32.   " Toolbar menu.  Also used in mswin.vim and macmap.vim.
  33. ***************
  34. *** 12,18 ****
  35.   if has("virtualedit")
  36.     let paste#paste_cmd = {'n': ":call paste#Paste()<CR>"}
  37.     let paste#paste_cmd['v'] = '"-c<Esc>' . paste#paste_cmd['n']
  38. !   let paste#paste_cmd['i'] = '<Esc>' . paste#paste_cmd['n'] . 'gi'
  39.   
  40.     func! paste#Paste()
  41.       let ove = &ve
  42. --- 12,18 ----
  43.   if has("virtualedit")
  44.     let paste#paste_cmd = {'n': ":call paste#Paste()<CR>"}
  45.     let paste#paste_cmd['v'] = '"-c<Esc>' . paste#paste_cmd['n']
  46. !   let paste#paste_cmd['i'] = 'x<BS><Esc>' . paste#paste_cmd['n'] . 'gi'
  47.   
  48.     func! paste#Paste()
  49.       let ove = &ve
  50. *** ../vim-7.0.032/src/version.c    Fri Jun 23 16:44:32 2006
  51. --- src/version.c    Fri Jun 23 17:18:56 2006
  52. ***************
  53. *** 668,669 ****
  54. --- 668,671 ----
  55.   {   /* Add new patch number below this line */
  56. + /**/
  57. +     33,
  58.   /**/
  59.  
  60. -- 
  61. Yesterday, all my deadlines seemed so far away
  62. now it looks as though it's freeze in four days
  63. oh I believe in cvs..
  64.     [ CVS log "Beatles style" for FreeBSD ports/INDEX, Satoshi Asami ]
  65.  
  66.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  67. ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  68. \\\        download, build and distribute -- http://www.A-A-P.org        ///
  69.  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
  70.