https://github.com/samsze0/jumplist.nvim
A neovim plugin that provides window-local jumplists
https://github.com/samsze0/jumplist.nvim
lua neovim neovim-plugin
Last synced: 6 months ago
JSON representation
A neovim plugin that provides window-local jumplists
- Host: GitHub
- URL: https://github.com/samsze0/jumplist.nvim
- Owner: samsze0
- License: mit
- Created: 2024-05-15T06:41:15.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-10T02:08:00.000Z (almost 2 years ago)
- Last Synced: 2025-02-05T16:24:42.361Z (about 1 year ago)
- Topics: lua, neovim, neovim-plugin
- Language: Lua
- Homepage:
- Size: 10.7 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# jumplist.nvim
A neovim plugin that provides window-local jumplists
Vim's built-in jumplist is tedious to use. Every other plugins you have installed have access to it. This plugin allows you to have full control over the jumplist's state for each window.
## Usage
```lua
{
"samsze0/jumplist.nvim",
config = function()
require("jumplist").setup({})
end
}
```
```lua
local jumplist = require("jumplist")
jumplist.save() -- Save current cursor position to the window-local jumplist
jumplist.jump_back()
jumplist.jump_forward()
```
## How it works
The best way to understand how this jumplist works is to go through the test.
## License
MIT