adds a browser-like buffer history to each window open in neovim.
use {
'wilfreddenton/history.nvim',
requires = { { 'nvim-lua/plenary.nvim' } }
}
require('history').setup()
or
require('history').setup({
keybinds = {
back = '<your custom keybind>',
forward = '<your custom keybind>'
view = '<your custom keybind>'
}
})
Default keybinds:
- back:
<leader>bb
- forward:
<leader>bf
- view:
<leader>bv
When the view
popup is open, pressing q
, <Esc>
, or <C-c>
will close it and
pressing enter (<CR>
) on any line will navigate the window to the referenced file.