├── README └── colors └── mayansmoke.vim /README: -------------------------------------------------------------------------------- 1 | This is a mirror of http://www.vim.org/scripts/script.php?script_id=3065 2 | 3 | This is a pleasant and ergonomic light-background color scheme, designed for long hours of coding and working. The UI elements are muted without being drab, the syntax elements are colorful without being garish, and the background is relaxing without being soporific. It is of a low-enough contrast so as not to cause eye-burn, but high-enough contrast so as not to cause eye-strain. The syntax coloration offers just a little higher resolution than most, distinguishing between class names vs. functions, strings and numbers vs. other constants, etc. Many of the colors in this color scheme are drawn from Mayan murals, paintings and codices, and thus the name. 4 | 5 | Screenshots: 6 | ========== 7 | 8 | - Python: http://jeetworks.org/files/images/mayansmoke-python1.png 9 | - C++: http://jeetworks.org/files/images/mayansmoke-cpp1.png 10 | 11 | Customization: 12 | ============== 13 | 14 | If any of the following highlights are defined (e.g., in your "~/.vimrc"), these will override the default highlight definitions: 15 | 16 | MayanSmokeCursorLine (will be applied to: CursorColumn and CursorLine) 17 | MayanSmokeSearch (will be applied to: Search and IncSearch) 18 | MayanSmokeSpecialKey (will be applied to: SpecialKey) 19 | 20 | For example, you can set the following in your "~/.vimrc" to select your own colors for these items: 21 | 22 | hi MayanSmokeCursorLine guifg=NONE guibg=yellow gui=NONE 23 | hi MayanSmokeSearch guifg=white guibg=blue gui=NONE 24 | hi MayanSmokeSpecialKey guifg=NONE guibg=green gui=NONE 25 | 26 | Alternatively, you can define one or more of the following values in your "~/.vimrc" to select different pre-defined levels of visibility for the above highlights: 27 | 28 | let g:mayansmoke_cursor_line_visibility = 0 " lower visibility 29 | let g:mayansmoke_cursor_line_visibility = 1 " medium visibility 30 | let g:mayansmoke_cursor_line_visibility = 2 " higher visibility 31 | 32 | let g:mayansmoke_search_visibility = 0 " low visibility 33 | let g:mayansmoke_search_visibility = 1 " medium visibility (default) 34 | let g:mayansmoke_search_visibility = 2 " high visibility 35 | let g:mayansmoke_search_visibility = 3 " very high visibility 36 | let g:mayansmoke_search_visibility = 4 " highest visibility 37 | 38 | let g:mayansmoke_special_key_visibility = 0 " lower visibility 39 | let g:mayansmoke_special_key_visibility = 1 " medium visibility 40 | let g:mayansmoke_special_key_visibility = 2 " higher visibility 41 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /colors/mayansmoke.vim: -------------------------------------------------------------------------------- 1 | " ============================================================================= 2 | " 3 | " File: mayansmoke.vim 4 | " Description: Vim color scheme file 5 | " Maintainer: Jeet Sukumaran (GUI colors); Clayton Parker (cterm colors) 6 | " 7 | " ============================================================================= 8 | 9 | " Initialization and Setup {{{1 10 | " ============================================================================= 11 | set background=light 12 | highlight clear 13 | if exists("syntax_on") 14 | syntax reset 15 | endif 16 | let colors_name = "mayansmoke" 17 | " }}} 18 | 19 | " Normal Color {{{1 20 | " ============================================================================= 21 | hi Normal gui=NONE guifg=Black guibg=#F4F4E8 22 | " }}} 23 | 24 | " Highlight Groups {{{1 25 | " ============================================================================= 26 | " Groups (see ':help highlight-groups'): 27 | " ColorColumn highlight to use with ':set colorcolumn' 28 | " Cursor the character under the cursor 29 | " CursorIM like Cursor, but used when in IME mode |CursorIM| 30 | " CursorColumn the screen column that the cursor is in when 'cursorcolumn' is set 31 | " CursorLine the screen line that the cursor is in when 'cursorline' is set 32 | " Directory directory names (and other special names in listings) 33 | " DiffAdd diff mode: Added line |diff.txt| 34 | " DiffChange diff mode: Changed line |diff.txt| 35 | " DiffDelete diff mode: Deleted line |diff.txt| 36 | " DiffText diff mode: Changed text within a changed line |diff.txt| 37 | " ErrorMsg error messages on the command line 38 | " VertSplit the column separating vertically split windows 39 | " Folded line used for closed folds 40 | " FoldColumn 'foldcolumn' 41 | " SignColumn column where |signs| are displayed 42 | " IncSearch 'incsearch' highlighting; also used for the text replaced with ":s///c" 43 | " LineNr Line number for ":number" and ":#" commands, and when 'number' option is set. 44 | " MatchParen The character under the cursor or just before it, if it is a paired bracket, and its match. |pi_paren.txt| 45 | " ModeMsg 'showmode' message (e.g., "-- INSERT --") 46 | " MoreMsg |more-prompt| 47 | " NonText '~' and '@' at the end of the window, etc. 48 | " Normal normal text 49 | " Pmenu Popup menu: normal item. 50 | " PmenuSel Popup menu: selected item. 51 | " PmenuSbar Popup menu: scrollbar. 52 | " PmenuThumb Popup menu: Thumb of the scrollbar. 53 | " Question |hit-enter| prompt and yes/no questions 54 | " Search Last search pattern highlighting (see 'hlsearch'). 55 | " SpecialKey Meta and special keys listed with ":map", text that is displayed differently from what it really is (such as tabs, spaces in listchars etc.). 56 | " SpellBad Word that is not recognized by the spellchecker. |spell| 57 | " SpellCap Word that should start with a capital. |spell| 58 | " SpellLocal Word that is recognized by the spellchecker as one that is 59 | " SpellRare Word that is recognized by the spellchecker as one that is hardly ever used. |spell| 60 | " StatusLine status line of current window 61 | " StatusLineNC status lines of not-current windows 62 | " TabLine tab pages line, not active tab page label 63 | " TabLineFill tab pages line, where there are no labels 64 | " TabLineSel tab pages line, active tab page label 65 | " Title titles for output from ":set all", ":autocmd" etc. 66 | " Visual Visual mode selection 67 | " VisualNOS Visual mode selection when vim is "Not Owning the Selection". 68 | " WarningMsg warning messages 69 | " WildMenu current match in 'wildmenu' completion 70 | hi ColorColumn guifg=NONE guibg=#EEEEDD 71 | hi Cursor guifg=bg guibg=fg gui=NONE 72 | if hlexists('MayanSmokeCursorLine') 73 | hi link CursorColumn MayanSmokeCursorLine 74 | hi link CursorLine MayanSmokeCursorLine 75 | elseif exists('g:mayansmoke_cursor_line_visibility') && g:mayansmoke_cursor_line_visibility >= 2 76 | hi CursorColumn guifg=NONE guibg=NavajoWhite gui=NONE 77 | hi CursorLine guifg=NONE guibg=NavajoWhite gui=NONE 78 | elseif exists('g:mayansmoke_cursor_line_visibility') && g:mayansmoke_cursor_line_visibility >= 1 79 | hi CursorColumn guifg=NONE guibg=white gui=NONE 80 | hi CursorLine guifg=NONE guibg=white gui=NONE 81 | else 82 | hi CursorColumn guifg=NONE guibg=#FFFDD0 gui=NONE 83 | hi CursorLine guifg=NONE guibg=#FFFDD0 gui=NONE 84 | endif 85 | hi CursorIM guifg=bg guibg=fg gui=NONE 86 | hi lCursor guifg=bg guibg=fg gui=NONE 87 | hi DiffAdd guifg=NONE guibg=SeaGreen1 gui=NONE 88 | hi DiffChange guifg=NONE guibg=LightSkyBlue1 gui=NONE 89 | hi DiffDelete guifg=NONE guibg=LightCoral gui=NONE 90 | hi DiffText guifg=black guibg=LightCyan1 gui=NONE 91 | hi Directory guifg=#1600FF guibg=bg gui=NONE 92 | hi ErrorMsg guifg=Red2 guibg=NONE gui=NONE 93 | hi FoldColumn guifg=SteelBlue4 guibg=LightYellow2 gui=bold 94 | hi Folded guifg=SteelBlue4 guibg=Gainsboro gui=italic 95 | if hlexists('MayanSmokeSearch') 96 | hi link IncSearch MayanSmokeSearch 97 | hi link Search MayanSmokeSearch 98 | elseif exists('g:mayansmoke_search_visibility') && g:mayansmoke_search_visibility >= 4 99 | hi IncSearch guifg=white guibg=red gui=NONE 100 | hi Search guifg=white guibg=red gui=NONE 101 | elseif exists('g:mayansmoke_search_visibility') && g:mayansmoke_search_visibility == 3 102 | hi IncSearch guifg=black guibg=gold gui=NONE 103 | hi Search guifg=black guibg=gold gui=NONE 104 | elseif exists('g:mayansmoke_search_visibility') && g:mayansmoke_search_visibility == 2 105 | hi IncSearch guifg=white guibg=darkorange gui=NONE 106 | hi Search guifg=white guibg=darkorange gui=NONE 107 | elseif exists('g:mayansmoke_search_visibility') && g:mayansmoke_search_visibility == 0 108 | hi IncSearch guifg=black guibg=tan gui=NONE 109 | hi Search guifg=black guibg=tan gui=NONE 110 | else 111 | hi IncSearch guifg=black guibg=khaki gui=NONE 112 | hi Search guifg=black guibg=khaki gui=NONE 113 | endif 114 | hi LineNr guifg=#666677 guibg=#cccfbf gui=NONE 115 | hi MatchParen guifg=black guibg=LemonChiffon3 gui=bold 116 | hi ModeMsg guifg=White guibg=tomato1 gui=bold 117 | hi MoreMsg guifg=SeaGreen4 guibg=bg gui=bold 118 | hi NonText guifg=LightCyan3 guibg=bg gui=bold 119 | 120 | hi Pmenu guifg=Orange4 guibg=LightYellow3 gui=NONE 121 | hi PmenuSel guifg=ivory2 guibg=NavajoWhite4 gui=bold 122 | hi PmenuSbar guifg=White guibg=#999666 gui=NONE 123 | hi PmenuThumb guifg=White guibg=#7B7939 gui=NONE 124 | 125 | hi Question guifg=Chartreuse4 guibg=bg gui=bold 126 | hi SignColumn guifg=white guibg=LightYellow3 gui=NONE 127 | if hlexists('MayanSmokeSpecialKey') 128 | hi link SpecialKey MayanSmokeSpecialKey 129 | elseif exists('g:mayansmoke_special_key_visibility') && g:mayansmoke_special_key_visibility >= 2 130 | hi SpecialKey guifg=black guibg=NavajoWhite gui=NONE 131 | elseif exists('g:mayansmoke_special_key_visibility') && g:mayansmoke_special_key_visibility == 0 132 | hi SpecialKey guifg=bisque3 guibg=NONE gui=NONE 133 | else 134 | hi SpecialKey guifg=white guibg=ivory3 gui=NONE 135 | endif 136 | hi SpellBad guisp=Firebrick2 gui=undercurl 137 | hi SpellCap guisp=Blue gui=undercurl 138 | hi SpellLocal guisp=DarkCyan gui=undercurl 139 | hi SpellRare guisp=Magenta gui=undercurl 140 | hi StatusLine guifg=#FFFEEE guibg=#557788 gui=NONE 141 | " hi StatusLineNC guifg=#EAE6E2 guibg=LightSteelBlue3 gui=italic 142 | hi StatusLineNC guifg=#F4F4EE guibg=#99aabb gui=italic 143 | hi TabLine guifg=fg guibg=LightGrey gui=underline 144 | hi TabLineFill guifg=fg guibg=bg gui=reverse 145 | hi TabLineSel guifg=fg guibg=bg gui=bold 146 | hi Title guifg=DeepSkyBlue3 guibg=bg gui=bold 147 | hi VertSplit guifg=#99aabb guibg=#99aabb 148 | hi Visual guifg=white guibg=DeepSkyBlue1 gui=NONE 149 | hi WarningMsg guifg=Firebrick2 guibg=bg gui=NONE 150 | hi WildMenu guifg=Black guibg=SkyBlue gui=NONE 151 | " }}} 152 | 153 | " 256-Color Terminal Colors, by Clayton Parker {{{1 154 | " ============================================================================= 155 | hi Normal cterm=NONE ctermfg=16 ctermbg=255 156 | hi Comment ctermfg=110 157 | hi Constant ctermfg=214 158 | hi String ctermfg=30 159 | hi Boolean ctermfg=88 160 | hi Identifier ctermfg=160 161 | hi Function ctermfg=132 162 | hi Statement ctermfg=21 163 | hi Keyword ctermfg=45 164 | hi PreProc ctermfg=27 165 | hi Type ctermfg=147 166 | hi Special ctermfg=64 167 | hi Ignore ctermfg=255 168 | hi Error ctermfg=196 ctermbg=255 term=none 169 | hi Todo ctermfg=136 ctermbg=255 cterm=NONE 170 | hi VimError ctermfg=160 ctermbg=16 171 | hi VimCommentTitle ctermfg=110 172 | hi qfLineNr ctermfg=16 ctermbg=46 cterm=NONE 173 | hi pythonDecorator ctermfg=208 ctermbg=255 cterm=NONE 174 | hi Cursor ctermfg=255 ctermbg=16 cterm=NONE 175 | hi CursorColumn ctermfg=NONE ctermbg=255 cterm=NONE 176 | hi CursorIM ctermfg=255 ctermbg=16 cterm=NONE 177 | hi CursorLine ctermfg=NONE ctermbg=254 cterm=NONE 178 | hi lCursor ctermfg=255 ctermbg=16 cterm=NONE 179 | hi DiffAdd ctermfg=16 ctermbg=48 cterm=NONE 180 | hi DiffChange ctermfg=16 ctermbg=153 cterm=NONE 181 | hi DiffDelete ctermfg=16 ctermbg=203 cterm=NONE 182 | hi DiffText ctermfg=16 ctermbg=226 cterm=NONE 183 | hi Directory ctermfg=21 ctermbg=255 cterm=NONE 184 | hi ErrorMsg ctermfg=160 ctermbg=NONE cterm=NONE 185 | hi FoldColumn ctermfg=24 ctermbg=252 cterm=NONE 186 | hi Folded ctermfg=24 ctermbg=252 cterm=NONE 187 | hi IncSearch ctermfg=255 ctermbg=160 cterm=NONE 188 | hi LineNr ctermfg=253 ctermbg=110 cterm=NONE 189 | hi NonText ctermfg=110 ctermbg=255 cterm=NONE 190 | hi Pmenu ctermfg=fg ctermbg=195 cterm=NONE 191 | hi PmenuSbar ctermfg=255 ctermbg=153 cterm=NONE 192 | hi PmenuSel ctermfg=255 ctermbg=21 cterm=NONE 193 | hi PmenuThumb ctermfg=111 ctermbg=255 cterm=NONE 194 | hi SignColumn ctermfg=110 ctermbg=254 cterm=NONE 195 | hi Search ctermfg=255 ctermbg=160 cterm=NONE 196 | hi SpecialKey ctermfg=255 ctermbg=144 cterm=NONE 197 | hi SpellBad ctermfg=16 ctermbg=229 cterm=NONE 198 | hi SpellCap ctermfg=16 ctermbg=231 cterm=NONE 199 | hi SpellLocal ctermfg=16 ctermbg=231 cterm=NONE 200 | hi SpellRare ctermfg=16 ctermbg=226 cterm=NONE 201 | hi StatusLine ctermfg=255 ctermbg=24 cterm=NONE 202 | hi StatusLineNC ctermfg=253 ctermbg=110 cterm=NONE 203 | hi Title ctermfg=75 ctermbg=255 cterm=NONE 204 | hi VertSplit ctermfg=255 ctermbg=24 cterm=NONE 205 | hi Visual ctermfg=255 ctermbg=153 cterm=NONE 206 | hi WildMenu ctermfg=16 ctermbg=117 cterm=NONE 207 | 208 | " 1}}} 209 | 210 | " Syntax {{{1 211 | " ============================================================================= 212 | 213 | " General {{{2 214 | " ----------------------------------------------------------------------------- 215 | " Groups ('*' = major; see 'help group-name'): 216 | " *Comment any comment 217 | " *Constant any constant 218 | " String a string constant: "this is a string" 219 | " Character a character constant: 'c', '\n' 220 | " Number a number constant: 234, 0xff 221 | " Boolean a boolean constant: TRUE, false 222 | " Float a floating point constant: 2.3e10 223 | " *Identifier any variable name 224 | " Function function name (also: methods for classes) 225 | " *Statement any statement 226 | " Conditional if, then, else, endif, switch, etc. 227 | " Repeat for, do, while, etc. 228 | " Label case, default, etc. 229 | " Operator "sizeof", "+", "*", etc. 230 | " Keyword any other keyword 231 | " Exception try, catch, throw 232 | " *PreProc generic Preprocessor 233 | " Include preprocessor #include 234 | " Define preprocessor #define 235 | " Macro same as Define 236 | " PreCondit preprocessor #if, #else, #endif, etc. 237 | " *Type int, long, char, etc. 238 | " StorageClass static, register, volatile, etc. 239 | " Structure struct, union, enum, etc. 240 | " Typedef A typedef 241 | " *Special any special symbol 242 | " SpecialChar special character in a constant 243 | " Tag you can use CTRL-] on this 244 | " Delimiter character that needs attention 245 | " SpecialComment special things inside a comment 246 | " Debug debugging statements 247 | " *Error any erroneous construct 248 | " *Todo anything that needs extra attention 249 | " hi Comment guifg=#A2B5CD guibg=NONE gui=italic 250 | hi Comment guifg=#96AAC2 guibg=NONE gui=italic 251 | hi Constant guifg=DarkOrange guibg=NONE gui=NONE 252 | hi String guifg=Aquamarine4 guibg=NONE gui=NONE 253 | hi Boolean guifg=IndianRed4 guibg=NONE gui=NONE 254 | hi Identifier guifg=brown3 guibg=NONE gui=NONE 255 | hi Function guifg=VioletRed4 guibg=NONE gui=NONE 256 | hi Statement guifg=blue1 guibg=NONE gui=NONE 257 | hi Keyword guifg=DodgerBlue guibg=NONE gui=NONE 258 | hi PreProc guifg=blue1 guibg=NONE gui=NONE 259 | hi Type guifg=LightSlateBlue guibg=NONE gui=NONE 260 | hi Special guifg=DarkOliveGreen4 guibg=NONE gui=NONE 261 | hi Ignore guifg=bg guibg=NONE gui=NONE 262 | hi Error guifg=Red guibg=NONE gui=underline 263 | hi Todo guifg=tan4 guibg=NONE gui=underline 264 | " 2}}} 265 | 266 | " Vim {{{2 267 | " ----------------------------------------------------------------------------- 268 | hi VimError guifg=red guibg=Black gui=bold 269 | hi VimCommentTitle guifg=DarkSlateGray4 guibg=bg gui=bold,italic 270 | " 2}}} 271 | 272 | " QuickFix {{{2 273 | " ----------------------------------------------------------------------------- 274 | 275 | " syn match qfFileName "^[^|]*" nextgroup=qfSeparator 276 | " syn match qfSeparator "|" nextgroup=qfLineNr contained 277 | " syn match qfLineNr "[^|]*" contained contains=qfError 278 | " syn match qfError "error" contained 279 | hi qfFileName guifg=LightSkyBlue4 guibg=NONE gui=italic 280 | hi qfLineNr guifg=coral guibg=NONE gui=bold 281 | hi qfError guifg=red guibg=NONE gui=bold 282 | " 2}}} 283 | 284 | " Python {{{2 285 | " ----------------------------------------------------------------------------- 286 | hi pythonDecorator guifg=orange3 guibg=NONE gui=bold 287 | hi link pythonDecoratorFunction pythonDecorator 288 | " 2}}} 289 | 290 | " Diff {{{2 291 | " ----------------------------------------------------------------------------- 292 | hi diffOldFile guifg=#006666 guibg=NONE gui=NONE 293 | hi diffNewFile guifg=#0088FF guibg=NONE gui=bold 294 | hi diffFile guifg=#0000FF guibg=NONE gui=NONE 295 | hi link diffOnly Constant 296 | hi link diffIdentical Constant 297 | hi link diffDiffer Constant 298 | hi link diffBDiffer Constant 299 | hi link diffIsA Constant 300 | hi link diffNoEOL Constant 301 | hi link diffCommon Constant 302 | hi diffRemoved guifg=#BB0000 guibg=NONE gui=NONE 303 | hi diffChanged guifg=DarkSeaGreen guibg=NONE gui=NONE 304 | hi diffAdded guifg=#00AA00 guibg=NONE gui=NONE 305 | hi diffLine guifg=thistle4 guibg=NONE gui=italic 306 | hi link diffSubname diffLine 307 | hi link diffComment Comment 308 | " 2}}} 309 | 310 | " PHP (contributed by Ryan Kulla) {{{2 311 | " ----------------------------------------------------------------------------- 312 | " Ryan Kulla's addition for PHP syntax highlighting (for regular/terminal vim) 313 | hi phpConditional ctermfg=21 cterm=NONE guifg=black 314 | hi phpIdentifier ctermfg=0 cterm=NONE guifg=black 315 | hi phpOperator ctermfg=black cterm=NONE guifg=black 316 | hi phpRegion ctermfg=132 cterm=NONE guifg=VioletRed4 317 | hi phpComparison ctermfg=black cterm=NONE guifg=black 318 | hi phpType ctermfg=darkgreen cterm=NONE guifg=darkgreen 319 | hi phpParent ctermfg=black cterm=NONE guifg=black 320 | hi phpMethodsVar ctermfg=132 cterm=NONE guifg=VioletRed4 321 | hi phpStatement ctermfg=21 cterm=NONE guifg=blue 322 | hi phpStorageClass ctermfg=21 cterm=NONE guifg=blue 323 | hi phpStringSingle ctermfg=30 cterm=NONE guifg=Aquamarine4 324 | hi phpStringDouble ctermfg=30 cterm=NONE guifg=Aquamarine4 325 | hi phpFunctions ctermfg=21 cterm=NONE guifg=blue 326 | hi phpSpecialFunction ctermfg=21 cterm=NONE guifg=blue 327 | hi phpRepeat ctermfg=21 cterm=NONE guifg=blue 328 | hi phpNumber ctermfg=214 cterm=bold guifg=brown 329 | hi phpTodo ctermfg=red cterm=bold guifg=red gui=bold 330 | hi phpDefine ctermfg=21 cterm=NONE guifg=blue 331 | hi phpConstant ctermfg=21 cterm=NONE guifg=black 332 | hi phpCoreConstant ctermfg=21 cterm=NONE guifg=black 333 | hi phpMemberSelector ctermfg=black cterm=NONE guifg=black 334 | hi phpLabel ctermfg=21 cterm=NONE guifg=blue 335 | hi phpStructure ctermfg=black cterm=NONE guifg=black 336 | hi phpRelation ctermfg=black cterm=NONE guifg=black 337 | hi phpEnvVar ctermfg=black cterm=NONE guifg=black 338 | hi phpIntVar ctermfg=0 cterm=bold guifg=black gui=bold 339 | hi phpBoolean ctermfg=58 cterm=NONE guifg=brown 340 | " 2}}} 341 | 342 | " 1}}} 343 | 344 | --------------------------------------------------------------------------------