beakr
beakr

Reputation: 5857

Vim colorscheme general attributes?

I'm making a colorscheme for Vim and have a command that allows me to view the 'scope' of a attribute to highlight, but I need some of the general attributes (background, line numbers, etc.) so I can properly create my scheme. Is there any good cheat sheets or lists of some of the attributes? I checked all the Vim documentation and wikis but they don't list many things that affect the editor itself.

Upvotes: 2

Views: 547

Answers (2)

And R
And R

Reputation: 512

May be you'll find useful this colorscheme: http://www.vim.org/scripts/script.php?script_id=106 .

Here is the description given by author:

The philosophy here is to provide a ready-to-uncomment list of highlight commands for all the important groups. Then you can deviate from the default until you come up with one you like.

Upvotes: 0

romainl
romainl

Reputation: 196556

Yes, there is such a list. All you need is in Vim's awesomely-exhaustive-but-sometimes-cryptic documentation: :help syntax, more specifically :help highlight-default for a list of default highlight groups. If something is not there it probably means that it can't be done or that it's custom/syntax-dependant.

You could also open a pre-existing colorscheme and see how it's done. It's actually not that complicated to understand how the syntax works.

Good luck and make sure to share your colorscheme with the community when it's ready.

Upvotes: 4

Related Questions