3

nvim-scrollview

 3 years ago
source link: https://github.com/dstein64/nvim-scrollview
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

nvim-scrollview

nvim-scrollview is a Neovim plugin that displays (non-interactive) scrollbars. The plugin is customizable (see :help scrollview-configuration).

screencast.gif?raw=true

Requirements

  • nvim>=0.5

Installation

A package manager can be used to install nvim-scrollview.

Examples

Usage

  • nvim-scrollview works automatically, displaying (non-interactive) scrollbars.
  • The :ScrollViewDisable command disables scrollbars.
  • The :ScrollViewEnable command enables scrollbars. This is only necessary if scrollbars have previously been disabled.
  • The :ScrollViewRefresh command refreshes the scrollbars. This is relevant when the scrollbars are out-of-sync, which can occur as a result of some window arrangement actions.

Configuration

There are various settings that can be configured.

  • Whether scrollbars are enabled or disabled on startup
  • File types for which scrollbars should not be displayed
  • Scrollbar color and transparency level
  • Whether scrollbars should be displayed in all windows, or just the current window

Please see the documentation for details.

Documentation

Documentation can be accessed with:

:help nvim-scrollview

The underlying markup is in scrollview.txt.

License

The source code has an MIT License.

See LICENSE.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK