moria : A color scheme for GUI supposed to be highly readable
| script karma
Downloaded by 21809
Comments, bugs, improvements
script versions (upload new version)
|This color scheme contains four color schemes: two dark and two light color schemes. All highlighting groups have similar brightness. In the dark schemes bold highlighting is avoided, but used where it is reasonable. Different highlighting groups can be distinguished easily without a cluttered appearance. The highlights of all four color schemes have similar colors, but differ in contrast.
This color scheme is for the GUI version of Vim and makes only some minor tweaks for the console version.
This color scheme is optimized for Vim 7.0, but works for Vim 6.0, too.
|Just put it in "~/.vim/colors" or in "<your vim directory>\vimfiles\colors" on Windows. Do ":colo moria" to apply it. If you want to install it as your default color scheme, just add "colo moria" to your vimrc file.
The color scheme choses the color scheme 'dark' if 'background' is set to dark and 'light' if 'background' is set to light. One can override this by setting the variable 'moria_style'. Its possible values are 'black', 'dark', 'light', and 'white'. The 'dark' scheme has #202020 as its background, the 'light' scheme #f0f0f0, the 'black' ('white') scheme has a black (white) background. If you want to use the 'white' scheme, just do
let moria_style = 'white'
in your vimrc file. Alternatively, you can set the option 'background' instead of 'moria_style' to 'dark' or 'light' and the color scheme applies either the 'dark' scheme or the 'light' one.
In gVim you can do 'Colo black', 'Colo dark', 'Colo light', and 'Colo white' to swith to the color scheme you want. In Vim (console version) these commands just swith between a dark and a light scheme.
The default colors of StatusLine, Pmenu, LineNr, ... is blue. If you like monochrome colors for these highlighting groups, there is the option 'moria_monochrome'. If the default colors do not fit to the color scheme of your desktop environment, monochrome colors will probably match better. Someone may find monochrome colors of these highlighting groups more pleasant to the eyes, too. To aktivate this option just add
let moria_monochrome = 1
to your vimrc file (before 'colo moria', of course).
In the dark schemes ('black' and 'dark') bold highlights are avoided. However, some people like the highlights 'Statement', 'Type' and some other highlights to be bold. If you belong to these people, just add
let moria_fontface = 'mixed'
to your vimrc file.
Click on the package to download.
ip used for rating: 188.8.131.52
||Changed names of colors to numbers for ctermbg and ctermfg, because names did not work on my Mac. Highlight information for ColorColumn.