vim-lastplace

A vim / nvim plugin that intelligently reopens files at your last edit position.

MIT License

Stars
531

Bot releases are visible (Hide)

vim-lastplace - vim-lastplace v4.5.0 Latest Release

Published by farmergreg 6 months ago

Ignore the xxd filetype (hex file editing) by default.
Minor code base cleanup.

Full Changelog: https://github.com/farmergreg/vim-lastplace/compare/v4.4.0...v4.5.0

vim-lastplace - vim-lastplace v4.4.0

Published by farmergreg about 1 year ago

A vim / nvim plugin that intelligently reopens files at your last edit position.

Features

  • Commit Messages
    • Many version control systems re-use the same file for commit message editing.
    • vim-lastplace treats each commit message as if it were a new file because you probably want to type a new message and not re-edit the previous commit message.
  • Maximizes 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.
  • Opens folds if the last edit position is inside a fold.
  • Works properly with new file templates and scripts that jump to a specific line in them.

What's Changed

New Contributors

Full Changelog: https://github.com/farmergreg/vim-lastplace/compare/v3.2.1...v4.0.0

vim-lastplace - vim-lastplace v3.2.1

Published by farmergreg over 4 years ago

About

Automatically jump to the last edit position when you open a file using vim.

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

  • Updated documentation
  • Centering text on screen when folds are opened.
vim-lastplace - vim-lastplace v3.1.1

Published by farmergreg over 7 years ago

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

This is a bug-fix release.

vim-lastplace - vim-lastplace v3.1.0

Published by farmergreg over 7 years ago

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"
vim-lastplace - vim-lastplace v3.0.4

Published by farmergreg about 8 years ago

Intelligently reopen files at your last edit position. 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.

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 in this release: Added a setting g:lastplace_open_folds to control behavior when the last edit position is inside a fold.

vim-lastplace - vim-lastplace v3.0.3

Published by farmergreg about 8 years ago

Intelligently reopen files at your last edit position. 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.

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 in this release: updated documentation to aid Debian packaging effort.

vim-lastplace - vim-lastplace v.3.0.2

Published by farmergreg over 8 years ago

Intelligently reopen files at your last edit position. 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.

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.
Related Projects