scrollbar.nvim
July 18, 2026 · View on GitHub
scrollbar.nvim is floating scrollbar plugin for neovim.
Installation
Using nvim-plug
require('plug').add({
{
'wsdjeg/scrollbar.vim',
config = function()
require('scrollbar').setup()
end,
},
})
Using luarocks
luarocks install --server=https://luarocks.org/manifests/wsdjeg scrollbar.nvim
For vim support, please checkout v1.0.0:
Plug 'wsdjeg/scrollbar.nvim', { 'tag': 'v1.0.0' }
Setup
The default option:
require('scrollbar').setup({
max_size = 10,
min_size = 5,
width = 1,
right_offset = 1,
excluded_filetypes = {
'startify',
'git-commit',
'leaderf',
'NvimTree',
'tagbar',
'defx',
'neo-tree',
'qf',
},
shape = {
head = '▲',
body = '█',
tail = '▼',
},
highlight = {
head = 'Normal',
body = 'Normal',
tail = 'Normal',
},
})
Debug
Using logger.nvim:
require('plug').add({
{
'wsdjeg/scrollbar.vim',
config = function()
require('scrollbar').setup()
end,
depends = {
{ 'wsdjeg/logger.nvim' },
},
},
})
Self-Promotion
Like this plugin? Star the repository on GitHub.
Love this plugin? Follow me on GitHub and Twitter.
Credits
Feedback
If you encounter any bugs or have suggestions, please file an issue in the issue tracker