Skip to content

A port of the Vim plugin vim-lastplace. It uses the same logic as vim-lastplace, but leverages the Neovim Lua API.

License

Notifications You must be signed in to change notification settings

vladdoster/remember.nvim

Repository files navigation

remember.nvim

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') ]] })

For the full documentation, see remember.txt.

Testing

Unit tests are available for the plugin. To run tests:

  1. Install luarocks package manager
  2. Install test dependencies: make test-install
  3. Run tests: make test
  4. 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.

About

A port of the Vim plugin vim-lastplace. It uses the same logic as vim-lastplace, but leverages the Neovim Lua API.

Resources

License

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •