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

https://github.com/lewis6991/whatthejump.nvim

Show jumplist in a floating window.
https://github.com/lewis6991/whatthejump.nvim

neovim-plugin

Last synced: 8 months ago
JSON representation

Show jumplist in a floating window.

Awesome Lists containing this project

README

          

# whatthejump.nvim

Show jump locations in a floating window.

https://github.com/lewis6991/whatthejump.nvim/assets/7904185/13cb71f4-57e1-4f8f-916f-b6c616d36480

## Usage

If no keymaps already exist, ones we will be automatically created for `` and ``.
Otherwise, if you use custom keymaps for jumping then use the following:

```lua
-- Jump backwards
vim.keymap.set('n', '', function()
require 'whatthejump'.show_jumps(false)
return ''
end, {expr = true})

-- Jump forwards
vim.keymap.set('n', '', function()
require 'whatthejump'.show_jumps(true)
return ''
end, {expr = true})
```