colorcol

Kakoune plugin for color preview

Pure Nim score 30/100 · tests present · docs generated

Summary

Latest Version Unknown
License MIT
CI Status Passing
Downloads 0
Last Indexed 2026-07-21 05:24

Installation

nimble install colorcol
choosenim install colorcol
git clone https://github.com/SolitudeSF/colorcol

OS Compatibility

Platform Linux macOS Windows FreeBSD OpenBSD NetBSD Android iOS WASM Embedded
colorcol - - - - - - -

Source

Repository https://github.com/SolitudeSF/colorcol
Homepage https://github.com/SolitudeSF/colorcol
Documentation View Documentation
Registry Source nimble_official

README

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
}