How to print VIM current color scheme?

I have Vim 8 you use :colo, :color or :colorscheme


  • Type :color to view current color-scheme.
  • Type :hi to list all color groups.
  • Type :hi Statement to view color definations for Statement. (change Statement to what you want)

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.