sponsor Vim development Vim logo Vim Book Ad

peaksea : Refined color, contains both gui and cterm256 for dark and light background

 script karma  Rating 1083/382, Downloaded by 35456  Comments, bugs, improvements  Vim wiki

created by
Pan Shizhu
 
script type
color scheme
 
description
The peak sea color (peaksea.vim) is the new version of the well-known colorscheme ps_color.

Now the color contains light-background scheme for gui and 256 color term, with dark-background scheme supporting gui and 256 and 16 color term.

You can fire any issues at http://code.google.com/p/peaksea/issues/list
 
install details
put the peaksea.vim in your $HOME/.vim/colors/ (or %HOME%\vimfiles\colors for Windows)

To enable the scheme, you can put in ~/.vimrc the following:

if ! has("gui_running")
    set t_Co=256
endif
" feel free to choose :set background=light for a different style
set background=dark
colors peaksea

The newest version of most modern terminal emulators have 256 color support, the following has been tested:
works great: xterm, konsole 4.2+, gnome-terminal, xfce4-terminal, putty for windows, mintty for cygwin and mintty for mingw/msys
works after some tweaks: screen (recompile and add a .screenrc, google for details.), konsole 3.x (I had provided a patch at https://bugs.kde.org/show_bug.cgi?id=169013)
works with issue: rxvt (no 256-color by default, needs hack for 256-color support)

In case you cannot make 256-color work for your terminal, the 16-color support has no difference from the ps_color.vim, you'll need to tune color codes for 16-color to work, the instructions can be found inside the old ps_color.vim. There are predefined konsole and xfce4-terminal profile at http://code.google.com/p/peaksea/source/browse/trunk

Note: if you don't like the dark-black background and want it be pure black: simply search for the following line
hi Normal guifg=#d0d0d0 guibg=#202020 gui=NONE
and change #202020 into #000000.
 

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
peaksea.vim 3.6 2016-11-11 8.0 Pan Shizhu Add Vim 8.0 support.
peaksea.vim 3.5 2011-05-19 6.0 Pan Shizhu This version adds CursorIM support, which integrates well with vimim and other input methods.

If you use gvim and vimim, you will found it useful. Otherwise, it has no difference with the previous version.
peaksea.vim 3.4 2010-02-05 6.0 Pan Shizhu For light-background terminal we always assume 256color support.
Transparency is supported in 256color mode, search the text "transparency" in peaksea.vim for details.

peaksea.vim 3.3 2008-10-31 6.0 Pan Shizhu Anton Sharnov thinks it is better to leave the foreground color as is for spell error in 256-color cterm. If you agree this, the version 3.3 is for you, else you can just edit the source. Also, your can search for text 'transparency' within the peaksea.vim to know how to get cterm background transparency.
peaksea.vim 3.2 2008-06-04 6.0 Pan Shizhu This version adds 256 color term support, a good color scheme has to support 256color term.
The old ps_color got a name now: peak sea color.
ps_color.vim 3.00 2006-10-23 7.0 Pan Shizhu This version reads the 'background' option instead of setting it. Hence you must do :set background=dark or :set background=light before :colo ps_color. (Note that it is incompatible with previous versions!) Some highlightings are made more harmonize with others. Adds an option to enable cterm background transparency.
ps_color.vim 2.9 2006-07-25 7.0 Pan Shizhu This version adds new highlight groups for Vim 7. All the existing Vim 6 highlight groups unchanged. So you don't need to upgrade if using Vim 6. This script was tested both under Vim 6 and Vim 7.
reloaded.vim 0.9 2006-07-25 7.0 Pan Shizhu This is an optional utility for "ps_color" scheme, now it works both under Vim 6 and Vim 7.
ps_color.vim 2.82 2004-11-18 6.0 Pan Shizhu This version change the default background color to the popular "dark grey". It can still be changed anyway.
reloaded.vim 0.6 2004-07-15 6.0 Pan Shizhu This is a utility to tune the whole color scheme in HSL color space. There are some minor fix since version 0.5...

For me it's great fun, I'll be happy if you found it interesting.
ps_color.vim n/a 2003-09-04 6.0 Pan Shizhu Initial upload
ip used for rating: 142.132.191.50

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