guest@dotshare [~/groups/vim/colors] $ ls VimGetFresh/ | cat

Vim::GetFresh (scrot, raw, dl) (+6 likes)

crshd Aug 08, 2011 (vim/colors)

SCROT

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
" Vim color scheme
"
" Name:        getfresh.vim
" Maintainer:  Christian Brassat <crshd@mail.com>
" License:     public domain
"

set background=dark
hi clear
if exists("syntax_on")
  syntax reset
endif
let g:colors_name = "getfresh"

" General Colors
let NormalFG      = '#DDCCBB'

"let NormalFG      = '#30251D'
let NormalBG      = '#151515'

let DarkGray      = '#393939'
let LightGray     = '#AF875F'

let DarkRed       = '#BF1E2D'
let LightRed      = '#E7212A'

let DarkGreen     = '#9DBA3A'
let LightGreen    = '#A9C938'

let DarkYellow    = '#F5B915'
let LightYellow   = '#F7D325'

let DarkBlue      = '#1CA1DB'
let LightBlue     = '#00AFDA'

let DarkMagenta   = '#652F90'
let LightMagenta  = '#894E9F'

let DarkCyan      = '#EA7D24'
let LightCyan     = '#F79321'

let White         = '#E7E8E9'

" Specific Colors
let CursorColor   = '#FF8939'
let CursorLColor  = '#202020'

let LineNrFG      = '#555555'
let LineNrBG      = '#101010'

let FoldFG        = DarkCyan
let FoldLineBG    = NormalBG
let FoldColBG     = '#050505'

let SplitFG       = '#1B1B1B'
let SplitBG       = SplitFG

let StatusBG      = DarkGray

" GUI - bold/italic/underline/none 
let GUI           = 'none'

" Different Font
let OtherFont     = '-*-neep-medium-*-*-*-10-*-*-*-*-*-*-*'

exe 'hi Nontext                   guifg='.LightGray
exe 'hi Normal                    guifg='.NormalFG.'      guibg='.NormalBG
exe 'hi Cursor                                            guibg='.CursorColor
exe 'hi CursorLine                                        guibg='.CursorLColor
exe 'hi LineNr                    guifg='.LineNrFG.'      guibg='.LineNrBG
exe 'hi Search                                            guibg='.DarkCyan
exe 'hi VertSplit                 guifg='.SplitFG.'       guibg='.SplitBG
exe 'hi Visual                                            guibg='.DarkCyan
exe 'hi Folded                    guifg='.FoldFG.'        guibg='.FoldLineBG
exe 'hi FoldColumn                guifg='.FoldFG.'        guibg='.FoldColBG
exe 'hi Directory                 guifg='.LightGreen
exe 'hi Pmenu                     guifg='.NormalFG.'      guibg='.LightGray
exe 'hi PmenuSel                  guifg='.DarkGray.'      guibg='.LightGreen
exe 'hi PMenuSbar                                         guibg='.DarkCyan
exe 'hi PMenuThumb                                        guibg='.DarkGreen
exe 'hi Comment                   guifg='.LightGray.'                                       font='.OtherFont
exe 'hi Todo                      guifg='.LightGray.'     guibg=NONE'
exe 'hi NonText                   guifg='.DarkCyan
exe 'hi SpecialKey                guifg='.DarkCyan
exe 'hi Constant                  guifg='.DarkBlue
exe 'hi Define                    guifg='.White.'                           gui='.GUI
exe 'hi Delimiter                 guifg='.DarkMagenta
exe 'hi Error                     guifg='.DarkGray.'      guibg='.DarkRed
exe 'hi Function                  guifg='.DarkRed.'                             gui='.GUI
exe 'hi Identifier                guifg='.LightYellow
exe 'hi Include                   guifg='.DarkYellow.'                          gui='.GUI
exe 'hi Keyword                   guifg='.DarkMagenta
exe 'hi Macro                     guifg='.DarkMagenta
exe 'hi Number                    guifg='.LightGreen
exe 'hi PreCondit                 guifg='.DarkMagenta.'                         gui='.GUI
exe 'hi PreProc                   guifg='.DarkYellow
exe 'hi Statement                 guifg='.LightBlue.'                           gui='.GUI
exe 'hi String                    guifg='.White
exe 'hi Title                     guifg='.LightGray
exe 'hi Type                      guifg='.DarkRed.'                             gui='.GUI
exe 'hi DiffAdd                   guifg='.DarkGray.'    guibg='.LightGreen
exe 'hi DiffDelete                guifg='.DarkGray.'    guibg='.LightRed

hi link htmlTag              xmlTag
hi link htmlTagName          xmlTagName
hi link htmlEndTag           xmlEndTag

exe 'hi xmlTag                    guifg='.LightMagenta
exe 'hi xmlTagName                guifg='.LightMagenta
exe 'hi xmlEndTag                 guifg='.LightMagenta

" Status line - changes colors depending on insert mode
" Standard
exe 'hi User1                     guifg='.DarkYellow.'  guibg='.StatusBG.'      gui='.GUI
exe 'hi User2                     guifg='.DarkRed.'     guibg='.StatusBG.'      gui='.GUI
exe 'hi User3                     guifg='.LightGreen.'  guibg='.StatusBG.'      gui='.GUI
exe 'hi User4                     guifg='.DarkGray.'    guibg='.DarkMagenta.'   gui='.GUI
exe 'hi User5                     guifg='.NormalFG.'    guibg='.StatusBG
exe 'hi User6                     guifg='.LightGray.'   guibg='.StatusBG
exe 'hi User7                     guifg='.StatusBG.'    guibg='.StatusBG.'      gui='.GUI
exe 'hi StatusLine                guifg='.NormalFG.'    guibg='.StatusBG.'      gui='.GUI
exe 'hi StatusLineNC              guifg='.LightGray.'   guibg='.StatusBG.'      gui='.GUI

function! InsertStatuslineColor(mode)
  let DarkGray      = '#101010'
  let DarkRed       = '#E84F4F'
  let DarkBlue      = '#7DC1CF'
  let DarkMagenta   = '#9B64FB'

  if a:mode == 'i' " Insert Mode
    exe 'hi User4                 guifg='.DarkGray.'    guibg='.DarkBlue

  elseif a:mode == 'r' " Replace Mode
    exe 'hi User4                 guifg='.DarkGray.'    guibg='.DarkRed

  else
    exe 'hi User4                 guifg='.DarkGray.'    guibg='.DarkMagenta

  endif
endfunction

" Call function
exe 'au InsertEnter * call InsertStatuslineColor(v:insertmode)'
exe 'au InsertLeave * hi statusline guifg='.NormalFG.' guibg='.StatusBG
exe 'au InsertLeave * hi User4      guifg='.DarkGray.' guibg='.DarkMagenta

CLICK TO VIEW

x

Comments

bollovan said about 12 years ago

Doesn’t it bug you with :set lcs=eol:< ?