7a5c457e10
Stick to the vocabulary :-)
37 lines
1.2 KiB
Markdown
37 lines
1.2 KiB
Markdown
# syl20bnr contribution layer for Spacemacs
|
|
|
|
## Install
|
|
|
|
To use this contribution add it to your `~/.spacemacs`
|
|
|
|
```elisp
|
|
(defvar dotspacemacs-configuration-layers '(syl20bnr)
|
|
"List of contribution to load."
|
|
)
|
|
```
|
|
|
|
## Rainbow Identifiers
|
|
|
|
Instead of colorized keywords, this contribution has *colorized variables and
|
|
functions* using the [rainbow identifiers][rainbow-identifiers] mode. Each
|
|
variable and function has a unique color associated to it.
|
|
|
|
The `saturation` and `lightness` of identifier colors can be adjusted with the
|
|
commands:
|
|
|
|
Key Binding | Description
|
|
--------------|------------------------------------------------------------
|
|
`<SPC> c s` | initiate change `saturation` mini-mode
|
|
`<SPC> c l` | initiate change `lightness` mini-mode
|
|
`+` | increase the `saturation` or `lightness`
|
|
`-` | decrease the `saturation` or `lightness`
|
|
`=` | reset the `saturation` or `lightness`
|
|
Any other key | leave the change mini-mode
|
|
|
|
### Screenshots
|
|
|
|
#### Python
|
|
|
|
![theme_tweaks_python](https://raw.githubusercontent.com/syl20bnr/spacemacs/master/contrib/syl20bnr/doc/theme-tweaks-python.png)
|
|
|
|
[rainbow-identifiers]: https://github.com/Fanael/rainbow-identifiers
|