mirror of
https://github.com/SolitudeSF/colorcol
synced 2026-01-13 08:51:38 +00:00
No description
| src | ||
| .gitignore | ||
| colorcol.nimble | ||
| LICENSE | ||
| README.md | ||
colorcol
kakoune plugin, that displays color previews inline/after target string/in gutter.
For now supported formats are #rgb,#rgba, #rrggbb and #rrggbbaa.
Install
Having Nim installed just do nimble install colorcol.
Then in your kakrc add evaluate-commands %sh{ colorcol }.
Now you can use colorcol-enable to activate the plugin and colorcol-refresh/colorcol-refresh-on-save/colorcol-refresh-continuous to recolor buffer manually/on save/as you type.
You can change color display mode with colorcol-mode background/foreground/append/flag.
Recommended setup
evaluate-commands %sh{ colorcol }
hook global WinCreate .* %{
colorcol-enable
colorcol-refresh-continuous
}