No description
Find a file
2025-04-03 15:35:30 +03:00
src Correctly pass selection 2025-04-03 15:35:10 +03:00
.gitignore Init 2019-04-02 21:19:50 +03:00
colorcol.nimble Version 0.5.4 2025-04-03 15:35:30 +03:00
LICENSE Init 2019-04-02 21:19:50 +03:00
README.md Mention display modes in readme 2021-03-20 23:27:05 +02:00

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.

evaluate-commands %sh{ colorcol }

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