remember.nvim
May 28, 2026 ยท View on GitHub
| version |
|---|
| 1.5.1 |
A port of the Vim plugin vim-lastplace. It uses the same logic as
vim-lastplace, but leverages the Neovim Lua API.
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.
Features
Uses new Neovim 0.7 Lua vim.nvim.create_autocmd function.
Usage
Packer
-- Using Packer
use({ 'vladdoster/remember.nvim', config = [[ require('remember') ]] })
Lazy.nvim
-- Using Lazy.nvim
{
'vladdoster/remember.nvim',
opts = {},
}
vim.pack
vim.pack.add({'https://github.com/vladdoster/remember.nvim'}) require("remember").setup({})
For the full documentation, see remember.txt.
Testing
Unit tests are available for the plugin. To run tests:
- Install
luarockspackage manager - Install test dependencies:
make test-install - Run tests:
make test - Run tests with coverage:
make test-coverage
For more details, see tests/README.md.
CI/CD
Tests run automatically on pull requests via GitHub Actions, with coverage reports posted as PR comments.
Issues
If you believe you've found a bug or shortcoming in remember.nvim that is neither addressed by help nor in existing issues, please open an issue with clear reproduction steps.
Contributing
All PRs are welcome. If you are planning to contribute a large patch, please create an issue first to get any upfront questions or design decisions out of the way first.
License
The MIT License - see LICENSE for more details.