diff options
author | Nicolas Dumazet <ndumazet@google.com> | 2016-01-27 14:17:19 +0100 |
---|---|---|
committer | Nicolas Dumazet <ndumazet@google.com> | 2016-01-27 14:22:48 +0100 |
commit | 71980676f0ab9e29bd8bc72791febe0d53d91921 (patch) | |
tree | e98f431abf228b97bc1e68bca847c6a667d91df9 /runtime/vimrc_example.vim | |
parent | 130611fca3900276d4525e17ded47504d73b38a1 (diff) | |
download | rneovim-71980676f0ab9e29bd8bc72791febe0d53d91921.tar.gz rneovim-71980676f0ab9e29bd8bc72791febe0d53d91921.tar.bz2 rneovim-71980676f0ab9e29bd8bc72791febe0d53d91921.zip |
vim-patch:5a5f459
Original commit: https://github.com/vim/vim/commit/5a5f459
commit 5a5f45917dbf542cb00617fa5ef70a14898495dd
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Apr 13 12:43:06 2015 +0200
Updated runtime files.
(1) Merged manually vimrc_example.vim
(2) Left out README.txt, doc/tags, doc/todo.txt, tutor/tutor.de,
tutor.de.utf-8, ga.po
Diffstat (limited to 'runtime/vimrc_example.vim')
-rw-r--r-- | runtime/vimrc_example.vim | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/runtime/vimrc_example.vim b/runtime/vimrc_example.vim index 97f646b91a..48c7a3535a 100644 --- a/runtime/vimrc_example.vim +++ b/runtime/vimrc_example.vim @@ -34,10 +34,8 @@ augroup vimrcEx " 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 - " 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("$") | \ execute "normal! g`\"" | \ endif |