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