Skip to content

Intelligently reopen files where you left off. But not for commit messages.

License

Notifications You must be signed in to change notification settings

vim-scripts/vim-lastplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vim-lastplace v3.0.0

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 svn commit messages try this in your vimrc:

    let g:lastplace_ignore = "gitcommit,svn"

Installation

I recommend using pathogen.vim.

cd ~/.vim/bundle
git clone git://github.com/dietsche/vim-lastplace.git

Version History

3.0.0

  • Open folds if the last edited area is inside a closed fold.

2.0.1

  • Add gitrebase filetype to the ignore list.

2.0.0

  • Center the screen when restoring the cursor position.
  • When at the end of a file, keep as much of it on screen as possible.

1.0.0

  • Initial version.

About

Get the latest version, submit pull requests, and file bug reports on GitHub:

If you like this plugin, please star and rate it on these sites:

About

Intelligently reopen files where you left off. But not for commit messages.

Resources

License

Stars

Watchers

Forks

Packages

No packages published