Loading ...
Sorry, an error occurred while loading the content.

Patch 6.1.166

Expand Messages
  • Bram Moolenaar
    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
    Message 1 of 1 , Aug 28, 2002
    • 0 Attachment
      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@...>
      ! " 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@...>
      ! " 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@... -- 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 ///
    Your message has been successfully submitted and would be delivered to recipients shortly.