sponsor Vim development Vim logo Vim Book Ad

khaki.vim : A light colorscheme optimized for gui and 256 color terminals.

 script karma  Rating 17/13, Downloaded by 1870  Comments, bugs, improvements  Vim wiki

created by
frank baruch
 
script type
color scheme
 
description
This colour scheme was created primarily because there seems to be few
(if any) that take the trouble to appear the same in gui and cterm environments.

Secondly, most cterm colour schemes seem to use excessively strong colours
in psychotic combinations compared to the gui schemes. This scheme
strives to follow the guidelines described in "Color Theory for Developers"
       http://www.devsource.com/article2/0,1895,2069736,00.asp
for a softer appearance like more modern gui schemes.

Finally, some terminals render bold and italic fonts badly, so those attributes have been avoided.

Features:
    - Optimized for 256 colour palette, then converted to gui.
    - Identical colour rendition in both gui and cterm environments.
    - Low-contrast colours keep it "REAL", avoiding psychotic edit sessions.
    - Avoids use of terminal attributes {bold italic etc}, with the
      exception of 'underline' used with the 'Underlined' group-name.

Testing:
    Tested with the following programs (256 colour versions), which render identically to gvim:-
        gnu-screen (compiled with --enable-colors256 option)
        xterm
        gnome-terminal

        konsole (version 1.6.5) renders slightly darker colours for some unknown reason.
            See KDE Bug 138237: Color cube incorrect for xterm-256color mode (patch)
 
install details
  - Copy khaki.vim to ~/.vim/colors/

  - Add following lines to ~/.vimrc
        if !has("gui_running")
            set t_Co=256
        endif
        colorscheme khaki
 

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
khaki.vim 1.1 2007-08-27 5.7 frank baruch Bugfix: Changed gui palette intensity (0x8f values should be 0x87).
khaki.vim 1.0 2007-08-10 5.7 frank baruch Initial upload
ip used for rating: 18.219.189.247

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.
   
Vim at Github