sponsor Vim development Vim logo Vim Book Ad

vim-lastplace : Intelligently reopen files where you left off.

 script karma  Rating 11/5, Downloaded by 231    Comments, bugs, improvements  Vim wiki

created by
Greg Dietsche
 
script type
utility
 
description
Intelligently reopen files where you left off. By default git, svn, and mercurial commit messages are ignored because you probably want to type a new message and not re-edit the previous one.

You can configure what file types to ignore by setting g:lastplace_ignore. For example to only ignore git and snv commit messages try this in your .vimrc

let g:lastplace_ignore = "gitcommit,svn"

This plugin is maintained on GitHub: https://github.com/dietsche/vim-lastplace
 
install details
Copy the distributed files into Vim runtime directory which is usually ~/.vim/, or $HOME/vimfiles on Windows.
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
vim-lastplace-3.0.2.tar.gz 3.0.2 2016-05-12 7.0 Greg Dietsche Fix problem with files shorter than the window height.
vim-lastplace-3.0.2.zip 3.0.2 2016-05-12 7.0 Greg Dietsche Fix problem with files shorter than the window height.
vim-lastplace-3.0.1.tar.gz 3.0.1 2016-01-17 7.0 Greg Dietsche Fix problems with modelines.
vim-lastplace.zip 3.0.1 2016-01-17 7.0 Greg Dietsche A fix for files with modelines.
vim-lastplace-3.0.0.tar.gz 3.0.0 2015-07-23 7.0 Greg Dietsche Expands folds if the last edit was made inside an area that is hidden inside a fold.
vim-lastplace-2.0.1.tar.gz 2.0.1 2015-01-26 7.0 Greg Dietsche Add gitrebase filetype to the ignore list.
vim-lastplace.tgz 2.0.0 2015-01-22 7.0 Greg Dietsche New features:
1) Center the screen when restoring the cursor position.
2) When at the end of a file, keep as much of it on screen as possible.
vim-lastplace.tar.gz 1.0.0 2015-01-15 7.0 Greg Dietsche Initial upload
ip used for rating: 54.158.204.142

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
SourceForge.net Logo