Skip to content

jeromedalbert/scrollbar.nvim

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

scrollbar.nvim

Github Action License GitHub Contributors

scrollbar for neovim(nightly)

Installation

Just use your favorite plugin manager. e.g. vim-plug:

Plug 'Xuyuanp/scrollbar.nvim'

Startup

This plugin provides only two lua functions, show and clear. The following config is recommended.

augroup ScrollbarInit
  autocmd!
  autocmd WinEnter,FocusGained,CursorMoved,VimResized * silent! lua require('scrollbar').show()
  autocmd WinLeave,FocusLost                          * silent! lua require('scrollbar').clear()
augroup end

NOTE: clear is NOT disable. To disable it, call clear, then remove all the autocommands.

Options

See in doc :h Scrollbar.nvim.

About

scrollbar for neovim

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Lua 100.0%