sunjon/Shade.nvim

github github
colors plugin
star 138
stars
alert-circle 16
open issues
users 6
subscribers
git-branch 6
forks
CREATED

2021-04-19

UPDATED

2 days ago

packer

require('packer').startup(function()
  use 'sunjon/Shade.nvim'
end)

paq

require "paq" { 
  'sunjon/Shade.nvim'
}

shade.nvim

Shade is a Neovim plugin that dims your inactive windows, making it easier to see the active window at a glance.

Installation

Packer

use 'sunjon/shade.nvim'

Vim-Plug

Plug 'sunjon/shade.nvim'

Configuration

require'shade'.setup({
  overlay_opacity = 50,
  opacity_step = 1,
  keys = {
    brightness_up    = '<C-Up>',
    brightness_down  = '<C-Down>',
    toggle           = '<Leader>s',
  }
})
  • The keys table above shows available actions. No mappings are defined by default.

  • The color of the numbers in the brightness control popup can be customized by creating a highlight group named: ShadeBrightnessPopup and setting the attributes to your liking.

License

Copyright (c) Senghan Bright. Distributed under the MIT license