colorcol

Kakoune plugin for color preview


Keywords
kakoune, plugin, color, preview, nim
License
MIT
Install
nimble install colorcol

Documentation

colorcol

kakoune plugin, that displays color previews in gutter.

Install

Having Nim installed just do nimble install https://github.com/SolitudeSF/colorcol.

Then in your kakrc add evaluate-commands %sh{ colorcol }.

Now you can use colorcol-enable to activate the plugin. You can refresh color display with colorcol-refresh or you can use colorcol-auto-refresh to automatically refresh on buffer write.

Recommended setup

evaluate-commands %sh{ colorcol }

hook global WinCreate .* %{
    colorcol-enable
    colorcol-auto-refresh
}