sponsor Vim development Vim logo Vim Book Ad

moria : A color scheme for GUI supposed to be highly readable

 script karma  Rating 402/172, Downloaded by 10692

created by
Georg Dahn
 
script type
color scheme
 
description
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.
 
install details
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'
colo moria

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.

Note, that from version 2.3 to version 2.5.6 there has been the scheme 'darkslategray', too. If you want to continue using this scheme, just use either the scheme 'moria_darkslategray.vim' or version 2.5.6 of 'moria.vim', if you prefer to have all five schemes in one file.
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
moria.vim 2.6.3 2008-06-06 6.0 Georg Dahn Minor tweaks.
moria.vim 2.6 2008-02-03 6.0 Georg Dahn This version includes all changes since version 2.5 and is essentially the same as version 2.5.6, but without the scheme 'darkslategray'.
moria_darkslategray.vim 2.6 2008-02-03 6.0 Georg Dahn Extracted darkslategray scheme for those who like to go on using this one.
moria.vim 2.5.6 2008-02-03 6.0 Georg Dahn Visual selection was too dark in color scheme 'dark'. Made some other tweaks, too.
moria.vim 2.5 2007-06-19 6.0 Georg Dahn Added option to set several highlighting groups (StatusLine, Pmenu, LineNr, ...) to monochrome.
moria.vim 2.4.5 2007-06-02 6.0 Georg Dahn Changed colors of visual mode selection and tab bar to shades of gray. Made CursorLine and CursorColumn of dark scheme slightly lighter.
moria.vim 2.4.1 2007-04-20 6.0 Georg Dahn Revised highlighting groups for various occasions (statuslines, visual selection, popup menu, line numbers, tab bar) and some other (minor) changes.
moria.vim 2.3 2006-08-10 6.0 Georg Dahn Added a style with low contrast named 'darkslategray'.
moria.vim 2.2 2006-07-29 6.0 Georg Dahn Changed background of 'whitesmoke' scheme to #f0f0f0 and made it the default light scheme (that is, 'whitesmoke' has been changed to 'light'). The former 'light' scheme is called 'white' now. (Thus let moria_style='whitesmoke' does not work anymore.) Both dark schemes are unchanged.
moria.vim 2.1 2006-05-26 6.0 Georg Dahn Added a second light scheme with reduced contrast.
moria.vim 2.0 2006-04-15 6.0 Georg Dahn this replaces the SlateGray scheme with a light scheme, such that there is a dark and a light scheme now. The highlights for Vim 7 were added, bit it still works with Vim 6.
slate.vim 1.2.1 2006-02-23 6.0 Georg Dahn Corrected some errors (console only).

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
SourceForge.net Logo