micro icon indicating copy to clipboard operation
micro copied to clipboard

Feature Request: Display Color Previews in filetypes like css

Open xAspirus opened this issue 3 years ago • 1 comments

Example:

#FF00FF

is displayed as

█ #FF00FF

with the "█" as color #FF00FF

xAspirus avatar May 16 '22 21:05 xAspirus

FEATURE REQUEST for a NEW PLUGIN. I 100% agree with this. I would love to use micro for everything but there are occasions that I need a color preview.
I recently installed neovim and had to learn installing plugins to get what I wanted.

To accomplish what I am looking for would be to have a plugin that behaves similar to https://github.com/RRethy/vim-hexokinase I use the let g:Hexokinase_highlighters = ['background'] for my color editing.
2022-08-17_14-16

I have also been using the gui text editor, LiteXL which has a lua script as a plugin called colorpreview.lua.

2022-08-17_14-12

drewgrif avatar Aug 17 '22 18:08 drewgrif

yep, this is default on vscode, maybe micro could use it

hisirdox avatar Jan 11 '23 11:01 hisirdox

yep, this is default on vscode, maybe micro could use it

That would be awesome. As explained, using this in neovim and litexl. Don't want to but ...

drewgrif avatar Feb 21 '23 17:02 drewgrif

I so miss it...

Bellavene avatar Sep 16 '23 23:09 Bellavene