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.
- Host: GitHub
- URL: https://github.com/lewis6991/whatthejump.nvim
- Owner: lewis6991
- License: mit
- Created: 2023-07-12T10:35:44.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-07-12T19:35:41.000Z (over 2 years ago)
- Last Synced: 2025-02-28T10:44:33.730Z (8 months ago)
- Topics: neovim-plugin
- Language: Lua
- Homepage:
- Size: 4.88 KB
- Stars: 48
- Watchers: 2
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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})
```