My color file is quite complicated. I think it detects my term and generates color values on the fly.
Is there any way I can print out the generated colors?
My color file is quite complicated. I think it detects my term and generates color values on the fly.
Is there any way I can print out the generated colors?
This command will open a new window containing all highlight group names, displayed in their own colour:
:so $VIMRUNTIME/syntax/hitest.vim
or
:runtime syntax/hitest.vim
Then this command will turn it into an equivalent HTML file (note capital Tee Oh)
:TOhtml
Save the file and print it out in the usual way from your favourite browser.
:runtime syntax/hitest.vim
–
Carey :color
to view current color-scheme.:hi
to list all color groups.:hi Statement
to view color definations for Statement. (change Statement to what you want)Statement
, see Revealing Syntax Groups section in this vimcasts.org/episodes/creating-colorschemes-for-vim. –
Fini This command will open a new window containing all highlight group names, displayed in their own colour:
:so $VIMRUNTIME/syntax/hitest.vim
or
:runtime syntax/hitest.vim
Then this command will turn it into an equivalent HTML file (note capital Tee Oh)
:TOhtml
Save the file and print it out in the usual way from your favourite browser.
:runtime syntax/hitest.vim
–
Carey I have Vim 8 you use :colo
, :color
or :colorscheme
© 2022 - 2024 — McMap. All rights reserved.