From 2051d4e5384b94b4e258b059e959ffb5202dec11 Mon Sep 17 00:00:00 2001 From: Pan Shizhu Date: Thu, 19 May 2011 00:00:00 +0000 Subject: [PATCH] Version 3.5 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. --- colors/peaksea.vim | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/colors/peaksea.vim b/colors/peaksea.vim index 2466360..531bda9 100644 --- a/colors/peaksea.vim +++ b/colors/peaksea.vim @@ -1,8 +1,8 @@ " Vim color file --- psc (peak sea color) "Lite version" " Maintainer: Pan, Shi Zhu " URL: http://vim.sourceforge.net/scripts/script.php?script_id=760 -" Last Change: 5 Feb 2010 -" Version: 3.4 +" Last Change: 19 May 2011 +" Version: 3.5 " " Comments and e-mails are welcomed, thanks. " @@ -47,11 +47,7 @@ if &background=='light' hi Search guifg=NONE guibg=#f8f8f8 gui=NONE hi Visual guifg=NONE guibg=#a6caf0 gui=NONE hi Cursor guifg=#f0f0f0 guibg=#008000 gui=NONE - " The idea of CursorIM is pretty good, however, the feature is still buggy - " in the current version (Vim 7.0). - " The following line will be kept commented until the bug fixed. - " - " hi CursorIM guifg=#f0f0f0 guibg=#800080 + hi CursorIM guifg=#f0f0f0 guibg=#800080 gui=NONE hi Special guifg=#907000 guibg=NONE gui=NONE hi Comment guifg=#606000 guibg=NONE gui=NONE hi Number guifg=#907000 guibg=NONE gui=NONE @@ -162,7 +158,7 @@ if &background=='light' hi Search ctermfg=NONE ctermbg=231 cterm=NONE hi Visual ctermfg=NONE ctermbg=153 cterm=NONE hi Cursor ctermfg=255 ctermbg=28 cterm=NONE - " hi CursorIM ctermfg=255 ctermbg=90 + hi CursorIM ctermfg=255 ctermbg=90 cterm=NONE hi Special ctermfg=94 ctermbg=NONE cterm=NONE hi Comment ctermfg=58 ctermbg=NONE cterm=NONE hi Number ctermfg=94 ctermbg=NONE cterm=NONE @@ -274,7 +270,7 @@ elseif &background=='dark' hi Visual guifg=#000000 guibg=#a6caf0 gui=NONE hi Cursor guifg=#000000 guibg=#00f000 gui=NONE " NOTE THIS IS IN THE COOL SECTION - " hi CursorIM guifg=#000000 guibg=#f000f0 gui=NONE + hi CursorIM guifg=#000000 guibg=#f0c0f0 gui=NONE hi StatusLine guifg=#000000 guibg=#a6caf0 gui=NONE hi LineNr guifg=#b0b0b0 guibg=NONE gui=NONE hi Question guifg=#000000 guibg=#d0d090 gui=NONE @@ -344,6 +340,8 @@ elseif &background=='dark' if &t_Co==8 || &t_Co==16 " for 8-color and 16-color term + " Note: if you want transparent, change all ctermbg=NONE + " from hi Normal to hi DiffDelete, and hi TabLineSel, CursorLine hi Normal ctermfg=LightGrey ctermbg=Black hi Special ctermfg=Yellow ctermbg=bg hi Comment ctermfg=DarkYellow ctermbg=bg @@ -508,7 +506,7 @@ elseif &background=='dark' hi Visual ctermfg=16 ctermbg=153 cterm=NONE hi Cursor ctermfg=16 ctermbg=46 cterm=NONE " NOTE THIS IS IN THE COOL SECTION - " hi CursorIM ctermfg=16 ctermbg=201 cterm=NONE + hi CursorIM ctermfg=16 ctermbg=219 cterm=NONE hi StatusLine ctermfg=16 ctermbg=153 cterm=NONE hi LineNr ctermfg=249 ctermbg=NONE cterm=NONE hi Question ctermfg=16 ctermbg=186 cterm=NONE