lkundrak / rpms / vim

Forked from rpms/vim 4 years ago
Clone
f18b135
To: vim_dev@googlegroups.com
f18b135
Subject: Patch 7.4.165
f18b135
Fcc: outbox
f18b135
From: Bram Moolenaar <Bram@moolenaar.net>
f18b135
Mime-Version: 1.0
f18b135
Content-Type: text/plain; charset=UTF-8
f18b135
Content-Transfer-Encoding: 8bit
f18b135
------------
f18b135
f18b135
Patch 7.4.165
f18b135
Problem:    By default, after closing a buffer changes can't be undone.
f18b135
Solution:   In the example vimrc file set 'undofile'.
f18b135
Files:	    runtime/vimrc_example.vim
f18b135
f18b135
f18b135
*** ../vim-7.4.164/runtime/vimrc_example.vim	2011-04-15 20:58:36.000000000 +0200
f18b135
--- runtime/vimrc_example.vim	2014-02-05 21:59:40.534544501 +0100
f18b135
***************
f18b135
*** 1,7 ****
f18b135
  " An example for a vimrc file.
f18b135
  "
f18b135
  " Maintainer:	Bram Moolenaar <Bram@vim.org>
f18b135
! " Last change:	2011 Apr 15
f18b135
  "
f18b135
  " To use it, copy it to
f18b135
  "     for Unix and OS/2:  ~/.vimrc
f18b135
--- 1,7 ----
f18b135
  " An example for a vimrc file.
f18b135
  "
f18b135
  " Maintainer:	Bram Moolenaar <Bram@vim.org>
f18b135
! " Last change:	2014 Feb 05
f18b135
  "
f18b135
  " To use it, copy it to
f18b135
  "     for Unix and OS/2:  ~/.vimrc
f18b135
***************
f18b135
*** 24,30 ****
f18b135
  if has("vms")
f18b135
    set nobackup		" do not keep a backup file, use versions instead
f18b135
  else
f18b135
!   set backup		" keep a backup file
f18b135
  endif
f18b135
  set history=50		" keep 50 lines of command line history
f18b135
  set ruler		" show the cursor position all the time
f18b135
--- 24,31 ----
f18b135
  if has("vms")
f18b135
    set nobackup		" do not keep a backup file, use versions instead
f18b135
  else
f18b135
!   set backup		" keep a backup file (restore to previous version)
f18b135
!   set undofile		" keep an undo file (undo changes after closing)
f18b135
  endif
f18b135
  set history=50		" keep 50 lines of command line history
f18b135
  set ruler		" show the cursor position all the time
f18b135
*** ../vim-7.4.164/src/version.c	2014-02-05 14:02:23.590105699 +0100
f18b135
--- src/version.c	2014-02-05 21:59:47.774544612 +0100
f18b135
***************
f18b135
*** 740,741 ****
f18b135
--- 740,743 ----
f18b135
  {   /* Add new patch number below this line */
f18b135
+ /**/
f18b135
+     165,
f18b135
  /**/
f18b135
f18b135
-- 
f18b135
hundred-and-one symptoms of being an internet addict:
f18b135
269. You wonder how you can make your dustbin produce Sesame Street's
f18b135
     Oscar's the Garbage Monster song when you empty it.
f18b135
f18b135
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
f18b135
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
f18b135
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
f18b135
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///