wsdjeg/scrollbar.nvim

github github
scrollingscrollbar
stars 20
issues 0
subscribers 1
forks 0
CREATED

UPDATED


scrollbar.nvim

scrollbar.nvim is floating scrollbar plugin for neovim.

Image

Installation

Using nvim-plug

require('plug').add({
    {
        'wsdjeg/scrollbar.vim',
        config = function()
            require('scrollbar').setup()
        end,
    },
})

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