summaryrefslogtreecommitdiffstats
path: root/runtime/vimrc_example.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2015-04-13 12:43:06 +0200
committerBram Moolenaar <Bram@vim.org>2015-04-13 12:43:06 +0200
commit5a5f45917dbf542cb00617fa5ef70a14898495dd (patch)
treea3230510c832eba7fa7eb8f4994783b56f842a51 /runtime/vimrc_example.vim
parent695baeefe17adcd95f91d089efee87bd96fc98db (diff)
Updated runtime files.
Diffstat (limited to 'runtime/vimrc_example.vim')
-rw-r--r--runtime/vimrc_example.vim6
1 files changed, 2 insertions, 4 deletions
diff --git a/runtime/vimrc_example.vim b/runtime/vimrc_example.vim
index 215fd24658..f75dee3369 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: 2014 Nov 05
+" Last change: 2015 Mar 24
"
" To use it, copy it to
" for Unix and OS/2: ~/.vimrc
@@ -73,10 +73,8 @@ if has("autocmd")
" When editing a file, always jump to the last known cursor position.
" Don't do it when the position is invalid or when inside an event handler
" (happens when dropping a file on gvim).
- " Also don't do it when the mark is in the first line, that is the default
- " position when opening a file.
autocmd BufReadPost *
- \ if line("'\"") > 1 && line("'\"") <= line("$") |
+ \ if line("'\"") >= 1 && line("'\"") <= line("$") |
\ exe "normal! g`\"" |
\ endif