https://github.com/sunjon/Shade.nvim
An Nvim lua plugin that dims your inactive windows
https://github.com/sunjon/Shade.nvim
Last synced: 3 months ago
JSON representation
An Nvim lua plugin that dims your inactive windows
- Host: GitHub
- URL: https://github.com/sunjon/Shade.nvim
- Owner: sunjon
- License: mit
- Created: 2021-04-19T09:22:44.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-01-06T01:44:12.000Z (over 1 year ago)
- Last Synced: 2025-03-29T12:02:52.547Z (3 months ago)
- Language: Lua
- Size: 16.6 KB
- Stars: 491
- Watchers: 6
- Forks: 27
- Open Issues: 33
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://github.com/wbthomason/packer.nvim)
```
use 'sunjon/shade.nvim'
```
### [Vim-Plug](https://github.com/junegunn/vim-plug)```
Plug 'sunjon/shade.nvim'
```## Configuration
```
require'shade'.setup({
overlay_opacity = 50,
opacity_step = 1,
keys = {
brightness_up = '',
brightness_down = '',
toggle = '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