An open API service indexing awesome lists of open source software.

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

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.

screenshot

## 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