vim-lastplace v3.1.0
Advantages
Advantages over the snippets that can be found around the net include:
- Maximizes Available Context
- Center the cursor vertically after restoring last edit position.
- Keep as much of the file on screen as possible when last edit position is at the end of the file.
- Commit messages automatically start beginning of the file. This is important because many version control systems re-use the same file for commit message editing.
- Opens folds if the last edit position is inside a fold.
New Features
You can now configure buffer types to ignore by setting
g:lastplace_ignore_buftype in your vimrc. This is a comma separated list.
By default it is set to:
let g:lastplace_ignore_buftype = "quickfix"