An open API service indexing awesome lists of open source software.

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

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