Home

Awesome

Vim-RNB, a Vim colorscheme template

What is this thing?

RNB is a template designed to help vimmers create their own colorschemes without much effort.

In reality, Vim colorschemes are not that hard to write but there are several benefits to using a template such as RNB:

What do I need to use it?

ERB, the templating engine used here, is part of Ruby's standard library so you will need Ruby to generate your colorscheme. Neither ERB nor Ruby knowledge is required, though.

If you don't already have Ruby, the official site has got your back.

How do I use it?

The process is divided in five steps:

  1. rename colors/rnb.erb to colors/name_of_your_colorscheme.erb,
  2. edit your colorscheme's information,
  3. define your colors,
  4. define your highlight groups and links,
  5. and generate your colorscheme.

Steps 2 to 5 are thoroughly described in the colorscheme template itself in an effort to make it portable: if you ever decide to distribute your colorscheme you can simply package the template with it.

Built with RNB

The following colorschemes are known to be built with RNB:

TODO