diff options
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/vimrc_example.vim | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/runtime/vimrc_example.vim b/runtime/vimrc_example.vim index 3e9b56f0d..27a5cfc22 100644 --- a/runtime/vimrc_example.vim +++ b/runtime/vimrc_example.vim @@ -1,7 +1,7 @@ " An example for a vimrc file. " " Maintainer: Bram Moolenaar <Bram@vim.org> -" Last change: 2011 Apr 15 +" Last change: 2014 Feb 05 " " To use it, copy it to " for Unix and OS/2: ~/.vimrc @@ -24,7 +24,8 @@ set backspace=indent,eol,start if has("vms") set nobackup " do not keep a backup file, use versions instead else - set backup " keep a backup file + set backup " keep a backup file (restore to previous version) + set undofile " keep an undo file (undo changes after closing) endif set history=50 " keep 50 lines of command line history set ruler " show the cursor position all the time |