Skip to content

A neovim plugin that provides window-local jumplists

License

Notifications You must be signed in to change notification settings

samsze0/jumplist.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

{
    "samsze0/jumplist.nvim",
    config = function()
        require("jumplist").setup({})
    end
}
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

About

A neovim plugin that provides window-local jumplists

Topics

Resources

License

Stars

Watchers

Forks

Languages