• Stars
    star
    138
  • Rank 264,508 (Top 6 %)
  • Language
    HTML
  • License
    MIT License
  • Created over 5 years ago
  • Updated almost 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

RNB, a Vim colorscheme template

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 colorscheme 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.

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

  • README.md template

More Repositories

1

idiomatic-vimrc

Guidelines for sculpting your very own ~/.vimrc.
1,067
star
2

Apprentice

A dark, low-contrast, Vim colorscheme.
Vim Script
854
star
3

vim-qf

Tame the quickfix window.
Vim Script
594
star
4

vim-cool

A very simple plugin that makes hlsearch more useful.
Vim Script
525
star
5

ctags-patterns-for-javascript

Exuberant Ctags Patterns for JavaScript
JavaScript
409
star
6

flattened

Solarized, without the bullshit.
Vim Script
396
star
7

the-patient-vimmer

A guide for patient Vimmers.
112
star
8

vim-dichromatic

A dark Vim colorscheme for color blind vimmers. But not only.
HTML
82
star
9

vim-qlist

Persist the results of :ilist and related commands via the quickfix list.
Vim Script
66
star
10

vim-devdocs

Look up keyword on https://devdocs.io from Vim
Vim Script
55
star
11

minivimrc

Vim Script
41
star
12

iterm2-colorschemes

A collection of iTerm2 colorschemes.
23
star
13

apprentice-colorschemes

Terminal emulator themes based on the Apprentice Vim colorscheme
Shell
17
star
14

vim-tinyMRU

Vim Script
15
star
15

Disciple

A light low-contrast Vim colorscheme.
Vim Script
12
star
16

nanovimrc

Smaller than mini, smaller than micro: nano.
Vim Script
10
star
17

vim-colors

Modern rewrite of Vim's default colorschemes.
HTML
7
star
18

microvimrc

Smaller than mini, bigger than nano: micro.
Vim Script
6
star
19

quickstart

Makefile
5
star
20

vim-quicklist

Persist the result of list-like Ex commands to the quickfix list.
Vim Script
3
star
21

vim-malotru

A relatively comfortable Vim colorscheme primarily designed for 16color terminal emulators
Vim Script
2
star
22

ctagsd

Run ctags upon file change/addition/deletion in a Git repository
Shell
2
star
23

vim-sweet16

A 'light' colorscheme using exclusively the lower 16 colors of the xterm palette.
HTML
1
star
24

lspc

A Language Server Protocol Client for Vim. Maybe.
1
star
25

acp-forked

A personal fork of an old version of AutoComplPop.
Vim Script
1
star