Skip to content

Commit

Permalink
Version 3.5
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
pansz authored and vim-scripts committed Jun 3, 2011
1 parent be5fb8e commit 2051d4e
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions colors/peaksea.vim
@@ -1,8 +1,8 @@
" Vim color file --- psc (peak sea color) "Lite version"
" Maintainer: Pan, Shi Zhu <Go to the following URL for my email>
" 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.
"
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 2051d4e

Please sign in to comment.