bufnav.nvim is a plugin to extend buffer navigation. Provides ability to plug custom functions in between buffer switching.
With packer:
use({'vikdotdev/bufnav.nvim'})
In your config:
require('bufnav.config').setup({
cycle_buffers = {
enabled = false,
top_reached_cb = function()
print('Top of the buffer stack reached!')
end,
bottom_reached_cb = function()
print('Bottom of the buffer stack reached!')
end
}
})
:h bufnav.nvim
include hidden buffers as an option to cycle through add exception buffers