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