syntax highlighting legend

19 visningar
Hoppa till det första olästa meddelandet

Matthew Pritchard

oläst,
16 feb. 2021 02:03:152021-02-16
till vim_use
Hello I am wondering what is the color code for the different colors vim displays. I am also assuming that these colors can be customized. How do I do this?

tu...@posteo.de

oläst,
16 feb. 2021 02:05:202021-02-16
till vim...@googlegroups.com
> --
> --
> You received this message from the "vim_use" maillist.
> Do not top-post! Type your reply below the text you are replying to.
> For more information, visit http://www.vim.org/maillist.php
>
> ---
> You received this message because you are subscribed to the Google Groups "vim_use" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+u...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/9503a1c6-6c0a-4a9f-8d32-3ee252b6a223n%40googlegroups.com.


Hi,

in vim try

ESC : h colors

Cheers!
mcc

meine

oläst,
20 feb. 2021 10:08:142021-02-20
till vim...@googlegroups.com
you can open a colorscheme in vim and see how colors are defined. then
build your own, or change some at your need.

//meine

Lifepillar

oläst,
20 feb. 2021 12:26:322021-02-20
till vim...@googlegroups.com
I'd recommend to start with:

:help coloring

In particular, some conventional names are listed under

:help group-name

The command to change colors is :highlight, so if you just want to
customize some colors of your current color scheme, that should be
enough.

If you want to develop your own color scheme instead, I'd follow the
other suggestion to look at existing color schemes and start tweaking.
This reading may also be useful:

:edit $VIMRUNTIME/colors/Readme.txt

There is a plugin called Colortemplate (developed by myself), which aims
at making the task of building color schemes easier. But it doesn't hurt
to know how things work in Vim first.

Hope this help.
Life.

Svara alla
Svara författaren
Vidarebefordra
0 nya meddelanden