marklar.vim : Dark colorscheme based on green chalkboard colors
| script karma
Downloaded by 3709
Comments, bugs, improvements
script versions (upload new version)
|marklar.vim is designed for gvim. It is used daily on both gvim and an 8 color
xterm terminal (Terminal.app on os x). The colors are designed to take full
advantage of gvim while still being recognizable (and useful) in the limited
The colors are chosen with regard to contrast, semantics and use.
For general reading, a medium contrast colors that minimize eye strain.
In situations where immediate attention to change is appropriate, strong stark
contrast. Errors, warnings, mode labels, for example.
Elements of the interface (or bits that vim wants to hide, like IGNORE), low
For example, in diff mode, a blue-tinted background indicates added text, a
red-tinted background indicates deleted text. For incsearch, a yellow-tint
shows the match in progress.
Green is the reference color, two specific shades, in rgb: text=#71C293
If the background and foreground color of your terminal can be set to these
colors, this colorscheme will work, even for terminals that only have 8 color
support. Terminal.app on os x is an example. I am sure there are others.
Green is the easiest color for human eyes to see. By easiest, I mean that there
are far more green frequency color receptors in the retina than the blue or red
ones. Early monotone computer monitors chose green phosphors for this reason. I
started this scheme based on a memory of an old hp monitor, but I ended up with
a color that reminds me of a green chalkboard.
I use vim and its syntax highlighting to catch mistakes and recognize patterns
in code. As I expand my use of vim as a tool, I make adjustments to contrasts.
Colors are completely a matter of taste, but this colorscheme has been designed
incrementally from constant use. I hope you will try it.
-- new --
Optional Settings. (requires vim7)
Works much like options in vim, except using :Marklar in place of :set. A few
examples should make it clear.
:Marklar <- displays a list of available options
:Marklar bold! <- toggles the setting of the bold option
:Marklar bold? <- queries the value of the bold option
:Marklar bold 1 <- sets the bold option to 1 (on).
bold <- activates bold for a group of commonly used highlight regions.
ignore <- toggles Ignore region between nearly and completely invisible.
The default settings are : bold 0, ignore 1. If you prefer different defaults
use the :Marklar command in your .vimrc file, to set your preferences.
|Place script in your .vim/colors folder and load with:
Click on the package to download.
ip used for rating: 18.104.22.168
||Added optional settings, 'bold' and 'ignore'. Added a normal command to manipulate the settings. Useful color tweaks.
||Improvements in colors and contrasts based on vim7 and certain features that were previously obscure to the author.
||better colors for tabs, popups, matching parens, error msgs.
||Added support for (some of) the coloring additions to 7.0 (the ones that I use :) )