Skip to content
项目

lewis6991/satellite.nvim has 755 GitHub stars and 37 forks. GitHot measured 0 stars in 24 hours and +1 in 7 days. Last checked 2026-11-22 05:42 UTC. Last push 2026-11-09.

这些数字如何统计

可以做什么

  • Git hunks (via gitsigns.nvim or mini.diff)
  • Handling for folds

实测星标增长

24小时
0
7天
+1
15天
正在收集历史
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

关于

Decorate scrollbar for Neovim

开发工具

README.md

原文

satellite.nvim

satellite.nvim is a Neovim plugin that displays decorated scrollbars.

image

NOTE: Many API's required to implement a decorated scrollbar in Neovim do not yet exist, and because of this, this plugin implements fairly unideal and unoptimised workarounds to get desired behaviours.

Features

  • Display marks for different kinds of decorations across the buffer. Builtin handlers include:
  • Handling for folds
  • Mouse support

Requirements

Neovim nightly

Usage

Enabled by default. Configuration can optionally be passed to the setup() function. Here is an example with most of the default settings:

require('satellite').setup {
  current_only = false,
  winblend = 50,
  zindex = 40,
  excluded_filetypes = {},
  width = 2,
  handlers = {
    cursor = {
      enable = true,
      -- Supports any number of symbols
      symbols = { '⎺', '⎻', '⎼', '⎽' }
      -- symbols = { '⎻', '⎼' }
      -- Highlights:
      -- - SatelliteCursor (default links to NonText
    },
    search = {
      enable = true,
      -- Highlights:
      -- - SatelliteSearch (default links to Search)
      -- - SatelliteSearchCurrent (default links to SearchCurrent)
    },
    diagnostic = {
      enable = true,
      signs = {'-', '=', '≡'},
      min_severity = vim.diagnostic.severity.HINT,
      -- Highlights:
      -- - SatelliteDiagnosticError (default links to DiagnosticError)
      -- - SatelliteDiagnosticWarn (default links to DiagnosticWarn)
      -- - SatelliteDiagnosticInfo (default links to DiagnosticInfo)
      -- - SatelliteDiagnosticHint (default links to DiagnosticHint)
    },
    gitsigns = {
      enable = true,
      signs = { -- can only be a single character (multibyte is okay)
        add = "│",
        change = "│",
        delete = "-",
      },
      -- Highlights:
      -- SatelliteGitSignsAdd (default links to GitSignsAdd)
      -- SatelliteGitSignsChange (default links to GitSignsChange)
      -- SatelliteGitSignsDelete (default links to GitSignsDelete)
    },
    marks = {
      enable = true,
      show_builtins = false, -- shows the builtin marks like [ ] < >
      key = 'm'
      -- Highlights:
      -- SatelliteMark (default links to Normal)
    },
    minidiff = {
      enable = true,
      signs = { -- can only be a single character (multibyte is okay)
        add = "│",
        change = "│",
        delete = "-",
      },
      -- Highlights:
      -- SatelliteMiniDiffAdd (default links to MiniDiffSignAdd)
      -- SatelliteMiniDiffChange (default links to MiniDiffSignChange)
      -- SatelliteMiniDiffDelete (default links to MiniDiffSignDelete)
    },
    quickfix = {
      signs = { '-', '=', '≡' },
      -- Highlights:
      -- SatelliteQuickfix (default links to WarningMsg)
    }
  },
}
  • The :SatelliteDisable command disables scrollbars.
  • The :SatelliteEnable command enables scrollbars. This is only necessary if scrollbars have previously been disabled.
  • The :SatelliteRefresh 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. Please see the documentation for details.

Handlers

Satellite provides an API to implement handlers for the scrollbar, see HANDLERS for more details.

Documentation

Documentation can be accessed with:

:help satellite

Tests

Run make test to run the test suite.

Credit

This plugin was based on nvim-scrollview which provides a very good implementation for a normal scrollbar.

Similar plugins

探索相关项目

加载中…