Go to file
Romain Lafourcade 2ec061c830 Wording in the README 2019-06-01 11:25:44 +02:00
colors Better usage outline 2019-05-12 13:50:50 +02:00
LICENSE Initial commit 2019-05-01 16:18:53 +02:00
Makefile Wording and unnecessary ASCII art 2019-05-12 13:40:20 +02:00
README.md Wording in the README 2019-06-01 11:25:44 +02:00

README.md

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:

  • you can define/modify variables once instead of messing around with potentially botched substitutions,
  • you can distribute a lean colorscheme, free from unnecessary logic,
  • you can distribute the source alongside the colorscheme, making it easy for your users to experiment and adapt your colorschemes to their needs,
  • you can focus on the design of your colorscheme rather than its implementation,
  • you can start working on new colorscheme ideas very easily.

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.

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. start by editing your colorscheme's information,
  3. define your colors,
  4. define your highlight groups and links,
  5. and generate your colorscheme.

Each step is 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.

TODO

  • README.md template