search

Home  >  Q&A  >  body text

gvim - How to execute `highlight test` in vim in terminal?

The so-called hightlight refers to:

I find this feature very helpful for custom color matching, but currently it can only be found in Gvim.

The color test above corresponds to a file, which can be used by downloading source.

Does vim in the terminal have this function? How to do it?

仅有的幸福仅有的幸福2806 days ago745

reply all(2)I'll reply

  • 世界只因有你

    世界只因有你2017-05-16 16:40:22

    This menu command is equivalent to executing in bottom line command mode
    :so $VIMRUNTIME/syntax/hitest.vim

    You can see
    :help highlight
    It’s mentioned in it

    It is also mentioned in the help
    :runtime syntax/colortest.vim
    It is also very useful

    reply
    0
  • 世界只因有你

    世界只因有你2017-05-16 16:40:22

    Edit ~/.vimrc file

    reply
    0
  • Cancelreply