Skip to content

lewis6991/whatthejump.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

whatthejump.nvim

Show jump locations in a floating window.

Screen.Recording.2023-07-12.at.11.45.52.mov

Usage

If no keymaps already exist, ones we will be automatically created for <C-i> and <C-o>. Otherwise, if you use custom keymaps for jumping then use the following:

-- Jump backwards
vim.keymap.set('n', '<M-k>', function()
  require 'whatthejump'.show_jumps(false)
  return '<C-o>'
end, {expr = true})

-- Jump forwards
vim.keymap.set('n', '<M-j>', function()
  require 'whatthejump'.show_jumps(true)
  return '<C-i>'
end, {expr = true})

About

Show jumplist in a floating window.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages