├── .vim ├── .netrwhist ├── after │ └── syntax │ │ └── moin.vim ├── autoload │ └── pathogen.vim ├── bundle │ └── .gitignore ├── colors │ ├── Tomorrow-Night.vim │ ├── aldmeris.vim │ ├── ambient.vim │ ├── chance-of-storm.vim │ ├── darkburn.vim │ ├── darkspectrum.vim │ ├── diablo3.vim │ ├── fu.vim │ ├── hornet.vim │ ├── kaltex.vim │ ├── liquidcarbon.vim │ ├── lucius.vim │ ├── pigraph.vim │ ├── smyck.vim │ ├── solarized.vim │ ├── tango2.vim │ ├── terse.vim │ ├── twilight.vim │ ├── underwater-mod.vim │ ├── vilight.vim │ ├── void.vim │ ├── vydark.vim │ ├── werks.vim │ ├── wombat.vim │ ├── xoria256-1.6.vim │ ├── xorium.vim │ └── zazen.vim ├── dict.add └── dict.add.spl ├── .vimrc ├── README.rst ├── bundle └── .gitignore ├── bundle_list ├── custom_snippets ├── _-custom.snippets ├── html-custom.snippets ├── javascript-custom.snippets ├── mail-custom.snippets ├── python-custom.snippets └── rst-custom.snippets ├── install.py └── vimsync.sh /.vim/.netrwhist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitechie/pyvim/6efb331f2fbf61077b0385bf64d46b64861939b0/.vim/.netrwhist -------------------------------------------------------------------------------- /.vim/after/syntax/moin.vim: -------------------------------------------------------------------------------- 1 | " Vim syntax file 2 | " Language: MoinMoin 3 | " Maintainer: Michael Lamertz 4 | " Contributors: David O'Callaghan 5 | " Tony Garland 6 | " Ingo Karkat 7 | " Last Change: 27-Jan-2008 8 | " 27-Jan-2008 Incorporated syntax changes of MoinMoin 1.6; the 9 | " syntax version is configurable via g:moin_version (globally) or 10 | " b:moin_version (for the current buffer only). 11 | " Small BFs: 'elsif', 'did_acedb_...'. 12 | " 22-Aug-2007 Added moinEmbedded highlighting. 13 | " 08-May-2007 Added contains=@NoSpell for URLs, Email, pragmas and 14 | " (configurable via g:moin_spell_wikiwords) WikiWords. 15 | 16 | " Bugs: Parsing of mixed bold-italic not yet implemented 17 | " Tables not yet implemented 18 | 19 | if version < 600 20 | syntax clear 21 | elseif exists("b:current_syntax") 22 | finish 23 | endif 24 | 25 | function! s:GetMoinVersion() 26 | if exists('b:moin_version') 27 | return b:moin_version 28 | elseif exists('g:moin_version') 29 | return g:moin_version 30 | else 31 | return 999 32 | endif 33 | endfunction 34 | 35 | " headings 36 | syn match moinHeader /^\(=\{1,5}\).*\1$/ 37 | 38 | " inline markup 39 | syn match moinItalic /\('\{2}\)[^']\+\1/ 40 | syn match moinBold /\('\{3}\)[^']\+\1/ 41 | syn match moinBoldItalic /\('\{5}\)[^']\+\1/ 42 | syn match moinUnderline /\(_\{2}\).\{-}\1/ 43 | syn match moinSubscript /\(,\{2}\).\{-}\1/ 44 | syn match moinSuperscript /\(\^\).\{-}\1/ 45 | syn match moinTypewriter /\(`\).\{-}\1/ 46 | if s:GetMoinVersion() < 160 47 | syn match moinMacro /\[\{2}.\{-}\]\{2}/ 48 | else 49 | syn match moinMacro /<\{2}.\{-}>\{2}/ 50 | endif 51 | 52 | " Codeblocks 53 | syn region moinPreformatted start=/{{{/ end=/}}}/ 54 | 55 | " Links 56 | if exists('g:moin_spell_wikiwords') 57 | syn match moinWikiWord /\(\w\+:\)\?\u[a-z0-9]\+\u[a-z0-9]\+\(\u[a-z0-9]\+\)*/ 58 | syn match moinSubLink /\(\w\+\|\.\.\)\?\// nextgroup=moinWikiWord 59 | else 60 | syn match moinWikiWord /\(\w\+:\)\?\u[a-z0-9]\+\u[a-z0-9]\+\(\u[a-z0-9]\+\)*/ contains=@NoSpell 61 | syn match moinSubLink /\(\w\+\|\.\.\)\?\// nextgroup=moinWikiWord contains=@NoSpell 62 | endif 63 | syn match moinNormalURL /\w\+:\/\/\S\+/ contains=@NoSpell 64 | syn match moinEmail /\S\+@\S\+/ contains=@NoSpell 65 | if s:GetMoinVersion() < 160 66 | syn match moinBracketLink /\[[^[\]]\+\]/ contains=@NoSpell 67 | syn match moinEmbedded /attachment:\S\+/ contains=@NoSpell 68 | syn match moinEmbedded /inline:\S\+/ contains=@NoSpell 69 | else 70 | syn match moinBracketLink /\[\{2}.\{-}\]\{2}/ contains=@NoSpell 71 | syn match moinEmbedded /{\{2}[^{].\{-}}\{2}/ contains=@NoSpell 72 | endif 73 | 74 | 75 | " lists 76 | syn match moinBulletList /^\(\s\+\)\zs\*\ze\s/ 77 | syn match moinNumberedList /^\(\s\+\)\zs1\.\ze\s/ 78 | syn match moinAlphalist /^\(\s\+\)\zsa\.\ze\s/ 79 | syn match moinRomanlist /^\(\s\+\)\zsi\.\ze\s/ 80 | syn match moinBigromanlist /^\(\s\+\)\zsI\.\ze\s/ 81 | syn match moinDescriptionlist /^\(\s\+\)\zs.\{-}::\ze\s/ 82 | 83 | " rules 84 | syn match moinRule /^-\{4,}/ 85 | 86 | " comments/pragmas 87 | syn match moinComment /^##.*$/ 88 | syn match moinPragma /^#\w\+.*$/ contains=@NoSpell 89 | 90 | " variables 91 | syn match moinVariable /@\w\+@/ 92 | 93 | 94 | " Define the default highlighting. 95 | " For version 5.7 and earlier: only when not done already 96 | " For version 5.8 and later: only when an item doesn't have highlighting yet 97 | if version >= 508 || !exists("did_moin_syn_inits") 98 | if version < 508 99 | let did_moin_syn_inits = 1 100 | command -nargs=+ HiLink hi link 101 | else 102 | command -nargs=+ HiLink hi def link 103 | endif 104 | 105 | HiLink moinHeader Function 106 | 107 | HiLink moinItalic Identifier 108 | HiLink moinBold Identifier 109 | HiLink moinBoldItalic Identifier 110 | HiLink moinUnderline Identifier 111 | HiLink moinSubscript Identifier 112 | HiLink moinSuperscript Identifier 113 | HiLink moinTypewriter Identifier 114 | HiLink moinMacro Define 115 | HiLink moinPragma Define 116 | HiLink moinEmbedded Include 117 | 118 | HiLink moinPreformatted String 119 | 120 | HiLink moinWikiWord Statement 121 | HiLink moinBracketLink Statement 122 | HiLink moinNormalURL Statement 123 | HiLink moinSubLink Statement 124 | HiLink moinInterLink Statement 125 | HiLink moinEmail Statement 126 | 127 | HiLink moinBulletList Type 128 | HiLink moinNumberedList Type 129 | HiLink moinAlphalist Type 130 | HiLink moinRomanlist Type 131 | HiLink moinBigromanlist Type 132 | HiLink moinDescriptionlist Type 133 | 134 | HiLink moinRule Special 135 | 136 | HiLink moinComment Comment 137 | 138 | HiLink moinVariable Macro 139 | 140 | delcommand HiLink 141 | endif 142 | 143 | let b:current_syntax = "moin" 144 | -------------------------------------------------------------------------------- /.vim/autoload/pathogen.vim: -------------------------------------------------------------------------------- 1 | " pathogen.vim - path option manipulation 2 | " Maintainer: Tim Pope 3 | " Version: 1.2 4 | 5 | " Install in ~/.vim/autoload (or ~\vimfiles\autoload). 6 | " 7 | " API is documented below. 8 | 9 | if exists("g:loaded_pathogen") || &cp 10 | finish 11 | endif 12 | let g:loaded_pathogen = 1 13 | 14 | " Split a path into a list. 15 | function! pathogen#split(path) abort " {{{1 16 | if type(a:path) == type([]) | return a:path | endif 17 | let split = split(a:path,'\\\@ output 71 | silent filetype 72 | redir END 73 | let result = {} 74 | let result.detection = match(output,'detection:ON') >= 0 75 | let result.indent = match(output,'indent:ON') >= 0 76 | let result.plugin = match(output,'plugin:ON') >= 0 77 | return result 78 | endfunction " }}}1 79 | 80 | " \ on Windows unless shellslash is set, / everywhere else. 81 | function! pathogen#separator() abort " {{{1 82 | return !exists("+shellslash") || &shellslash ? '/' : '\' 83 | endfunction " }}}1 84 | 85 | " Convenience wrapper around glob() which returns a list. 86 | function! pathogen#glob(pattern) abort " {{{1 87 | let files = split(glob(a:pattern),"\n") 88 | return map(files,'substitute(v:val,"[".pathogen#separator()."/]$","","")') 89 | endfunction "}}}1 90 | 91 | " Like pathogen#glob(), only limit the results to directories. 92 | function! pathogen#glob_directories(pattern) abort " {{{1 93 | return filter(pathogen#glob(a:pattern),'isdirectory(v:val)') 94 | endfunction "}}}1 95 | 96 | " Prepend all subdirectories of path to the rtp, and append all after 97 | " directories in those subdirectories. 98 | function! pathogen#runtime_prepend_subdirectories(path) " {{{1 99 | let sep = pathogen#separator() 100 | let before = pathogen#glob_directories(a:path.sep."*[^~]") 101 | let after = pathogen#glob_directories(a:path.sep."*[^~]".sep."after") 102 | let rtp = pathogen#split(&rtp) 103 | let path = expand(a:path) 104 | call filter(rtp,'v:val[0:strlen(path)-1] !=# path') 105 | let &rtp = pathogen#join(pathogen#uniq(before + rtp + after)) 106 | return &rtp 107 | endfunction " }}}1 108 | 109 | " For each directory in rtp, check for a subdirectory named dir. If it 110 | " exists, add all subdirectories of that subdirectory to the rtp, immediately 111 | " after the original directory. If no argument is given, 'bundle' is used. 112 | " Repeated calls with the same arguments are ignored. 113 | function! pathogen#runtime_append_all_bundles(...) " {{{1 114 | let sep = pathogen#separator() 115 | let name = a:0 ? a:1 : 'bundle' 116 | let list = [] 117 | for dir in pathogen#split(&rtp) 118 | if dir =~# '\grey_number(x) 35 | if &t_Co == 88 36 | if a:x < 23 37 | return 0 38 | elseif a:x < 69 39 | return 1 40 | elseif a:x < 103 41 | return 2 42 | elseif a:x < 127 43 | return 3 44 | elseif a:x < 150 45 | return 4 46 | elseif a:x < 173 47 | return 5 48 | elseif a:x < 196 49 | return 6 50 | elseif a:x < 219 51 | return 7 52 | elseif a:x < 243 53 | return 8 54 | else 55 | return 9 56 | endif 57 | else 58 | if a:x < 14 59 | return 0 60 | else 61 | let l:n = (a:x - 8) / 10 62 | let l:m = (a:x - 8) % 10 63 | if l:m < 5 64 | return l:n 65 | else 66 | return l:n + 1 67 | endif 68 | endif 69 | endif 70 | endfun 71 | 72 | " Returns the actual grey level represented by the grey index 73 | fun grey_level(n) 74 | if &t_Co == 88 75 | if a:n == 0 76 | return 0 77 | elseif a:n == 1 78 | return 46 79 | elseif a:n == 2 80 | return 92 81 | elseif a:n == 3 82 | return 115 83 | elseif a:n == 4 84 | return 139 85 | elseif a:n == 5 86 | return 162 87 | elseif a:n == 6 88 | return 185 89 | elseif a:n == 7 90 | return 208 91 | elseif a:n == 8 92 | return 231 93 | else 94 | return 255 95 | endif 96 | else 97 | if a:n == 0 98 | return 0 99 | else 100 | return 8 + (a:n * 10) 101 | endif 102 | endif 103 | endfun 104 | 105 | " Returns the palette index for the given grey index 106 | fun grey_colour(n) 107 | if &t_Co == 88 108 | if a:n == 0 109 | return 16 110 | elseif a:n == 9 111 | return 79 112 | else 113 | return 79 + a:n 114 | endif 115 | else 116 | if a:n == 0 117 | return 16 118 | elseif a:n == 25 119 | return 231 120 | else 121 | return 231 + a:n 122 | endif 123 | endif 124 | endfun 125 | 126 | " Returns an approximate colour index for the given colour level 127 | fun rgb_number(x) 128 | if &t_Co == 88 129 | if a:x < 69 130 | return 0 131 | elseif a:x < 172 132 | return 1 133 | elseif a:x < 230 134 | return 2 135 | else 136 | return 3 137 | endif 138 | else 139 | if a:x < 75 140 | return 0 141 | else 142 | let l:n = (a:x - 55) / 40 143 | let l:m = (a:x - 55) % 40 144 | if l:m < 20 145 | return l:n 146 | else 147 | return l:n + 1 148 | endif 149 | endif 150 | endif 151 | endfun 152 | 153 | " Returns the actual colour level for the given colour index 154 | fun rgb_level(n) 155 | if &t_Co == 88 156 | if a:n == 0 157 | return 0 158 | elseif a:n == 1 159 | return 139 160 | elseif a:n == 2 161 | return 205 162 | else 163 | return 255 164 | endif 165 | else 166 | if a:n == 0 167 | return 0 168 | else 169 | return 55 + (a:n * 40) 170 | endif 171 | endif 172 | endfun 173 | 174 | " Returns the palette index for the given R/G/B colour indices 175 | fun rgb_colour(x, y, z) 176 | if &t_Co == 88 177 | return 16 + (a:x * 16) + (a:y * 4) + a:z 178 | else 179 | return 16 + (a:x * 36) + (a:y * 6) + a:z 180 | endif 181 | endfun 182 | 183 | " Returns the palette index to approximate the given R/G/B colour levels 184 | fun colour(r, g, b) 185 | " Get the closest grey 186 | let l:gx = grey_number(a:r) 187 | let l:gy = grey_number(a:g) 188 | let l:gz = grey_number(a:b) 189 | 190 | " Get the closest colour 191 | let l:x = rgb_number(a:r) 192 | let l:y = rgb_number(a:g) 193 | let l:z = rgb_number(a:b) 194 | 195 | if l:gx == l:gy && l:gy == l:gz 196 | " There are two possibilities 197 | let l:dgr = grey_level(l:gx) - a:r 198 | let l:dgg = grey_level(l:gy) - a:g 199 | let l:dgb = grey_level(l:gz) - a:b 200 | let l:dgrey = (l:dgr * l:dgr) + (l:dgg * l:dgg) + (l:dgb * l:dgb) 201 | let l:dr = rgb_level(l:gx) - a:r 202 | let l:dg = rgb_level(l:gy) - a:g 203 | let l:db = rgb_level(l:gz) - a:b 204 | let l:drgb = (l:dr * l:dr) + (l:dg * l:dg) + (l:db * l:db) 205 | if l:dgrey < l:drgb 206 | " Use the grey 207 | return grey_colour(l:gx) 208 | else 209 | " Use the colour 210 | return rgb_colour(l:x, l:y, l:z) 211 | endif 212 | else 213 | " Only one possibility 214 | return rgb_colour(l:x, l:y, l:z) 215 | endif 216 | endfun 217 | 218 | " Returns the palette index to approximate the 'rrggbb' hex string 219 | fun rgb(rgb) 220 | let l:r = ("0x" . strpart(a:rgb, 0, 2)) + 0 221 | let l:g = ("0x" . strpart(a:rgb, 2, 2)) + 0 222 | let l:b = ("0x" . strpart(a:rgb, 4, 2)) + 0 223 | 224 | return colour(l:r, l:g, l:b) 225 | endfun 226 | 227 | " Sets the highlighting for the given group 228 | fun X(group, fg, bg, attr) 229 | if a:fg != "" 230 | exec "hi " . a:group . " guifg=#" . a:fg . " ctermfg=" . rgb(a:fg) 231 | endif 232 | if a:bg != "" 233 | exec "hi " . a:group . " guibg=#" . a:bg . " ctermbg=" . rgb(a:bg) 234 | endif 235 | if a:attr != "" 236 | exec "hi " . a:group . " gui=" . a:attr . " cterm=" . a:attr 237 | endif 238 | endfun 239 | 240 | " Vim Highlighting 241 | call X("Normal", s:foreground, s:background, "") 242 | call X("LineNr", s:foreground, "", "") 243 | call X("NonText", s:selection, "", "") 244 | call X("SpecialKey", s:selection, "", "") 245 | call X("Search", "", s:selection, "") 246 | call X("StatusLine", s:foreground, s:background, "reverse") 247 | call X("StatusLineNC", s:foreground, s:background, "reverse") 248 | call X("Visual", "", s:selection, "") 249 | call X("Directory", s:blue, "", "") 250 | call X("ModeMsg", s:green, "", "") 251 | call X("MoreMsg", s:green, "", "") 252 | call X("Question", s:green, "", "") 253 | call X("WarningMsg", s:red, "", "") 254 | if version >= 700 255 | call X("CursorLine", "", s:line, "none") 256 | call X("CursorColumn", "", s:line, "none") 257 | call X("PMenu", s:foreground, s:selection, "none") 258 | call X("PMenuSel", s:foreground, s:selection, "reverse") 259 | end 260 | 261 | " Standard Highlighting 262 | call X("Comment", s:comment, "", "") 263 | call X("Todo", s:comment, "", "") 264 | call X("Title", s:comment, "", "") 265 | call X("Identifier", s:red, "", "none") 266 | call X("Statement", s:foreground, "", "") 267 | call X("Conditional", s:foreground, "", "") 268 | call X("Repeat", s:foreground, "", "") 269 | call X("Structure", s:purple, "", "") 270 | call X("Function", s:blue, "", "") 271 | call X("Constant", s:orange, "", "") 272 | call X("String", s:green, "", "") 273 | call X("Special", s:foreground, "", "") 274 | call X("PreProc", s:purple, "", "") 275 | call X("Operator", s:foreground, "", "none") 276 | call X("Type", s:blue, "", "none") 277 | call X("Define", s:purple, "", "none") 278 | call X("Include", s:blue, "", "") 279 | "call X("Ignore", "666666", "", "") 280 | 281 | " Vim Highlighting 282 | call X("vimCommand", s:red, "", "none") 283 | 284 | " C Highlighting 285 | call X("cType", s:yellow, "", "") 286 | call X("cStorageClass", s:purple, "", "") 287 | 288 | " PHP Highlighting 289 | call X("phpVarSelector", s:red, "", "") 290 | call X("phpKeyword", s:purple, "", "") 291 | 292 | " Ruby Highlighting 293 | call X("rubySymbol", s:green, "", "") 294 | call X("rubyConstant", s:yellow, "", "") 295 | call X("rubyAttribute", s:blue, "", "") 296 | call X("rubyInclude", s:blue, "", "") 297 | call X("rubyLocalVariableOrMethod", s:orange, "", "") 298 | call X("rubyCurlyBlock", s:orange, "", "") 299 | 300 | " Delete Functions 301 | delf X 302 | delf rgb 303 | delf colour 304 | delf rgb_colour 305 | delf rgb_level 306 | delf rgb_number 307 | delf grey_colour 308 | delf grey_level 309 | delf grey_number 310 | endif -------------------------------------------------------------------------------- /.vim/colors/aldmeris.vim: -------------------------------------------------------------------------------- 1 | " Vim color scheme 2 | " Name: aldmeris.vim 3 | " Maintainer: Vincent Velociter 4 | " Version: 1.0 5 | " Url: https://github.com/veloce/vim-aldmeris 6 | 7 | " Aldmeris is based on the gedit oblivion theme for vim. 8 | " The original theme is part of GtkSourceView. 9 | " Original author: Paolo Borelli . 10 | " 11 | 12 | " Usage {{{ 13 | " ------------ 14 | " NOTE FOR TERMINAL USERS: 15 | " ----------------------- 16 | " The colorscheme is compatible with terminals that support 256 colors. See: 17 | " 18 | " http://vim.wikia.com/wiki/256_colors_in_vim 19 | " 20 | " If your terminal uses the tango palette for its base colors (which is, 21 | " I believe, the default in gnome-terminal), you can obtain the most accurate 22 | " result with aldmeris by setting this option in your .vimrc: 23 | " 24 | " let g:aldmeris_termcolors = "tango" 25 | " 26 | " Below is an .Xdefaults example of that palette: 27 | " 28 | " ! Black 29 | " *color0: #2E3436 30 | " *color8: #555753 31 | " ! Red 32 | " *color1: #CC0000 33 | " *color9: #EF2929 34 | " ! Green 35 | " *color2: #4E9A06 36 | " *color10: #8AE234 37 | " ! Yellow 38 | " *color3: #C4A000 39 | " *color11: #FCE94F 40 | " ! Blue 41 | " *color4: #3465A4 42 | " *color12: #729FCF 43 | " ! Purple 44 | " *color5: #75507B 45 | " *color13: #AD7FA8 46 | " ! Cyan 47 | " *color6: #06989A 48 | " *color14: #34E2E2 49 | " ! White 50 | " *color7: #D3D7CF 51 | " *color15: #EEEEEC 52 | " 53 | " TANGO PALETTE: 54 | " ---------------------------------- 55 | " Name Gui xterm/hex 56 | " ----------- -------- ----------- 57 | " butter1 #fce94f 221 #ffd75f 58 | " butter2 #edd400 220 #ffd700 59 | " butter3 #c4a000 178 #d7af00 60 | " chameleon1 #8ae234 113 #87d75f 61 | " chameleon2 #73d216 76 #5fd700 62 | " chameleon3 #4e9a06 64 #5f8700 63 | " orange1 #fcaf3e 215 #ffaf5f 64 | " orange2 #f57900 208 #ff8700 65 | " orange3 #ce5c00 166 #d75f00 66 | " skyblue1 #729fcf 74 #5fafd7 67 | " skyblue2 #3465a4 61 #5f5faf 68 | " skyblue3 #204a87 24 #005f87 69 | " plum1 #ad7fa8 139 #af87af 70 | " plum2 #75507b 96 #875f87 71 | " plum3 #5c3566 239 #4e4e4e 72 | " chocolate1 #e9b96e 179 #d7af5f 73 | " chocolate2 #c17d11 136 #af8700 74 | " chocolate3 #8f5902 94 #875f00 75 | " scarletred1 #ef2929 196 #ff0000 76 | " scarletred2 #cc0000 160 #d70000 77 | " scarletred3 #a40000 124 #af0000 78 | " aluminium1 #eeeeec 231 #ffffff 79 | " aluminium2 #d3d7cf 252 #d0d0d0 80 | " aluminium3 #babdb6 250 #bcbcbc 81 | " aluminium4 #888a85 102 #878787 82 | " aluminium5 #555753 240 #585858 83 | " aluminium6 #2e3436 236 #303030 84 | " }}} 85 | " Colorscheme initialization {{{ 86 | " -------------------------- 87 | if has("gui_running") 88 | set background=dark 89 | endif 90 | hi clear 91 | if exists("syntax_on") 92 | syntax reset 93 | endif 94 | 95 | let g:colors_name = "aldmeris" 96 | " }}} 97 | " Custom highlight function {{{ 98 | if has("gui_running") 99 | let s:hi_args = ['guibg', 'guifg', 'gui', 'guisp'] 100 | else 101 | let s:hi_args = ['ctermbg', 'ctermfg', 'cterm'] 102 | endif 103 | function! s:Hi(name, ...) 104 | let command = 'hi ' . a:name 105 | for i in range(0,len(a:000)-1) 106 | let command .= ' ' . s:hi_args[i] . '=' . a:000[i] 107 | endfor 108 | exe command 109 | endfunc 110 | " }}} 111 | " Default options and env settings {{{ 112 | " -------------------------------- 113 | if !exists("g:aldmeris_termcolors") 114 | let g:aldmeris_termcolors = "xterm" 115 | endif 116 | 117 | " List terminals that support italics (I'm sure only for xrvt) 118 | let s:terms_italic = ["rxvt", "rxvt-unicode", "rxvt-unicode-256color"] 119 | " }}} 120 | " Gui & term palettes definition {{{ 121 | " ------------------------------ 122 | if has("gui_running") 123 | let s:butter1 = "#fce94f" 124 | let s:butter2 = "#edd400" 125 | let s:chameleon1 = "#8ae234" 126 | let s:chameleon3 = "#4e9a06" 127 | let s:orange1 = "#fcaf3e" 128 | let s:orange2 = "#f57900" 129 | let s:orange3 = "#ce5c00" 130 | let s:skyblue1 = "#729fcf" 131 | let s:skyblue2 = "#3465a4" 132 | let s:plum1 = "#ad7fa8" 133 | let s:plum2 = "#75507b" 134 | let s:scarletred1 = "#ef2929" 135 | let s:scarletred2 = "#cc0000" 136 | let s:aluminium1 = "#eeeeec" 137 | let s:aluminium2 = "#d3d7cf" 138 | let s:aluminium3 = "#babdb6" 139 | let s:aluminium4 = "#888a85" 140 | let s:aluminium5 = "#555753" 141 | let s:aluminium6 = "#2e3436" 142 | let s:black = "#000000" 143 | elseif &t_Co == 256 && g:aldmeris_termcolors == "tango" 144 | let s:butter1 = "11" 145 | let s:butter2 = "220" 146 | let s:chameleon1 = "10" 147 | let s:chameleon3 = "2" 148 | let s:orange1 = "215" 149 | let s:orange2 = "208" 150 | let s:orange3 = "166" 151 | let s:skyblue1 = "12" 152 | let s:skyblue2 = "4" 153 | let s:plum1 = "13" 154 | let s:plum2 = "5" 155 | let s:scarletred1 = "9" 156 | let s:scarletred2 = "1" 157 | let s:aluminium1 = "15" 158 | let s:aluminium2 = "7" 159 | let s:aluminium3 = "250" 160 | let s:aluminium4 = "102" 161 | let s:aluminium5 = "8" 162 | let s:aluminium6 = "0" 163 | let s:black = "16" 164 | elseif &t_Co == 256 165 | let s:butter1 = "221" 166 | let s:butter2 = "220" 167 | let s:chameleon1 = "113" 168 | let s:chameleon3 = "64" 169 | let s:orange1 = "215" 170 | let s:orange2 = "208" 171 | let s:orange3 = "166" 172 | let s:skyblue1 = "74" 173 | let s:skyblue2 = "61" 174 | let s:plum1 = "139" 175 | let s:plum2 = "96" 176 | let s:scarletred1 = "196" 177 | let s:scarletred2 = "160" 178 | let s:aluminium1 = "231" 179 | let s:aluminium2 = "252" 180 | let s:aluminium3 = "250" 181 | let s:aluminium4 = "102" 182 | let s:aluminium5 = "240" 183 | let s:aluminium6 = "236" 184 | let s:black = "16" 185 | else 186 | let s:butter1 = "LightYellow" 187 | let s:butter2 = "Yellow" 188 | let s:chameleon1 = "LightGreen" 189 | let s:chameleon3 = "DarkGreen" 190 | let s:orange1 = "LightCyan" 191 | let s:orange2 = "Cyan" 192 | let s:orange3 = "DarkCyan" 193 | let s:skyblue1 = "LightBlue" 194 | let s:skyblue2 = "Blue" 195 | let s:plum1 = "LightMagenta" 196 | let s:plum2 = "Magenta" 197 | let s:scarletred1 = "LightRed" 198 | let s:scarletred2 = "Red" 199 | let s:aluminium1 = "White" 200 | let s:aluminium2 = "White" 201 | let s:aluminium3 = "LightGray" 202 | let s:aluminium4 = "Gray" 203 | let s:aluminium5 = "DarkGray" 204 | let s:aluminium6 = "DarkGrey" 205 | let s:black = "Black" 206 | endif 207 | " }}} 208 | " Syntax groups colors (:help group-name) {{{ 209 | " --------------------------------------- 210 | call s:Hi( 'Normal', s:aluminium6, s:aluminium2 ) 211 | call s:Hi( 'Comment', "bg", s:aluminium4, "italic" ) 212 | call s:Hi( 'Constant', "bg", s:butter2 ) 213 | call s:Hi( 'Boolean', "bg", s:orange3 ) 214 | call s:Hi( 'Identifier', "bg", s:skyblue1, "NONE" ) 215 | call s:Hi( 'Statement', "bg", s:aluminium1, "bold" ) 216 | call s:Hi( 'PreProc', "bg", s:plum1 ) 217 | call s:Hi( 'Type', "bg", s:chameleon1, "bold" ) 218 | call s:Hi( 'Special', "bg", s:orange1 ) 219 | call s:Hi( 'SpecialChar', "bg", s:orange3 ) 220 | call s:Hi( 'Underlined', "bg", s:skyblue1, "underline" ) 221 | call s:Hi( 'Error', s:scarletred2, s:aluminium1, "bold" ) 222 | call s:Hi( 'Todo', s:butter1, s:aluminium4, "bold" ) 223 | 224 | " italic is a special case 225 | if !has("gui_running") 226 | if (index(s:terms_italic, &term) < 0) 227 | hi Comment cterm=NONE 228 | endif 229 | endif 230 | " }}} 231 | " Highlight default (:help highlight-default) {{{ 232 | " ------------------------------------------- 233 | " ColorColumn used for the columns set with 'colorcolumn' 234 | " Conceal placeholder characters substituted for concealed 235 | call s:Hi( 'Cursor', s:aluminium2, s:black ) 236 | " CursorIM like Cursor, but used when in IME mode 237 | call s:Hi( 'CursorColumn', s:aluminium5, "NONE", "NONE" ) 238 | call s:Hi( 'CursorLine', s:aluminium5, "NONE", "NONE" ) 239 | call s:Hi( 'Directory', "bg", s:skyblue1, "NONE" ) 240 | call s:Hi( 'DiffAdd', s:aluminium5, s:chameleon3, "bold" ) 241 | call s:Hi( 'DiffChange', s:aluminium5, s:orange1, "bold" ) 242 | call s:Hi( 'DiffDelete', s:aluminium5, s:scarletred2, "bold" ) 243 | call s:Hi( 'DiffText', s:aluminium5, s:skyblue1, "bold" ) 244 | call s:Hi( 'ErrorMsg', s:scarletred2, s:aluminium1 ) 245 | call s:Hi( 'VertSplit', s:aluminium4, s:aluminium6, "bold" ) 246 | call s:Hi( 'Folded', "bg", s:aluminium3, "bold,underline" ) 247 | call s:Hi( 'FoldColumn', s:aluminium3, s:aluminium5 ) 248 | call s:Hi( 'SignColumn', s:aluminium3, s:aluminium5 ) 249 | " IncSearch 'incsearch' highlighting 250 | call s:Hi( 'LineNr', s:black, s:aluminium5 ) 251 | call s:Hi( 'MatchParen', s:plum1, s:aluminium1 ) 252 | " ModeMsg 'showmode' message (e.g. , "-- INSERT --") 253 | call s:Hi( 'MoreMsg', "bg", s:chameleon1, "bold" ) 254 | call s:Hi( 'NonText', "bg", s:aluminium5 ) 255 | call s:Hi( 'Pmenu', s:black, s:aluminium3 ) 256 | call s:Hi( 'PmenuSel', s:aluminium5, s:aluminium1 ) 257 | call s:Hi( 'PmenuSbar', s:aluminium5, s:aluminium5 ) 258 | call s:Hi( 'PmenuThumb', s:aluminium4, s:aluminium4 ) 259 | call s:Hi( 'Question', "bg", s:chameleon1, "bold" ) 260 | call s:Hi( 'Search', s:chameleon3, s:aluminium1 ) 261 | call s:Hi( 'SpecialKey', "bg", s:aluminium5 ) 262 | if has("gui_running") 263 | call s:Hi( 'SpellBad', "bg", "NONE", "undercurl", s:scarletred1 ) 264 | call s:Hi( 'SpellCap', "bg", "NONE", "undercurl", s:skyblue1 ) 265 | call s:Hi( 'SpellLocal', "bg", "NONE", "undercurl", s:orange1 ) 266 | call s:Hi( 'SpellRare', "bg", "NONE", "undercurl", s:plum1 ) 267 | else 268 | call s:Hi( 'SpellBad', s:scarletred2, "NONE", "undercurl" ) 269 | call s:Hi( 'SpellCap', s:skyblue2, "NONE", "undercurl" ) 270 | call s:Hi( 'SpellLocal', s:orange2, "NONE", "undercurl" ) 271 | call s:Hi( 'SpellRare', s:plum2, "NONE", "undercurl" ) 272 | endif 273 | call s:Hi( 'StatusLine', s:aluminium6, s:aluminium3, "bold,reverse" ) 274 | call s:Hi( 'StatusLineNC', s:aluminium4, s:aluminium6, "NONE" ) 275 | " TabLine tab pages line, not active tab page label 276 | " TabLineFill tab pages line, where there are no labels 277 | " TabLineSel tab pages line, active tab page label 278 | call s:Hi( 'Title', "bg", s:butter1, "bold" ) 279 | call s:Hi( 'Visual', s:aluminium4, s:aluminium1 ) 280 | " VisualNOS Visual mode selection when vim is "Not Owning the Selection". 281 | call s:Hi( 'WarningMsg', "bg", s:scarletred1 ) 282 | call s:Hi( 'WildMenu', s:butter2, s:aluminium6 ) 283 | " }}} 284 | " gitcommit colors {{{ 285 | " ---------------- 286 | hi link gitEmail SpecialChar 287 | hi link gitEmailDelimiter gitEmail 288 | hi link gitcommitComment Comment 289 | hi link gitcommitHeader gitcommitComment 290 | hi link gitcommitUntracked gitcommitComment 291 | hi link gitcommitDiscarded gitcommitComment 292 | hi link gitcommitSelected gitcommitComment 293 | call s:Hi( 'gitcommitDiscardedType', "NONE", s:scarletred1 ) 294 | call s:Hi( 'gitcommitSelectedType', "NONE", s:chameleon1 ) 295 | call s:Hi( 'gitcommitUnmergedType', "NONE", s:butter1 ) 296 | call s:Hi( 'gitcommitUntrackedFile', "NONE", s:plum1, "bold" ) 297 | call s:Hi( 'gitcommitDiscardedFile', "NONE", s:scarletred1, "bold" ) 298 | call s:Hi( 'gitcommitSelectedFile', "NONE", s:chameleon1, "bold" ) 299 | call s:Hi( 'gitcommitUnmergedFile', "NONE", s:butter1, "bold" ) 300 | " }}} 301 | " diff colors {{{ 302 | hi link diffFile Special 303 | hi link diffNewFile diffFile 304 | call s:Hi( 'diffAdded', "NONE", s:chameleon1 ) 305 | call s:Hi( 'diffRemoved', "NONE", s:scarletred1 ) 306 | " }}} 307 | " XML Colors {{{ 308 | " ---------- 309 | hi link xmlTag Identifier 310 | hi link xmlEndTag xmlTag 311 | hi link xmlTagName xmlTag 312 | hi link xmlString String 313 | " }}} 314 | "HTML Colors {{{ 315 | "----------- 316 | hi link htmlTag xmlTag 317 | hi link htmlEndTag xmlEndTag 318 | hi link htmlTagName xmlTagName 319 | hi link htmlSpecialTagName xmlTagName 320 | hi link htmlString xmlString 321 | hi link htmlSpecialChar PreProc 322 | hi link Javascript Normal 323 | " }}} 324 | " Ruby colors {{{ 325 | " ----------- 326 | hi link rubyClass Keyword 327 | hi link rubyDefine Keyword 328 | " }}} 329 | " Javascript colors {{{ 330 | hi link javaScriptBraces normal 331 | " following syntax from https://github.com/pangloss/vim-javascript 332 | hi link javaScriptLabel Identifier 333 | hi link javaScriptThis Identifier 334 | " }}} 335 | " PHP Colors {{{ 336 | " ---------- 337 | hi link phpVarSelector Identifier 338 | hi link phpIdentifier Identifier 339 | hi link phpParent Normal 340 | hi link phpFunctions Function 341 | hi link phpSpecial Special 342 | hi link phpMemberSelector Keyword 343 | hi link phpBoolean Boolean 344 | hi link phpNumber Number 345 | " }}} 346 | " CSS Colors {{{ 347 | " ---------- 348 | hi link cssIdentifier Normal 349 | hi link cssClassName Normal 350 | hi link cssTagName Normal 351 | hi link cssBraces Normal 352 | hi link cssRenderProp Keyword 353 | hi link cssBoxProp cssRenderProp 354 | hi link cssUIProp cssRenderProp 355 | hi link cssColorProp cssRenderProp 356 | hi link cssFontProp cssRenderProp 357 | hi link cssTextProp cssRenderProp 358 | hi link cssGeneratedContentProp cssRenderProp 359 | hi link cssValueLength Boolean 360 | hi link cssPseudoClassId Identifier 361 | " }}} 362 | " vim:foldmethod=marker 363 | -------------------------------------------------------------------------------- /.vim/colors/ambient.vim: -------------------------------------------------------------------------------- 1 | " Maintainer: Kevin Hamer 2 | " Version: 1.2 3 | " Last Change: Fri Aug 12 16:53:40 EDT 2011 4 | 5 | " Changes: 6 | " 1.2 lightened the blue slightly 7 | " 1.1 lightened both orange-reds 8 | 9 | "" Based off the colors for Ambiance, the 2011 Ubuntu dark human theme. 10 | "" Derived from Mustang by Henrique C. Alves (hcarvalhoalves@gmail.com) 11 | "" Offers 256 color support. 12 | 13 | set background=dark 14 | 15 | hi clear 16 | 17 | if exists("syntax_on") 18 | syntax reset 19 | endif 20 | 21 | let colors_name = "ambient" 22 | 23 | " Vim >= 7.0 specific colors 24 | if version >= 700 25 | hi CursorLine guibg=#3c3c3c ctermbg=237 26 | hi CursorColumn guibg=#3c3c3c ctermbg=237 27 | hi MatchParen guifg=#e69c0d ctermfg=178 guibg=#3c3c3c ctermbg=237 gui=bold cterm=bold 28 | hi Pmenu guifg=#ffffff ctermfg=15 guibg=#4c4c4c ctermbg=239 29 | hi PmenuSel guifg=#000000 ctermfg=0 guibg=#f07746 ctermbg=209 30 | endif 31 | 32 | " General colors 33 | hi Cursor guifg=NONE guibg=#4c4c4c ctermbg=239 gui=none 34 | hi Normal guifg=#f2f1f0 ctermfg=7 guibg=#202020 ctermbg=234 gui=none 35 | hi NonText guifg=#3c3c3c ctermfg=237 gui=none 36 | hi LineNr guifg=#4c4c4c ctermfg=239 gui=none 37 | hi StatusLine guifg=#d3d3d5 ctermfg=188 guibg=#3c3c3c ctermbg=237 38 | hi StatusLineNC guifg=#939395 ctermfg=246 guibg=#3c3c3c ctermbg=237 gui=none 39 | hi VertSplit guifg=#202020 ctermfg=234 guibg=#3c3c3c ctermbg=237 gui=none 40 | hi Folded guifg=#37c6e5 ctermfg=80 guibg=#3c3c3c ctermbg=237 gui=none 41 | hi Title guifg=#f2f1f0 ctermfg=7 guibg=NONE gui=bold cterm=bold 42 | hi Visual guifg=#ffffff ctermfg=15 guibg=#4c4c4c ctermbg=239 gui=none 43 | hi SpecialKey guifg=#4c4c4c ctermfg=239 gui=none 44 | 45 | " Syntax highlighting 46 | hi Comment guifg=#7c7c7c ctermfg=8 47 | hi Boolean guifg=#89d958 ctermfg=113 gui=none 48 | hi String guifg=#f07746 ctermfg=209 49 | hi Identifier guifg=#d9c634 ctermfg=185 gui=none 50 | hi Function guifg=#ffffff ctermfg=15 gui=bold cterm=bold 51 | hi Type guifg=#e69c0d ctermfg=178 gui=none 52 | hi Statement guifg=#f2f1f0 ctermfg=7 gui=bold cterm=bold 53 | hi Keyword guifg=#d9c634 ctermfg=185 gui=none 54 | hi Constant guifg=#d9c634 ctermfg=185 gui=none 55 | hi Number guifg=#89d958 ctermfg=113 gui=none 56 | hi Special guifg=#d9c634 ctermfg=185 gui=none 57 | hi PreProc guifg=#faf4c6 ctermfg=230 gui=none 58 | hi Todo guifg=#202020 ctermfg=234 guibg=#d9c634 ctermbg=185 59 | 60 | " Code-specific colors 61 | hi pythonOperator guifg=#f07746 ctermfg=209 gui=none 62 | -------------------------------------------------------------------------------- /.vim/colors/chance-of-storm.vim: -------------------------------------------------------------------------------- 1 | """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" 2 | " Author: Mario Gutierrez (mario@mgutz.com) 3 | " Last Change: Dececember 1, 2010 4 | " Version: 0.1 5 | """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" 6 | 7 | set background=dark 8 | 9 | hi clear 10 | 11 | if exists("syntax_on") 12 | syntax reset 13 | endif 14 | 15 | let colors_name = "chance-of-storm" 16 | 17 | 18 | """""""""" General 19 | 20 | hi Normal guifg=#c8d7e6 guibg=#14181c gui=none 21 | 22 | " Vim >= 7.0 23 | if version >= 700 24 | hi CursorLine guibg=#23292f 25 | hi MatchParen guifg=magenta guibg=bg gui=bold 26 | hi Pmenu guifg=#dfeff6 guibg=#1E415E 27 | hi PmenuSel guifg=#dfeff6 guibg=#2D7889 28 | 29 | hi IncSearch guifg=bg guibg=#AF81F4 gui=bold 30 | hi Search guifg=bg guibg=#AF81F4 gui=none 31 | endif 32 | 33 | hi Cursor guifg=NONE guibg=#607080 gui=none 34 | hi Folded guifg=#68CEE8 guibg=#1A3951 gui=none 35 | hi FoldColumn guifg=#1E415E guibg=#1A3951 gui=none 36 | hi LineNr guifg=#2e363d guibg=bg gui=none 37 | " e.g. tildes at the end of file 38 | hi NonText guifg=#2e363d guibg=bg gui=none 39 | hi StatusLine guifg=#f98fcc guibg=#000000 gui=none 40 | hi StatusLineNC guifg=#69839a guibg=#0d0f11 gui=none 41 | hi TabLine guifg=#555555 guibg=#dddddd gui=none 42 | hi TabLineFill guifg=fg guibg=#dddddd gui=none 43 | hi TabLineSel guifg=#101010 guibg=#b0b0b0 gui=none 44 | hi Title guifg=#ef7760 guibg=bg gui=none 45 | hi VertSplit guifg=#0d0f11 guibg=#0d0f11 gui=none 46 | " Selected text color 47 | hi Visual guifg=#dfeff6 guibg=#24557A gui=none 48 | 49 | 50 | """""""""" Syntax highlighting 51 | 52 | hi Comment guifg=#69839a guibg=bg gui=italic 53 | hi Constant guifg=#96defa gui=none 54 | hi Function guifg=#9e7cd7 gui=none 55 | hi Identifier guifg=#8ac6f2 gui=none 56 | hi Ignore guifg=bg guibg=bg gui=none 57 | hi Keyword guifg=#8ac6f2 gui=none 58 | hi Number guifg=#dfe1b7 gui=none 59 | hi PreProc guifg=#f99d71 gui=none 60 | hi Special guifg=lightmagenta gui=none 61 | hi Statement guifg=#7cd5d7 gui=none 62 | hi String guifg=#89e14b gui=italic 63 | hi Todo guifg=#ADED80 guibg=bg gui=bold 64 | hi Type guifg=#489fd7 gui=none 65 | hi Underlined guifg=#8ac6f2 gui=underline 66 | 67 | 68 | """"""""""" ERB 69 | 70 | hi link erubyDelimiter PreProc 71 | 72 | 73 | """"""""""" HAML 74 | 75 | hi link hamlAttributes htmlArg 76 | hi link hamlTag htmlTag 77 | hi link hamlTagName htmlTagName 78 | hi link hamlIdChar hamlId 79 | hi link hamlClassChar hamlClass 80 | 81 | 82 | """"""""""" HELP 83 | 84 | hi link helpSectionDelim NonText 85 | hi link helpExample Statement 86 | 87 | 88 | """"""""""" HTML 89 | 90 | hi link htmlTag Statement 91 | hi link htmlEndTag Statement 92 | hi link htmlTagName Statement 93 | 94 | 95 | """""""""" JavaScript 96 | 97 | hi link javaScriptFunction Statement 98 | hi link javaScriptFuncName Function 99 | hi link javaScriptLabel PreProc 100 | 101 | 102 | """""""""" MARKDOWN (tpope's vim-markdown) 103 | 104 | hi link markdownCodeBlock Statement 105 | hi link markdownCode Statement 106 | hi link markdownCodeDelimiter Statement 107 | hi link markdownHeadingDelimiter Title 108 | hi markdownLinkText guifg=#489fd7 gui=underline 109 | hi markdownUrl guifg=#69839a guibg=bg gui=none 110 | hi link markdownLinkTextDelimiter markdownUrl 111 | hi link markdownLinkDelimiter markdownUrl 112 | 113 | 114 | """"""""""" NERDTree 115 | 116 | hi link treePart NonText 117 | hi link treePartFile treePart 118 | hi link treeDirSlash treePart 119 | hi link treeDir Statement 120 | hi link treeClosable PreProc 121 | hi link treeOpenable treeClosable 122 | hi link treeUp treeClosable 123 | hi treeFlag guifg=#3e71a1 guibg=bg gui=none 124 | hi link treeHelp Comment 125 | hi link treeLink Type 126 | hi link treeExecFile Type 127 | 128 | 129 | """""""""" Ruby 130 | 131 | hi rubyAccess guifg=#ef7760 guibg=bg gui=italic 132 | hi rubyInterpolation guifg=#c8e1b7 guibg=bg 133 | hi link rubyInterpolationDelimiter rubyInterpolation 134 | hi link rubyStringDelimiter String 135 | 136 | 137 | """"""""""" XML 138 | 139 | hi link xmlTag htmlTag 140 | hi link xmlEndTag htmlEndTag 141 | hi link xmlTagName htmlTagName 142 | -------------------------------------------------------------------------------- /.vim/colors/darkburn.vim: -------------------------------------------------------------------------------- 1 | "============================================================================= 2 | " Vim color file 3 | " File: darkburn.vim 4 | " Maintainer: Taurus Olson 5 | " License: GPL 6 | " Created: 2009-03-27 20:25:21 CET 7 | " Modified: 2009-06-06 21:18:55 CET 8 | " Version: 1.2 9 | 10 | " Modified version of zenburn originally created by: 11 | " Maintainer: Jani Nurminen 12 | " Last Change: $Id: zenburn.vim,v 2.4 2008/11/18 20:43:18 slinky Exp $ 13 | " URL: http://slinky.imukuppi.org/zenburnpage/ 14 | " License: GPL 15 | "============================================================================= 16 | " 17 | " Credits: 18 | " - Jani Nurminen - original Zenburn 19 | " - Steve Hall & Cream posse - higher-contrast Visual selection 20 | " - Kurt Maier - 256 color console coloring, low and high contrast toggle, 21 | " bug fixing 22 | " - Charlie - spotted too bright StatusLine in non-high contrast mode 23 | " - Pablo Castellazzi - CursorLine fix for 256 color mode 24 | " - Tim Smith - force dark background 25 | " 26 | " CONFIGURABLE PARAMETERS: 27 | " 28 | " You can use the default (don't set any parameters), or you can 29 | " set some parameters to tweak the Zenburn colours. 30 | " 31 | " * You can now set a darker background for bright environments. To activate, use: 32 | " contrast Zenburn, use: 33 | " 34 | let g:darkburn_high_Contrast = 1 35 | " 36 | " * To get more contrast to the Visual selection, use 37 | " 38 | " let g:darkburn_alternate_Visual = 1 39 | " 40 | " * To use alternate colouring for Error message, use 41 | " 42 | let g:darkburn_alternate_Error = 1 43 | " 44 | " * The new default for Include is a duller orange. To use the original 45 | " colouring for Include, use 46 | " 47 | let g:darkburn_alternate_Include = 1 48 | " 49 | " * Work-around to a Vim bug, it seems to misinterpret ctermfg and 234 and 237 50 | " as light values, and sets background to light for some people. If you have 51 | " this problem, use: 52 | " 53 | let g:darkburn_force_dark_Background = 1 54 | " 55 | " * To turn the parameter(s) back to defaults, use UNLET: 56 | " 57 | " unlet g:darkburn_alternate_Include 58 | " 59 | " Setting to 0 won't work! 60 | " 61 | " That's it, enjoy! 62 | " 63 | " TODO 64 | " - Visual alternate color is broken? Try GVim >= 7.0.66 if you have trouble 65 | " - IME colouring (CursorIM) 66 | 67 | set background=dark 68 | hi clear 69 | if exists("syntax_on") 70 | syntax reset 71 | endif 72 | let g:colors_name="darkburn" 73 | 74 | hi Boolean guifg=#dca3a3 75 | hi Character guifg=#dca3a3 gui=bold 76 | hi Comment guifg=#7f9f7f gui=italic 77 | hi Conditional guifg=#f0dfaf gui=bold 78 | hi Constant guifg=#dca3a3 gui=bold 79 | hi Cursor guifg=#000d18 guibg=#8faf9f gui=bold 80 | hi Debug guifg=#bca3a3 gui=bold 81 | hi Define guifg=#ffcfaf gui=bold 82 | hi Delimiter guifg=#8f8f8f 83 | hi DiffAdd guifg=#709080 guibg=#313c36 gui=bold 84 | hi DiffChange guibg=#333333 85 | hi DiffDelete guifg=#333333 guibg=#464646 86 | hi DiffText guifg=#ecbcbc guibg=#41363c gui=bold 87 | hi Directory guifg=#dcdccc gui=bold 88 | hi ErrorMsg guifg=#80d4aa guibg=#2f2f2f gui=bold 89 | hi Exception guifg=#c3bf9f gui=bold 90 | hi Float guifg=#c0bed1 91 | hi FoldColumn guifg=#93b3a3 guibg=#3f4040 92 | hi Folded guifg=#93b3a3 guibg=#3f4040 93 | hi Function guifg=#efef8f 94 | hi Identifier guifg=#dcdcdc 95 | hi IncSearch guibg=#f8f893 guifg=#385f38 96 | hi Keyword guifg=#f0dfaf gui=bold 97 | hi Label guifg=#dfcfaf gui=underline 98 | hi LineNr guifg=#9fafaf guibg=#262626 99 | hi Macro guifg=#ffcfaf gui=bold 100 | hi ModeMsg guifg=#6fb86f gui=none 101 | hi MoreMsg guifg=#ffffff gui=bold 102 | hi NonText guifg=#404040 103 | hi Number guifg=#8cd0d3 104 | hi Operator guifg=#f0efd0 105 | hi PreCondit guifg=#dfaf8f gui=bold 106 | hi PreProc guifg=#ffb23f gui=bold 107 | hi Question guifg=#ffffff gui=bold 108 | hi Repeat guifg=#ffd7a7 gui=bold 109 | hi Search guifg=#ffffe0 guibg=#284f28 110 | hi SpecialChar guifg=#9fbfd6 gui=bold 111 | hi SpecialComment guifg=#82a282 gui=bold 112 | hi Special guifg=#9fbfd6 113 | hi SpecialKey guifg=#9ece9e 114 | hi Statement guifg=#6fb86f gui=none 115 | hi StatusLine guifg=#313633 guibg=#ccdc90 116 | hi StatusLineNC guifg=#2e3330 guibg=#88b090 117 | hi StorageClass guifg=#c3bf9f gui=bold 118 | hi String guifg=#b75151 119 | hi Structure guifg=#efefaf gui=bold 120 | hi Tag guifg=#e89393 gui=bold 121 | hi Title guifg=#efefef gui=bold 122 | hi Todo guifg=#dfdfdf guibg=bg gui=bold 123 | hi Typedef guifg=#dfe4cf gui=bold 124 | hi Type guifg=#dfdfbf gui=bold 125 | hi Underlined guifg=#dcdccc gui=underline 126 | hi VertSplit guifg=#2e3330 guibg=#688060 127 | hi VisualNOS guifg=#333333 guibg=#f18c96 gui=bold,underline 128 | hi WarningMsg guifg=#ffffff guibg=#333333 gui=bold 129 | hi WildMenu guibg=#2c302d guifg=#cbecd0 gui=underline 130 | 131 | hi SpellBad guisp=#bc6c4c guifg=#dc8c6c 132 | hi SpellCap guisp=#6c6c9c guifg=#8c8cbc 133 | hi SpellRare guisp=#bc6c9c guifg=#bc8cbc 134 | hi SpellLocal guisp=#7cac7c guifg=#9ccc9c 135 | 136 | " Entering Kurt zone 137 | if &t_Co > 255 138 | hi Boolean ctermfg=181 139 | hi Character ctermfg=181 cterm=bold 140 | hi Comment ctermfg=108 141 | hi Conditional ctermfg=223 cterm=bold 142 | hi Constant ctermfg=181 cterm=bold 143 | hi Cursor ctermfg=233 ctermbg=109 cterm=bold 144 | hi Debug ctermfg=181 cterm=bold 145 | hi Define ctermfg=223 cterm=bold 146 | hi Delimiter ctermfg=245 147 | hi DiffAdd ctermfg=66 ctermbg=237 cterm=bold 148 | hi DiffChange ctermbg=236 149 | hi DiffDelete ctermfg=236 ctermbg=238 150 | hi DiffText ctermfg=217 ctermbg=237 cterm=bold 151 | hi Directory ctermfg=188 cterm=bold 152 | hi ErrorMsg ctermfg=115 ctermbg=236 cterm=bold 153 | hi Exception ctermfg=249 cterm=bold 154 | hi Float ctermfg=251 155 | hi FoldColumn ctermfg=109 ctermbg=238 156 | hi Folded ctermfg=109 ctermbg=238 157 | hi Function ctermfg=228 158 | hi Identifier ctermfg=223 159 | hi IncSearch ctermbg=228 ctermfg=238 160 | hi Keyword ctermfg=223 cterm=bold 161 | hi Label ctermfg=187 cterm=underline 162 | hi LineNr ctermfg=248 ctermbg=235 163 | hi Macro ctermfg=223 cterm=bold 164 | hi ModeMsg ctermfg=223 cterm=none 165 | hi MoreMsg ctermfg=15 cterm=bold 166 | hi NonText ctermfg=238 167 | hi Number ctermfg=116 168 | hi Operator ctermfg=230 169 | hi PreCondit ctermfg=180 cterm=bold 170 | hi PreProc ctermfg=223 cterm=bold 171 | hi Question ctermfg=15 cterm=bold 172 | hi Repeat ctermfg=223 cterm=bold 173 | hi Search ctermfg=230 ctermbg=236 174 | hi SpecialChar ctermfg=181 cterm=bold 175 | hi SpecialComment ctermfg=108 cterm=bold 176 | hi Special ctermfg=181 177 | hi SpecialKey ctermfg=151 178 | hi Statement ctermfg=187 ctermbg=234 cterm=none 179 | hi StatusLine ctermfg=236 ctermbg=186 180 | hi StatusLineNC ctermfg=235 ctermbg=108 181 | hi StorageClass ctermfg=249 cterm=bold 182 | hi String ctermfg=174 183 | hi Structure ctermfg=229 cterm=bold 184 | hi Tag ctermfg=181 cterm=bold 185 | hi Title ctermfg=7 ctermbg=234 cterm=bold 186 | hi Todo ctermfg=108 ctermbg=234 cterm=bold 187 | hi Typedef ctermfg=253 cterm=bold 188 | hi Type ctermfg=187 cterm=bold 189 | hi Underlined ctermfg=188 ctermbg=234 cterm=bold 190 | hi VertSplit ctermfg=236 ctermbg=65 191 | hi VisualNOS ctermfg=236 ctermbg=210 cterm=bold 192 | hi WarningMsg ctermfg=15 ctermbg=236 cterm=bold 193 | hi WildMenu ctermbg=236 ctermfg=194 cterm=bold 194 | hi CursorLine ctermbg=236 cterm=none 195 | 196 | " spellchecking, always "bright" background 197 | hi SpellLocal ctermfg=14 ctermbg=237 198 | hi SpellBad ctermfg=9 ctermbg=237 199 | hi SpellCap ctermfg=12 ctermbg=237 200 | hi SpellRare ctermfg=13 ctermbg=237 201 | 202 | " pmenu 203 | hi PMenu ctermfg=248 ctermbg=0 204 | hi PMenuSel ctermfg=223 ctermbg=235 205 | 206 | if exists("g:darkburn_high_Contrast") 207 | hi Normal ctermfg=188 ctermbg=234 208 | else 209 | hi Normal ctermfg=188 ctermbg=237 210 | hi Cursor ctermbg=109 211 | hi diffadd ctermbg=237 212 | hi diffdelete ctermbg=238 213 | hi difftext ctermbg=237 214 | hi errormsg ctermbg=237 215 | hi foldcolumn ctermbg=238 216 | hi folded ctermbg=238 217 | hi incsearch ctermbg=228 218 | hi linenr ctermbg=238 219 | hi search ctermbg=238 220 | hi statement ctermbg=237 221 | hi statusline ctermbg=144 222 | hi statuslinenc ctermbg=108 223 | hi title ctermbg=237 224 | hi todo ctermbg=237 225 | hi underlined ctermbg=237 226 | hi vertsplit ctermbg=65 227 | hi visualnos ctermbg=210 228 | hi warningmsg ctermbg=236 229 | hi wildmenu ctermbg=236 230 | endif 231 | endif 232 | 233 | if exists("g:darkburn_force_dark_Background") 234 | " Force dark background, because of a bug in VIM: VIM sets background 235 | " automatically during "hi Normal ctermfg=X"; it misinterprets the high 236 | " value (234 or 237 above) as a light color, and wrongly sets background to 237 | " light. See ":help highlight" for details. 238 | set background=dark 239 | endif 240 | 241 | if exists("g:darkburn_high_Contrast") 242 | " use new darker background 243 | hi Normal guifg=#ffffff guibg=#1f1f1f 244 | hi CursorLine guibg=#121212 gui=bold 245 | hi Pmenu guibg=#242424 guifg=#ccccbc 246 | hi PMenuSel guibg=#353a37 guifg=#ccdc90 gui=bold 247 | hi PmenuSbar guibg=#2e3330 guifg=#000000 248 | hi PMenuThumb guibg=#a0afa0 guifg=#040404 249 | hi MatchParen guifg=#f0f0c0 guibg=#383838 gui=bold 250 | hi SignColumn guifg=#9fafaf guibg=#181818 gui=bold 251 | hi TabLineFill guifg=#cfcfaf guibg=#181818 gui=bold 252 | hi TabLineSel guifg=#efefef guibg=#1c1c1b gui=bold 253 | hi TabLine guifg=#b6bf98 guibg=#181818 gui=bold 254 | hi CursorColumn guifg=#dcdccc guibg=#2b2b2b 255 | else 256 | " Original, lighter background 257 | hi Normal guifg=#dcdccc guibg=#3f3f3f 258 | hi CursorLine guibg=#434443 259 | hi Pmenu guibg=#2c2e2e guifg=#9f9f9f 260 | hi PMenuSel guibg=#242424 guifg=#d0d0a0 gui=bold 261 | hi PmenuSbar guibg=#2e3330 guifg=#000000 262 | hi PMenuThumb guibg=#a0afa0 guifg=#040404 263 | hi MatchParen guifg=#b2b2a0 guibg=#2e2e2e gui=bold 264 | hi SignColumn guifg=#9fafaf guibg=#343434 gui=bold 265 | hi TabLineFill guifg=#cfcfaf guibg=#353535 gui=bold 266 | hi TabLineSel guifg=#efefef guibg=#3a3a39 gui=bold 267 | hi TabLine guifg=#b6bf98 guibg=#353535 gui=bold 268 | hi CursorColumn guifg=#dcdccc guibg=#4f4f4f 269 | endif 270 | 271 | 272 | if exists("g:darkburn_alternate_Visual") 273 | " Visual with more contrast, thanks to Steve Hall & Cream posse 274 | " gui=none fixes weird highlight problem in at least GVim 7.0.66, thanks to Kurt Maier 275 | hi Visual guifg=#000000 guibg=#71d3b4 gui=none 276 | hi VisualNOS guifg=#000000 guibg=#71d3b4 gui=none 277 | else 278 | " use default visual 279 | hi Visual guifg=#71d3b4 guibg=#233323 gui=none 280 | hi VisualNOS guifg=#71d3b4 guibg=#233323 gui=none 281 | endif 282 | 283 | if exists("g:darkburn_alternate_Error") 284 | " use a bit different Error 285 | hi Error guifg=#ef9f9f guibg=#201010 gui=bold 286 | else 287 | " default 288 | hi Error guifg=#e37170 guibg=#332323 gui=none 289 | endif 290 | 291 | if exists("g:darkburn_alternate_Include") 292 | " original setting 293 | hi Include guifg=#ffcfaf gui=bold 294 | else 295 | " new, less contrasted one 296 | hi Include guifg=#dfaf8f gui=bold 297 | endif 298 | " TODO check for more obscure syntax groups that they're ok 299 | 300 | " vim: : 301 | -------------------------------------------------------------------------------- /.vim/colors/darkspectrum.vim: -------------------------------------------------------------------------------- 1 | " Vim color file 2 | " 3 | " Author: Brian Mock 4 | " 5 | " Note: Based on Oblivion color scheme for gedit (gtk-source-view) 6 | " 7 | " cool help screens 8 | " :he group-name 9 | " :he highlight-groups 10 | " :he cterm-colors 11 | 12 | hi clear 13 | 14 | set background=dark 15 | if version > 580 16 | " no guarantees for version 5.8 and below, but this makes it stop 17 | " complaining 18 | hi clear 19 | if exists("syntax_on") 20 | syntax reset 21 | endif 22 | endif 23 | let g:colors_name="darkspectrum" 24 | 25 | hi Normal guifg=#eeeeec guibg=#191818 26 | "hi Normal guifg=#eeeeec guibg=#2e3436 27 | 28 | " highlight groups 29 | hi Cursor guibg=#ffffff guifg=#000000 30 | hi CursorLine guibg=#000000 31 | "hi CursorLine guibg=#3e4446 32 | hi CursorColumn guibg=#3e4446 33 | 34 | "hi DiffText guibg=#4e9a06 guifg=#FFFFFF gui=bold 35 | "hi DiffChange guibg=#4e9a06 guifg=#FFFFFF gui=bold 36 | "hi DiffAdd guibg=#204a87 guifg=#FFFFFF gui=bold 37 | "hi DiffDelete guibg=#5c3566 guifg=#FFFFFF gui=bold 38 | 39 | hi DiffAdd guifg=#ffcc7f guibg=#a67429 gui=none 40 | hi DiffChange guifg=#7fbdff guibg=#425c78 gui=none 41 | hi DiffText guifg=#8ae234 guibg=#4e9a06 gui=none 42 | "hi DiffDelete guifg=#252723 guibg=#000000 gui=none 43 | hi DiffDelete guifg=#000000 guibg=#000000 gui=none 44 | "hi ErrorMsg 45 | 46 | hi Number guifg=#fce94f 47 | 48 | hi Folded guibg=#000000 guifg=#FFFFFF gui=bold 49 | hi vimFold guibg=#000000 guifg=#FFFFFF gui=bold 50 | hi FoldColumn guibg=#000000 guifg=#FFFFFF gui=bold 51 | 52 | hi LineNr guifg=#555753 guibg=#000000 53 | hi NonText guifg=#555753 guibg=#000000 54 | hi Folded guifg=#ef5939 guibg=#000000 gui=bold 55 | hi FoldColumn guifg=#555753 guibg=#000000 gui=bold 56 | "hi VertSplit guibg=#ffffff guifg=#ffffff gui=none 57 | hi VertSplit guibg=#c0c0c0 guifg=#c0c0c0 gui=none 58 | 59 | hi StatusLine guifg=#000000 guibg=#ffffff gui=none 60 | hi StatusLineNC guifg=#000000 guibg=#C0C0C0 gui=none 61 | 62 | hi ModeMsg guifg=#fce94f 63 | hi MoreMsg guifg=#fce94f 64 | hi Visual guifg=#FFFFFF guibg=#333333 gui=none 65 | "hi Visual guifg=#FFFFFF guibg=#4e5456 gui=none 66 | hi IncSearch guibg=#FFFFFF guifg=#ef5939 67 | hi Search guibg=#ad7fa8 guifg=#FFFFFF 68 | hi Search guibg=#990000 guifg=#FFFFFF 69 | hi SpecialKey guifg=#888a85 70 | 71 | hi Title guifg=#ef5939 72 | hi WarningMsg guifg=#ef5939 73 | hi Number guifg=#fcaf3e 74 | 75 | hi MatchParen guibg=#ad7fa8 guifg=#FFFFFF 76 | hi Comment guifg=#888a85 77 | hi Constant guifg=#ef5939 gui=none 78 | hi String guifg=#fce94f 79 | hi Identifier guifg=#729fcf 80 | hi Statement guifg=#FFFFFF 81 | hi PreProc guifg=#CCCCCC gui=none 82 | hi Type guifg=#8ae234 gui=bold 83 | hi Special guifg=#e9b96e 84 | hi Underlined guifg=#ad7fa8 gui=underline 85 | hi Directory guifg=#729fcf 86 | hi Ignore guifg=#555753 87 | hi Todo guifg=#123456 guibg=#ef5939 gui=bold 88 | hi Function guifg=#ad7fa8 89 | 90 | "hi WildMenu guibg=#2e3436 guifg=#ffffff gui=bold 91 | "hi WildMenu guifg=#7fbdff guibg=#425c78 gui=none 92 | hi WildMenu guifg=#123456 guibg=#3465a4 gui=none 93 | 94 | hi Pmenu guibg=#000000 guifg=#c0c0c0 95 | hi PmenuSel guibg=#3465a4 guifg=#123456 96 | hi PmenuSbar guibg=#222222 guifg=#222222 97 | hi PmenuThumb guibg=#666666 guifg=#666666 98 | 99 | hi cppSTLType guifg=#729fcf gui=bold 100 | 101 | hi link cppSTL Function 102 | hi link Error Todo 103 | hi link Character Number 104 | hi link rubySymbol Number 105 | hi link htmlTag htmlEndTag 106 | "hi link htmlTagName htmlTag 107 | hi link htmlLink Underlined 108 | hi link pythonFunction Identifier 109 | hi link Question Type 110 | hi link CursorIM Cursor 111 | hi link VisualNOS Visual 112 | hi link xmlTag Identifier 113 | hi link xmlTagName Identifier 114 | hi link shDeref Identifier 115 | hi link shVariable Function 116 | hi link rubySharpBang Special 117 | hi link perlSharpBang Special 118 | "hi link shSpecialVariables Constant 119 | "hi link bashSpecialVariables Constant 120 | 121 | " tabs (non gui) 122 | hi TabLine guifg=#AAAAAA guibg=#000000 gui=none 123 | hi TabLineFill guifg=#555753 guibg=#000000 gui=none 124 | hi TabLineSel guifg=#123456 gui=bold 125 | "hi TabLineSel guifg=#FFFFFF guibg=#000000 gui=bold 126 | " vim: sw=4 ts=4 127 | -------------------------------------------------------------------------------- /.vim/colors/diablo3.vim: -------------------------------------------------------------------------------- 1 | " Vim color file 2 | " Name: diablo3 3 | " Maintainer: Vayn 4 | " Last Change: 2011年 05月 30日 星期一 12:52:10 CST 5 | " Thanks To: lilydjwg, Tomas Restrepo (author of molokai.vim) 6 | " Options: 7 | " 8 | " If you want to set long line warning, copy this in your vimrc: 9 | " 10 | " let g:diablo3_longline = 1 11 | " 12 | " 13 | " The default length of a line is 120, you can change it by putting 14 | " the following in your vimrc: 15 | " 16 | " let g:diablo3_len = 79 17 | " 18 | " Notice the length here is the length you want to set plus 1. 19 | " 20 | " 21 | 22 | hi clear 23 | 24 | set background=dark 25 | if version > 580 26 | hi clear 27 | if exists("syntax_on") 28 | syntax reset 29 | endif 30 | endif 31 | let g:colors_name="diablo3" 32 | 33 | " Error format when a line is longer than g:diablo3_longlen, default 34 | " length is 120. 35 | if exists('g:diablo3_longline') && g:diablo3_longline == 1 36 | if ! exists('g:diablo3_len') 37 | let g:diablo3_len = 121 38 | end 39 | exe 'match LongLineWarning "\%'.g:diablo3_len.'v.*"' 40 | end 41 | 42 | hi Boolean guifg=#ae81ff gui=bold 43 | hi Character guifg=#e6db74 44 | hi Number guifg=#ae81ff 45 | hi String guifg=#fadc11 46 | hi Conditional guifg=#6d8fd9 gui=bold 47 | hi Constant guifg=#d4ff36 gui=bold 48 | hi Cursor guifg=#000000 guibg=#f8f8f0 49 | hi Debug guifg=#bca3a3 gui=bold 50 | hi Define guifg=#66d9ef 51 | hi Delimiter guifg=#8f8f8f 52 | hi DiffAdd guibg=#13354a 53 | hi DiffChange guifg=#89807d guibg=#4c4745 54 | hi DiffDelete guifg=#960050 guibg=#1e0010 55 | hi DiffText guibg=#4c4745 gui=italic,bold 56 | 57 | hi Directory guifg=#a6e22e gui=bold 58 | hi Error guifg=#960050 guibg=#1e0010 59 | hi ErrorMsg guifg=#f92672 guibg=#232526 gui=bold 60 | hi Exception guifg=#a6e22E gui=bold 61 | hi Float guifg=#ae81fF 62 | hi FoldColumn guifg=#465457 guibg=#000000 63 | hi Folded guifg=#465457 guibg=#000000 64 | hi Function guifg=#cbfe28 65 | hi Identifier guifg=#ff9900 66 | hi Ignore guifg=#808080 guibg=bg 67 | hi IncSearch guifg=#c4be89 guibg=#000000 68 | 69 | hi Keyword guifg=#f92672 gui=bold 70 | hi Label guifg=#e6db74 gui=none 71 | hi Macro guifg=#c4be89 gui=italic 72 | hi SpecialKey guifg=#d3fe36 gui=italic 73 | 74 | hi MatchParen guifg=#000000 guibg=#fd971f gui=bold 75 | hi ModeMsg guifg=#e6db74 76 | hi MoreMsg guifg=#e6db74 77 | hi Operator guifg=#6d8fd9 78 | 79 | " complete menu 80 | hi Pmenu guifg=#66d9ef guibg=#000000 81 | hi PmenuSel guibg=#808080 82 | hi PmenuSbar guibg=#080808 83 | hi PmenuThumb guifg=#66d9ef 84 | 85 | hi PreCondit guifg=#a6e22e gui=bold 86 | hi PreProc guifg=#a6e22e 87 | hi Question guifg=#66d9ef 88 | hi Repeat guifg=#f92672 gui=bold 89 | hi Search guifg=#fffffF guibg=#0099ff 90 | " marks column 91 | hi SignColumn guifg=#a6e22e guibg=#232526 92 | hi SpecialChar guifg=#f92672 gui=bold 93 | hi SpecialComment guifg=#465457 gui=bold 94 | hi Special guifg=#66d9ef guibg=bg gui=italic 95 | hi SpecialKey guifg=#888A85 gui=italic 96 | if has("spell") 97 | hi SpellBad guisp=#ff0000 gui=undercurl 98 | hi SpellCap guisp=#7070F0 gui=undercurl 99 | hi SpellLocal guisp=#70f0f0 gui=undercurl 100 | hi SpellRare guisp=#ffffff gui=undercurl 101 | endif 102 | hi Statement guifg=#6d8fd9 gui=bold 103 | hi htmlStatement guifg=#99b5d9 104 | hi StatusLine guifg=#455354 guibg=fg 105 | hi StatusLineNC guifg=#808080 guibg=#080808 106 | hi StorageClass guifg=#fd971f gui=italic 107 | hi Structure guifg=#66d9ef 108 | hi Tag guifg=#f92672 gui=italic 109 | hi Title guifg=#ef5939 110 | hi Todo guifg=#ffffff guibg=bg gui=bold 111 | 112 | hi Typedef guifg=#66d9ef 113 | hi Type guifg=#66d9ef gui=none 114 | hi Underlined guifg=#808080 gui=underline 115 | 116 | hi VertSplit guifg=#808080 guibg=#080808 gui=bold 117 | hi VisualNOS guibg=#403d3d 118 | hi Visual guibg=#403d3d 119 | hi WarningMsg guifg=#ffffff guibg=#333333 gui=bold 120 | hi WildMenu guifg=#66d9ef guibg=#000000 121 | 122 | hi Normal guifg=#f4f4f4 guibg=#070914 123 | hi Comment guifg=#666666 124 | hi CursorLine guibg=#293739 125 | hi CursorColumn guibg=#293739 126 | hi LineNr guifg=#bcbcbc guibg=#151825 127 | hi NonText guifg=#151825 guibg=#151825 128 | 129 | hi LongLineWarning guifg=#960050 guibg=#1e0010 gui=underline 130 | 131 | " 132 | " Support for 256-color terminal 133 | " 134 | if &t_Co > 255 135 | highlight Boolean cterm=bold ctermfg=141 136 | highlight Character ctermfg=185 137 | highlight Number ctermfg=210 138 | highlight String ctermfg=209 139 | highlight Conditional ctermfg=214 140 | highlight Constant cterm=bold ctermfg=191 141 | highlight Cursor ctermbg=231 ctermfg=16 142 | highlight Debug cterm=bold ctermfg=250 143 | highlight Define ctermfg=81 144 | highlight Delimiter ctermfg=245 145 | highlight DiffAdd ctermbg=23 146 | highlight DiffChange ctermbg=239 ctermfg=245 147 | highlight DiffDelete ctermbg=53 ctermfg=89 148 | highlight DiffText cterm=bold ctermbg=239 149 | 150 | highlight Directory cterm=bold ctermfg=112 151 | highlight Error ctermbg=53 ctermfg=152 152 | highlight ErrorMsg cterm=bold ctermbg=235 ctermfg=197 153 | highlight Exception cterm=bold ctermfg=112 154 | highlight Float ctermfg=141 155 | highlight FoldColumn ctermbg=31 ctermfg=195 156 | highlight Folded ctermbg=31 ctermfg=195 157 | highlight Function ctermfg=154 158 | highlight Identifier ctermfg=208 159 | highlight Ignore ctermfg=244 160 | highlight IncSearch ctermbg=16 ctermfg=186 161 | 162 | highlight Keyword cterm=bold ctermfg=197 163 | highlight Label cterm=none ctermfg=185 164 | highlight Macro ctermfg=186 165 | highlight SpecialKey ctermfg=191 166 | 167 | highlight MatchParen cterm=bold ctermbg=208 ctermfg=16 168 | 169 | highlight MoreMsg ctermfg=185 170 | highlight Operator cterm=bold ctermfg=33 171 | 172 | " complete menu 173 | highlight Pmenu ctermbg=16 ctermfg=81 174 | highlight PmenuSel ctermbg=244 175 | highlight PmenuSbar ctermbg=232 176 | highlight PmenuThumb ctermfg=81 177 | 178 | highlight PreCondit cterm=bold ctermfg=112 179 | highlight PreProc ctermfg=112 180 | highlight Question ctermfg=81 181 | highlight Repeat cterm=bold ctermfg=33 182 | highlight Search ctermbg=33 ctermfg=231 183 | " marks column 184 | highlight SignColumn ctermbg=235 ctermfg=112 185 | highlight SpecialChar cterm=bold ctermfg=197 186 | highlight SpecialComment cterm=bold ctermfg=240 187 | highlight Special ctermfg=81 188 | highlight SpecialKey ctermfg=245 189 | 190 | if has("spell") 191 | highlight SpellBad cterm=undercurl 192 | highlight SpellCap cterm=undercurl 193 | highlight SpellLocal cterm=undercurl 194 | highlight SpellRare cterm=undercurl 195 | endif 196 | 197 | highlight Statement cterm=bold ctermfg=33 198 | highlight htmlStatement ctermfg=67 199 | highlight StatusLine ctermfg=240 200 | highlight StatusLineNC ctermbg=232 ctermfg=244 201 | highlight StorageClass ctermfg=208 202 | highlight Structure ctermfg=81 203 | highlight Tag ctermfg=197 204 | highlight Title ctermfg=209 205 | highlight Todo cterm=bold ctermfg=234 206 | 207 | highlight Typedef ctermfg=81 208 | highlight Type cterm=none ctermfg=81 209 | highlight Underlined cterm=underline ctermfg=244 210 | 211 | highlight VertSplit cterm=bold ctermbg=232 ctermfg=244 212 | highlight VisualNOS ctermbg=238 213 | highlight Visual ctermbg=238 214 | highlight WarningMsg cterm=bold ctermbg=236 ctermfg=231 215 | highlight WildMenu ctermbg=16 ctermfg=81 216 | 217 | highlight Normal ctermbg=17 ctermfg=231 218 | highlight Comment ctermfg=248 219 | highlight CursorLine cterm=none ctermbg=237 220 | highlight CursorColumn ctermbg=237 221 | highlight LineNr ctermbg=18 ctermfg=250 222 | highlight NonText ctermbg=18 ctermfg=235 223 | 224 | highlight LongLineWarning cterm=underline ctermbg=53 ctermfg=152 225 | end 226 | 227 | -------------------------------------------------------------------------------- /.vim/colors/fu.vim: -------------------------------------------------------------------------------- 1 | " Vim color file 2 | " 3 | " Name: fu.vim 4 | " Version: 1.1 5 | " Maintainer: Aaron Mueller 6 | " Contributors: Florian Eitel 7 | " Tinou 8 | " 9 | " This is a compositon from railscast, mustang and xoria256 with a lot of 10 | " improvemts in the colors. Want to change toe colors to your needs? Go to 11 | " this page to see what number is set wo what color: 12 | " http://www.calmar.ws/vim/256-xterm-24bit-rgb-color-chart.html 13 | " 14 | " History: 15 | " 2010-06-09 - Merge changes from Florian Eitel in this file. There was many 16 | " whitespace issues and some unused highlight settings which are removed 17 | " now. Also merged Tinous GUI version of the whole colorscheme. Thanks a 18 | " lot dudes! 19 | " 20 | " 2010-06-09 - Initial setup and creation of this file. Additional colors for 21 | " Ruby and the diff view are added. 22 | " 23 | 24 | if &t_Co != 256 && ! has("gui_running") 25 | echomsg "err: please use GUI or a 256-color terminal (so that t_Co=256 could be set)" 26 | finish 27 | endif 28 | 29 | set background=dark 30 | hi clear 31 | 32 | if exists("syntax_on") 33 | syntax reset 34 | endif 35 | let colors_name = "fu" 36 | 37 | 38 | " General colors 39 | hi Normal ctermfg=252 ctermbg=234 guifg=#d0d0d0 guibg=#1c1c1c 40 | hi CursorColumn ctermbg=238 guibg=#444444 41 | hi Cursor ctermbg=214 guibg=#ffaf00 42 | hi CursorLine ctermbg=238 guibg=#444444 43 | hi FoldColumn ctermfg=248 ctermbg=bg guifg=#a8a8a8 guibg=#000000 44 | hi Folded ctermfg=255 ctermbg=60 guifg=#eeeeee guibg=#5f5f87 45 | hi IncSearch ctermfg=0 ctermbg=223 guifg=#000000 guibg=#ffd7af 46 | hi NonText ctermfg=248 ctermbg=233 cterm=bold guifg=#a8a8a8 guibg=#121212 47 | hi Search ctermfg=0 ctermbg=149 guifg=#000000 guibg=#afd75f 48 | hi SignColumn ctermfg=248 guifg=#a8a8a8 49 | hi SpecialKey ctermfg=77 guifg=#5fd75f 50 | hi StatusLine ctermfg=232 ctermbg=255 guifg=#080808 guibg=#eeeeee 51 | hi StatusLineNC ctermfg=237 ctermbg=253 guifg=#3a3a3a guibg=#dadada 52 | hi TabLine ctermfg=253 ctermbg=237 guifg=#dadada guibg=#3a3a3a 53 | hi TabLineFill ctermfg=0 ctermbg=0 guifg=#000000 guibg=#000000 54 | hi TabLineSel ctermfg=255 ctermbg=33 guifg=#eeeeee guibg=#0087ff 55 | hi VertSplit ctermfg=237 ctermbg=237 guifg=#3a3a3a guibg=#3a3a3a 56 | hi Visual ctermfg=24 ctermbg=153 guifg=#005f87 guibg=#afd7ff 57 | hi VIsualNOS ctermfg=24 ctermbg=153 guifg=#005f87 guibg=#afd7ff 58 | hi LineNr ctermfg=248 ctermbg=232 guifg=#a8a8a8 guibg=#080808 59 | hi ModeMsg ctermfg=220 guifg=#ffd700 60 | 61 | hi ErrorMsg ctermfg=196 ctermbg=52 guifg=#ff0000 guibg=#5f0000 62 | hi SpellBad ctermfg=196 ctermbg=52 63 | 64 | if version >= 700 65 | hi CursorLine ctermbg=236 guibg=#303030 66 | hi CursorColumn ctermbg=236 guibg=#303030 67 | hi MatchParen ctermfg=157 ctermbg=237 cterm=bold guifg=#afffaf guibg=#3a3a3a 68 | hi Pmenu ctermfg=255 ctermbg=236 guifg=#eeeeee guibg=#303030 69 | hi PmenuSel ctermfg=0 ctermbg=74 guifg=#000000 guibg=#5fafd7 70 | hi PmenuSbar ctermbg=243 guibg=#767676 71 | hi PmenuThumb ctermbg=252 guibg=#d0d0d0 72 | hi WildMenu ctermfg=255 ctermbg=33 guifg=#eeeeee guibg=#0087ff 73 | endif 74 | 75 | " Syntax highlighting 76 | hi Comment ctermfg=244 guifg=#808080 77 | 78 | hi Constant ctermfg=220 cterm=bold guifg=#ffd700 79 | hi String ctermfg=107 ctermbg=233 guifg=#87af5f guibg=#121212 80 | hi Character ctermfg=228 ctermbg=16 guifg=#ffff87 guibg=#000000 81 | hi Number ctermfg=214 guifg=#ffaf00 82 | hi Boolean ctermfg=148 guifg=#afd700 83 | 84 | hi Identifier ctermfg=149 guifg=#afd75f 85 | hi Function ctermfg=231 guifg=#ffffff 86 | 87 | hi Statement ctermfg=103 guifg=#8787af 88 | hi Conditional ctermfg=105 guifg=#8787ff 89 | hi Repeat ctermfg=105 guifg=#8787ff 90 | hi Label ctermfg=105 guifg=#8787ff 91 | hi Operator ctermfg=243 guifg=#767676 92 | hi Keyword ctermfg=190 guifg=#d7ff00 93 | hi Exception ctermfg=166 ctermbg=0 guifg=#d75f00 guibg=#000000 94 | 95 | hi PreProc ctermfg=229 guifg=#ffffaf 96 | 97 | hi Type ctermfg=111 guifg=#87afff 98 | hi Structure ctermfg=111 ctermbg=233 guifg=#87afff guibg=#121212 99 | 100 | hi Special ctermfg=220 guifg=#ffd700 101 | hi SpecialComment ctermfg=228 ctermbg=16 guifg=#ffff87 guibg=#000000 102 | 103 | hi Error ctermfg=196 ctermbg=52 guifg=#ff0000 guibg=#5f0000 104 | hi Todo ctermfg=46 ctermbg=22 guifg=#00ff00 guibg=#005f00 105 | 106 | " Diff 107 | hi diffAdd ctermfg=bg ctermbg=151 guifg=#afd787 108 | hi diffDelete ctermfg=bg ctermbg=246 guifg=#d78787 109 | hi diffChange ctermfg=bg ctermbg=181 guifg=#000000 guibg=#afd7af 110 | hi diffText ctermfg=bg ctermbg=174 cterm=bold guifg=#000000 guibg=#949494 111 | 112 | " Ruby 113 | hi rubyBlockParameter ctermfg=27 guifg=#005fff 114 | hi rubyClass ctermfg=75 guifg=#5fafff 115 | hi rubyConstant ctermfg=167 guifg=#d75f5f 116 | hi rubyInterpolation ctermfg=107 guifg=#87af5f 117 | hi rubyLocalVariableOrMethod ctermfg=189 guifg=#d7d7ff 118 | hi rubyPredefinedConstant ctermfg=167 guifg=#d75f5f 119 | hi rubyPseudoVariable ctermfg=221 guifg=#ffd75f 120 | hi rubyStringDelimiter ctermfg=143 guifg=#afaf5f 121 | 122 | -------------------------------------------------------------------------------- /.vim/colors/hornet.vim: -------------------------------------------------------------------------------- 1 | " Maintainer: Taurus Olson 2 | " Mail: taurusolson@gmail.com 3 | " Version: 1.0.2 4 | " Last Change: October 17, 2009 5 | " Credits: This is a modification of busybee.vim color scheme 6 | 7 | set background=dark 8 | 9 | hi clear 10 | 11 | if exists("syntax_on") 12 | syntax reset 13 | endif 14 | 15 | let colors_name = "hornet" 16 | 17 | " Vim >= 7.0 specific colors 18 | if version >= 700 19 | hi CursorLine guibg=#303030 ctermbg=234 20 | hi CursorColumn guibg=#202020 ctermbg=234 21 | hi MatchParen guifg=#d0ffc0 guibg=#202020 gui=bold ctermfg=157 ctermbg=237 cterm=bold 22 | hi Pmenu guifg=#ffffff guibg=#202020 ctermfg=255 ctermbg=238 23 | hi PmenuSel guifg=#000000 guibg=#b1d631 ctermfg=0 ctermbg=148 24 | endif 25 | 26 | " General colors 27 | hi Cursor guifg=NONE guibg=#626262 gui=none ctermbg=241 28 | hi Normal guifg=#e2e2e5 guibg=#202020 gui=none ctermfg=253 ctermbg=234 29 | hi NonText guifg=#808080 guibg=#202020 gui=none ctermfg=244 ctermbg=235 30 | hi LineNr guifg=#303030 guibg=#202020 gui=none ctermfg=244 ctermbg=232 31 | hi StatusLine guifg=#d3d3d5 guibg=#303030 gui=none ctermfg=253 ctermbg=238 32 | hi StatusLineNC guifg=#939395 guibg=#303030 gui=none ctermfg=246 ctermbg=238 33 | hi VertSplit guifg=#444444 guibg=#303030 gui=none ctermfg=238 ctermbg=238 34 | hi Folded guibg=#384048 guifg=#a0a8b0 gui=none ctermbg=4 ctermfg=248 35 | hi Title guifg=#f6f3e8 guibg=NONE gui=bold ctermfg=254 cterm=bold 36 | hi Visual guifg=#faf4c6 guibg=#3c414c gui=none ctermfg=254 ctermbg=4 37 | hi SpecialKey guifg=#808080 guibg=#343434 gui=none ctermfg=244 ctermbg=236 38 | hi Directory guifg=#fecf35 gui=none ctermfg=148 39 | 40 | " Syntax highlighting 41 | hi Comment guifg=#757575 gui=italic ctermfg=244 42 | hi Todo guifg=#fec135 gui=none ctermfg=245 43 | hi Boolean guifg=#b1d631 gui=none ctermfg=148 44 | hi String guifg=#fecf35 gui=none ctermfg=148 45 | hi Identifier guifg=#b1d631 gui=none ctermfg=148 46 | hi Function guifg=#fdb32a gui=none ctermfg=255 47 | hi Type guifg=#7e8aa2 gui=none ctermfg=103 48 | hi Statement guifg=#7e8aa2 gui=none ctermfg=103 49 | hi Keyword guifg=#ff9800 gui=none ctermfg=208 50 | hi Constant guifg=#c03000 gui=none ctermfg=208 51 | hi Number guifg=#ff9800 gui=none ctermfg=208 52 | hi Special guifg=#4bb5c1 gui=none ctermfg=208 53 | hi PreProc guifg=#96ca2d gui=none ctermfg=230 54 | hi Todo guifg=#fec135 guibg=#202020 gui=none 55 | hi Search guifg=#000000 guibg=#aeee00 gui=none 56 | 57 | " Code-specific colors 58 | hi pythonImport guifg=#7fc6bc gui=none ctermfg=255 59 | hi pythonException guifg=#f00000 gui=none ctermfg=200 60 | hi pythonOperator guifg=#7e8aa2 gui=none ctermfg=103 61 | hi pythonBuiltinFunction guifg=#009000 gui=none ctermfg=200 62 | hi pythonExClass guifg=#009000 gui=none ctermfg=200 63 | -------------------------------------------------------------------------------- /.vim/colors/kaltex.vim: -------------------------------------------------------------------------------- 1 | "==============================================================================. 2 | " File: kaltex.vim | 3 | " License: Public Domain, FREE as LOVE. | 4 | " Description: A cold colorscheme for GVIM/VIM with bold, italic and underline | 5 | " font styles. On VIM it uses a black background, because it was | 6 | " easier to do and *seems* to be the only way to make a | 7 | " colorscheme look nice on any darn terminal. | 8 | " This colorscheme _should_ look nice everywhere. | 9 | "==============================================================================| 10 | " Author: drachenkiraa, {ZdrachenZkiraaZ}@{ZgmailZ}.{comZ} (remove: Z{}) | 11 | " Last Change: 2009 Jun 25 | 12 | " Version: 1.0 | 13 | "==========================================================================={{{1 14 | " Color Test: :he group-name | 15 | " :so $VIMRUNTIME/syntax/hitest.vim | 16 | " Tested On: - Windows (gvim v7.1), Linux (gvim v6.3), | 17 | " - DOS (vim v7.1), Standard Linux Terminal (gvim v6.3, v6.4), | 18 | " - Xterm, Rxvt, Konsole (vim v6.3, v6.4). | 19 | " TODO: * Test this colorscheme on newer versions of vim/gvim for Linux | 20 | " and other systems. | 21 | " * Are all the has("feature") checks really worth? | 22 | " Please enlighten me if I'm wrong. | 23 | "==============================================================================| 24 | " Random Tips: | 25 | " * If your terminal supports more than 8 colors (which is the case of most | 26 | " xterms, rxvts, and others), then it is worth adding the following line | 27 | " somewhere into your .vimrc: | 28 | " set t_Co=16 | 29 | " That'll make this colorscheme look a lot better on such terminals. | 30 | " For further help checkout: | 31 | " :he term-dependent-settings | 32 | " :he term | 33 | "===========================================================================}}}1 34 | " Initial setup stuff {{{1 35 | " Remove existing highlighting 36 | if has("gui_running") 37 | set background=light 38 | else 39 | set background=dark 40 | endif 41 | hi clear 42 | if exists("syntax_on") 43 | syntax reset 44 | endif 45 | let g:colors_name = "kaltex" 46 | hi Normal ctermbg=Black ctermfg=Gray cterm=NONE guibg=#eaeaea guifg=Black gui=none 47 | 48 | " Vim >= 7.0 specific colors {{{1 49 | if v:version >= 700 50 | " Cursor colors {{{2 51 | hi Cursor ctermbg=DarkBlue ctermfg=fg cterm=NONE guibg=DarkBlue guifg=bg gui=none 52 | hi CursorLine ctermbg=Green guibg=#ccccff gui=none 53 | hi CursorColumn ctermbg=Green guibg=#ccccff gui=none 54 | " only for Win32, IME status 55 | if has('multi_byte_ime') 56 | hi CursorIM guibg=DarkMagenta guifg=NONE gui=none 57 | endif 58 | 59 | " Auto-completion Popup Menu colors {{{2 60 | hi Pmenu ctermbg=DarkCyan ctermfg=bg cterm=NONE guibg=#9999cc guifg=fg gui=none 61 | hi PmenuSel ctermbg=DarkBlue ctermfg=fg cterm=NONE guibg=#333399 guifg=bg gui=none 62 | hi PmenuSbar ctermbg=DarkBlue ctermfg=DarkBlue cterm=NONE guibg=#333399 guifg=fg gui=none 63 | hi PmenuThumb ctermbg=Gray ctermfg=Gray cterm=NONE guibg=#6666cc guifg=fg gui=none 64 | 65 | " Tab colors {{{2 66 | if has("windows") 67 | hi TabLine ctermbg=DarkCyan ctermfg=DarkBlue guibg=DarkGray guifg=DarkBlue gui=none 68 | hi TabLineFill ctermbg=DarkCyan ctermfg=DarkBlue guibg=DarkGray guifg=DarkBlue gui=none 69 | hi TabLineSel ctermbg=DarkBlue ctermfg=Gray guibg=DarkBlue guifg=Gray gui=bold 70 | endif 71 | 72 | " Spell checking colors {{{2 73 | if has("spell") 74 | hi SpellBad ctermbg=White ctermfg=Red cterm=NONE guisp=Red gui=undercurl 75 | hi SpellCap ctermbg=White ctermfg=Blue cterm=NONE guisp=Blue gui=undercurl 76 | hi SpellLocal ctermbg=White ctermfg=DarkCyan cterm=NONE guisp=DarkCyan gui=undercurl 77 | hi SpellRare ctermbg=White ctermfg=Magenta cterm=NONE guisp=Magenta gui=undercurl 78 | endif 79 | 80 | endif "}}}1 81 | " Messages and other texts' colors {{{1 82 | hi WarningMsg ctermbg=bg ctermfg=Red cterm=NONE guibg=bg guifg=Red3 gui=none 83 | hi ErrorMsg ctermbg=Red ctermfg=White cterm=NONE guibg=Red3 guifg=White gui=none 84 | hi ModeMsg ctermbg=bg ctermfg=fg cterm=NONE guibg=bg guifg=fg gui=none 85 | hi MoreMsg ctermbg=bg ctermfg=Green cterm=NONE guibg=bg guifg=DarkGreen gui=none 86 | hi Question ctermbg=bg ctermfg=White cterm=NONE guibg=bg guifg=DarkBlue gui=none 87 | hi Directory ctermbg=bg ctermfg=Blue cterm=NONE guibg=bg guifg=Blue gui=none 88 | hi Title ctermbg=bg ctermfg=Blue cterm=NONE guibg=bg guifg=Blue gui=none 89 | 90 | " Diff colors {{{1 91 | if has("diff") 92 | hi DiffAdd ctermbg=Green ctermfg=bg cterm=NONE guibg=LightGreen gui=none 93 | hi DiffChange ctermbg=Blue ctermfg=fg cterm=NONE guibg=LightBlue gui=none 94 | hi DiffDelete ctermbg=Red ctermfg=fg cterm=NONE guibg=LightRed gui=none 95 | hi DiffText ctermbg=Cyan ctermfg=bg cterm=NONE guibg=LightCyan gui=none 96 | endif 97 | 98 | " Outline, Fold & Sign columns colors {{{1 99 | hi LineNr ctermbg=bg ctermfg=DarkYellow guibg=Gray85 guifg=Gray40 gui=none 100 | if has("folding") 101 | hi Folded ctermbg=DarkCyan ctermfg=bg cterm=NONE guibg=Gray80 guifg=DarkBlue gui=none 102 | hi FoldColumn ctermbg=DarkCyan ctermfg=bg cterm=NONE guibg=Gray80 guifg=DarkBlue gui=none 103 | endif 104 | if has("signs") 105 | hi SignColumn ctermbg=bg ctermfg=Yellow cterm=NONE guibg=Gray85 guifg=DarkBlue gui=none 106 | endif 107 | 108 | " Search & Special characters' colors {{{1 109 | if has("extra_search") 110 | hi Search ctermbg=Yellow cterm=NONE guibg=Yellow gui=none 111 | hi IncSearch ctermbg=Green ctermfg=bg cterm=NONE guibg=LightMagenta guifg=fg gui=none 112 | endif 113 | hi NonText ctermbg=bg ctermfg=DarkGray guibg=bg guifg=DarkGray gui=none 114 | hi SpecialKey ctermbg=bg ctermfg=Brown guibg=bg guifg=#993333 gui=none 115 | 116 | " Window Bars, Status line & Visual mode colors {{{1 117 | hi StatusLine ctermbg=DarkBlue ctermfg=fg cterm=NONE guibg=DarkRed guifg=bg gui=none 118 | if has("windows") 119 | hi StatusLineNC ctermbg=DarkGreen ctermfg=bg cterm=NONE guibg=Gray60 guifg=DarkRed gui=none 120 | endif 121 | 122 | if has("vertsplit") 123 | hi VertSplit ctermbg=DarkGreen ctermfg=bg cterm=NONE guibg=DarkRed guifg=bg gui=none 124 | endif 125 | 126 | if has("wildmenu") 127 | hi WildMenu ctermbg=bg ctermfg=Green cterm=NONE guibg=bg guifg=DarkRed gui=bold 128 | endif 129 | 130 | if has("visual") 131 | hi Visual ctermbg=DarkMagenta ctermfg=bg cterm=NONE guibg=#ccee88 guifg=fg gui=none 132 | hi VisualNOS ctermbg=bg ctermfg=DarkMagenta cterm=NONE guibg=#ccee88 guifg=fg gui=none 133 | endif 134 | 135 | " Syntax highlighting colors {{{1 136 | hi Comment ctermbg=bg ctermfg=DarkGray guibg=bg guifg=Gray50 gui=none 137 | hi link SpecialComment Comment 138 | 139 | hi Character ctermbg=bg ctermfg=Red guibg=bg guifg=DarkRed gui=none 140 | hi String ctermbg=bg ctermfg=Magenta guibg=bg guifg=Blue gui=none 141 | hi Constant ctermbg=bg ctermfg=Yellow guibg=bg guifg=DarkGreen gui=none 142 | hi link Number Constant 143 | hi link Float Constant 144 | hi link Boolean Constant 145 | 146 | hi Identifier ctermbg=bg ctermfg=Green guibg=bg guifg=DarkGreen gui=none 147 | hi Function ctermbg=bg ctermfg=Green guibg=bg guifg=DarkGreen gui=bold 148 | 149 | hi Statement ctermbg=bg ctermfg=Blue guibg=bg guifg=DarkBlue gui=bold 150 | hi link Conditional Statement 151 | hi link Repeat Statement 152 | hi link Operator Statement 153 | hi link Keyword Statement 154 | hi link Label Statement 155 | hi link Exception Statement 156 | 157 | hi Type ctermbg=bg ctermfg=DarkMagenta guibg=bg guifg=DarkMagenta gui=bold 158 | hi link StorageClass Type 159 | hi link Structure Type 160 | hi link Typedef Type 161 | 162 | hi PreProc ctermbg=bg ctermfg=DarkCyan guibg=bg guifg=DarkCyan gui=none 163 | hi PreCondit ctermbg=bg ctermfg=DarkYellow guibg=bg guifg=DarkYellow gui=bold 164 | hi link Include PreProc 165 | hi link Define PreProc 166 | 167 | hi Special ctermbg=bg ctermfg=Blue guibg=bg guifg=Blue gui=none 168 | hi SpecialChar ctermbg=bg ctermfg=Red guibg=bg guifg=Red gui=none 169 | hi Tag ctermbg=bg ctermfg=DarkRed guibg=bg guifg=DarkRed gui=none 170 | hi Delimiter ctermbg=bg ctermfg=DarkRed guibg=bg guifg=DarkRed gui=none 171 | hi Debug ctermbg=bg ctermfg=DarkGray guibg=bg guifg=DarkGray gui=none 172 | 173 | hi MatchParen ctermbg=White ctermfg=Black cterm=NONE guibg=Blue guifg=White gui=none 174 | hi Error ctermbg=Red ctermfg=White cterm=NONE guibg=bg guifg=Red gui=none 175 | hi Ignore ctermbg=bg ctermfg=bg cterm=NONE guibg=bg guifg=bg gui=none 176 | hi Todo ctermbg=DarkCyan ctermfg=bg cterm=NONE guibg=DarkCyan guifg=bg gui=none 177 | hi Underlined ctermbg=bg ctermfg=Blue cterm=underline guibg=bg guifg=Blue gui=underline 178 | "}}}1 179 | "==========================================================================={{{1 180 | " vim: set et sw=2 sts=2 ts=8: 181 | " vim600: set fdc=2 fdm=marker: 182 | -------------------------------------------------------------------------------- /.vim/colors/liquidcarbon.vim: -------------------------------------------------------------------------------- 1 | " File: liquidcarbon.vim 2 | " Author: Jeet Sukumaran 3 | " Description: Vim color file 4 | " Last Modified: October 06, 2010 5 | 6 | " Initialization and Setup {{{1 7 | " ============================================================================ 8 | set background=dark 9 | highlight clear 10 | if exists("syntax_on") 11 | syntax reset 12 | endif 13 | let colors_name = "liquidcarbon" 14 | " 1}}} 15 | 16 | " Normal Color {{{1 17 | " ============================================================================ 18 | hi Normal guifg=#bdcdcd guibg=#303030 19 | " 1}}} 20 | 21 | " Core Highlights {{{1 22 | " ============================================================================ 23 | hi ColorColumn guifg=NONE guibg=#3A3A3A 24 | hi Cursor guifg=bg guibg=fg gui=NONE 25 | hi CursorIM guifg=bg guibg=fg gui=NONE 26 | hi CursorLine guifg=NONE guibg=#303030 gui=NONE 27 | hi lCursor guifg=bg guibg=fg gui=NONE 28 | hi DiffAdd guifg=#000000 guibg=#3cb371 gui=NONE 29 | hi DiffChange guifg=#000000 guibg=#4f94cd gui=NONE 30 | hi DiffDelete guifg=#000000 guibg=#8b3626 gui=NONE 31 | hi DiffText guifg=#000000 guibg=#8ee5ee gui=NONE 32 | hi Directory guifg=#1e90ff guibg=bg gui=NONE 33 | hi ErrorMsg guifg=#ff6a6a guibg=NONE gui=bold 34 | hi FoldColumn guifg=#68838b guibg=#4B4B4B gui=bold 35 | hi Folded guifg=#68838b guibg=#4B4B4B gui=NONE 36 | hi IncSearch guifg=#ffffff guibg=#ff4500 gui=bold 37 | hi LineNr guifg=#767676 guibg=#222222 gui=NONE 38 | hi MatchParen guifg=#fff000 guibg=#000000 gui=bold 39 | hi ModeMsg guifg=#000000 guibg=#00ff00 gui=bold 40 | hi MoreMsg guifg=#2e8b57 guibg=bg gui=bold 41 | hi NonText guifg=#9ac0cd guibg=bg gui=NONE 42 | hi Pmenu guifg=#0000ff guibg=#c0c8cf gui=bold 43 | hi PmenuSel guifg=#c0c8cf guibg=#0000ff gui=bold 44 | hi PmenuSbar guifg=#ffffff guibg=#c1cdc1 gui=NONE 45 | hi PmenuThumb guifg=#ffffff guibg=#838b83 gui=NONE 46 | hi Question guifg=#00ee00 guibg=NONE gui=bold 47 | hi Search guifg=#000000 guibg=#fff68f gui=bold 48 | hi SignColumn guifg=#ffffff guibg=#cdcdb4 gui=NONE 49 | hi SpecialKey guifg=#666666 guibg=NONE gui=NONE 50 | hi SpellBad guisp=#ee2c2c gui=undercurl 51 | hi SpellCap guisp=#0000ff gui=undercurl 52 | hi SpellLocal guisp=#008b8b gui=undercurl 53 | hi SpellRare guisp=#ff00ff gui=undercurl 54 | hi StatusLine guifg=#ddeeff guibg=#445566 gui=NONE 55 | hi StatusLineNC guifg=#999999 guibg=#445566 gui=italic 56 | hi TabLine guifg=fg guibg=#d3d3d3 gui=underline 57 | hi TabLineFill guifg=fg guibg=bg gui=reverse 58 | hi TabLineSel guifg=fg guibg=bg gui=bold 59 | hi Title guifg=#009acd guibg=bg gui=bold 60 | hi VertSplit guifg=#445566 guibg=#445566 61 | hi Visual guifg=#000000 guibg=#90ccff gui=NONE 62 | hi WarningMsg guifg=#ee9a00 guibg=bg gui=NONE 63 | hi WildMenu guifg=#000000 guibg=#87ceeb gui=NONE 64 | " 1}}} 65 | 66 | " Syntax {{{1 67 | " ============================================================================ 68 | 69 | " General {{{2 70 | " ----------------------------------------------------------------------------- 71 | hi Comment guifg=#809090 guibg=NONE gui=italic 72 | hi Constant guifg=#cdad00 guibg=NONE gui=NONE 73 | hi String guifg=#559b70 guibg=NONE gui=NONE 74 | hi Boolean guifg=#cd69c9 guibg=NONE gui=NONE 75 | hi Identifier guifg=#9f79ee guibg=NONE gui=NONE 76 | hi Function guifg=#92a5de guibg=NONE gui=NONE 77 | hi Statement guifg=#009acd guibg=NONE gui=NONE 78 | hi PreProc guifg=#009acd guibg=NONE gui=NONE 79 | hi Keyword guifg=#7ac5cd guibg=NONE gui=NONE 80 | hi Type guifg=#4169e1 guibg=NONE gui=NONE 81 | hi Special guifg=#7f9f44 guibg=NONE gui=NONE 82 | hi Ignore guifg=bg guibg=NONE gui=NONE 83 | hi Error guifg=#ff3030 guibg=NONE gui=underline 84 | hi Todo guifg=#ff88ee guibg=NONE gui=bold 85 | " 2}}} 86 | 87 | " Vim {{{2 88 | " ----------------------------------------------------------------------------- 89 | hi VimError guifg=#ff0000 guibg=#000000 gui=bold 90 | hi VimCommentTitle guifg=#528b8b guibg=bg gui=bold,italic 91 | " 2}}} 92 | 93 | " QuickFix {{{2 94 | " ----------------------------------------------------------------------------- 95 | hi qfFileName guifg=#607b8b guibg=NONE gui=italic 96 | hi qfLineNr guifg=#0088aa guibg=NONE gui=bold 97 | hi qfError guifg=#ff0000 guibg=NONE gui=bold 98 | " 2}}} 99 | 100 | " Python {{{2 101 | " ----------------------------------------------------------------------------- 102 | hi pythonDecorator guifg=#cd8500 guibg=NONE gui=NONE 103 | hi link pythonDecoratorFunction pythonDecorator 104 | " 2}}} 105 | 106 | " Diff {{{2 107 | " ----------------------------------------------------------------------------- 108 | hi diffOldFile guifg=#da70d6 guibg=NONE gui=italic 109 | hi diffNewFile guifg=#ffff00 guibg=NONE gui=italic 110 | hi diffFile guifg=#ffa500 guibg=NONE gui=italic 111 | hi diffLine guifg=#ff00ff guibg=NONE gui=italic 112 | hi link diffOnly Constant 113 | hi link diffIdentical Constant 114 | hi link diffDiffer Constant 115 | hi link diffBDiffer Constant 116 | hi link diffIsA Constant 117 | hi link diffNoEOL Constant 118 | hi link diffCommon Constant 119 | hi diffRemoved guifg=#cd5555 guibg=NONE gui=NONE 120 | hi diffChanged guifg=#4f94cd guibg=NONE gui=NONE 121 | hi diffAdded guifg=#00cd00 guibg=NONE gui=NONE 122 | hi link diffSubname diffLine 123 | hi link diffComment Comment 124 | " 2}}} 125 | 126 | " 1}}} 127 | -------------------------------------------------------------------------------- /.vim/colors/pigraph.vim: -------------------------------------------------------------------------------- 1 | "pigraph theme based on blackdust 2 | "fmeyer@pigraph.com 3 | 4 | 5 | set background=dark 6 | hi clear 7 | 8 | if exists("syntax_on") 9 | syntax reset 10 | endif 11 | 12 | hi Boolean guifg=#eee689 13 | hi Character guifg=#eee689 14 | hi Comment guifg=#7f7f7f 15 | hi Condtional guifg=#8fffff 16 | hi Constant guifg=#eee689 gui=none 17 | hi Cursor guifg=#000000 guibg=#aeaeae 18 | hi Debug guifg=#eee689 19 | hi Define guifg=#83b1d4 20 | hi Delimiter guifg=#8f8f8f 21 | hi DiffAdd guibg=#613c46 22 | hi DiffChange guibg=#333333 23 | hi DiffDelete guifg=#333333 guibg=#464646 gui=none 24 | hi DiffText guifg=#ffffff guibg=#1f1f1f 25 | hi Directory guifg=#ffffff 26 | hi Error guifg=#000000 guibg=#00ffff 27 | hi ErrorMsg guifg=#000000 guibg=#00c0cf 28 | hi Exception guifg=#8fffff gui=underline 29 | hi Float guifg=#9c93b3 30 | hi FoldColumn guifg=#eee689 guibg=#464646 31 | hi Folded guifg=#eee689 guibg=#333333 32 | hi Function guifg=#d38e63 33 | hi Identifier guifg=#ffffff 34 | hi Include guifg=#ee8a37 35 | hi IncSearch guifg=#000000 guibg=#b1d631 36 | hi Keyword guifg=#ffffff 37 | hi Label guifg=#8fffff gui=underline 38 | hi Macro guifg=#ee8a37 39 | hi MatchParen guifg=#d0ffc0 guibg=#202020 ctermfg=157 ctermbg=237 cterm=bold 40 | hi ModeMsg guifg=#eee689 41 | hi MoreMsg guifg=#ffffff 42 | hi NonText guifg=#1f1f1f 43 | hi LineNr guifg=#7f7f7f guibg=#343a3f 44 | hi Normal guifg=#d6dbdf guibg=#2c3237 gui=none 45 | hi Number guifg=#aca0a3 46 | hi Operator guifg=#ffffff 47 | hi Pmenu guifg=#ffffff guibg=#202020 ctermfg=255 ctermbg=238 48 | hi PmenuSel guifg=#000000 guibg=#b1d631 ctermfg=0 ctermbg=148 49 | hi PreCondit guifg=#dfaf8f 50 | hi PreProc guifg=#ee8a37 51 | hi Question guifg=#ffffff 52 | hi Repeat guifg=#8fffff gui=underline 53 | hi Search guifg=#000000 guibg=#b1d631 54 | hi SpecialChar guifg=#eee689 55 | hi SpecialComment guifg=#eee689 56 | hi Special guifg=#7f7f7f 57 | hi SpecialKey guifg=#7e7e7e 58 | hi Statement guifg=#8fffff 59 | hi StatusLine guifg=#b1d631 guibg=#000000 60 | hi StatusLineNC guifg=#333333 guibg=#cccccc 61 | hi StorageClass guifg=#ffffff 62 | hi String guifg=#dbf0b3 63 | hi Structure guifg=#ffffff gui=underline 64 | hi Tag guifg=#eee689 65 | hi Title guifg=#ffffff guibg=#333333 66 | hi Todo guifg=#ffffff guibg=#000000 67 | hi Typedef guifg=#ffffff gui=underline 68 | hi Type guifg=#ffffff 69 | hi VertSplit guifg=#444444 guibg=#303030 gui=none ctermfg=238 ctermbg=238 70 | hi Visual guifg=#000000 guibg=#b1d631 71 | hi VisualNOS guifg=#343a3f guibg=#f18c96 gui=underline 72 | hi WarningMsg guifg=#ffffff guibg=#333333 73 | hi WildMenu guifg=#000000 guibg=#eee689 74 | -------------------------------------------------------------------------------- /.vim/colors/smyck.vim: -------------------------------------------------------------------------------- 1 | " ---------------------------------------------------------------------------- 2 | " Vim color file 3 | " Maintainer: John-Paul Bader 4 | " Last Change: 2012 April 5 | " License: Beer Ware 6 | " ---------------------------------------------------------------------------- 7 | 8 | let g:colors_name = "smyck" 9 | 10 | highlight clear Normal 11 | set background=dark 12 | set linespace=2 13 | 14 | " Syntaxeinstellungen zuruecksetzen, wenn Syntax Highlighting aktiviert ist 15 | if exists("syntax_on") 16 | syntax reset 17 | endif 18 | 19 | hi Normal cterm=none ctermbg=none ctermfg=15 gui=none guibg=#242424 guifg=#F7F7F7 20 | hi LineNr cterm=none ctermbg=none ctermfg=8 gui=none guibg=#242424 guifg=#8F8F8F 21 | hi StatusLine cterm=none ctermbg=8 ctermfg=15 gui=none guibg=#5D5D5D guifg=#FBFBFB 22 | hi StatusLineNC cterm=none ctermbg=15 ctermfg=8 gui=none guibg=#5D5D5D guifg=#FBFBFB 23 | hi Search cterm=none ctermbg=6 ctermfg=15 gui=none guibg=#2EB5C1 guifg=#F7F7F7 24 | hi IncSearch cterm=none ctermbg=3 ctermfg=8 gui=none guibg=#F6DC69 guifg=#8F8F8F 25 | hi ColumnMargin cterm=none ctermbg=0 gui=none guibg=#000000 26 | hi Error cterm=none ctermbg=1 ctermfg=15 gui=none guifg=#F7F7F7 27 | hi ErrorMsg cterm=none ctermbg=1 ctermfg=15 gui=none guifg=#F7F7F7 28 | hi Folded cterm=none ctermbg=8 ctermfg=2 gui=none guibg=#8F8F8F guifg=#C4E858 29 | hi FoldColumn cterm=none ctermbg=8 ctermfg=2 gui=none guibg=#8F8F8F guifg=#C4E858 30 | hi NonText cterm=bold ctermbg=none ctermfg=8 gui=bold guifg=#8F8F8F 31 | hi ModeMsg cterm=bold ctermbg=none ctermfg=10 gui=none 32 | hi Pmenu cterm=none ctermbg=8 ctermfg=15 gui=none guibg=#8F8F8F guifg=#F7F7F7 33 | hi PmenuSel cterm=none ctermbg=15 ctermfg=8 gui=none guibg=#F7F7F7 guifg=#8F8F8F 34 | hi PmenuSbar cterm=none ctermbg=15 ctermfg=8 gui=none guibg=#F7F7F7 guifg=#8F8F8F 35 | hi SpellBad cterm=none ctermbg=1 ctermfg=15 gui=none guifg=#F7F7F7 36 | hi SpellCap cterm=none ctermbg=4 ctermfg=15 gui=none guifg=#F7F7F7 37 | hi SpellRare cterm=none ctermbg=4 ctermfg=15 gui=none guifg=#F7F7F7 38 | hi SpellLocal cterm=none ctermbg=4 ctermfg=15 gui=none guifg=#F7F7F7 39 | hi Visual cterm=none ctermbg=15 ctermfg=8 gui=none guibg=#F7F7F7 guifg=#8F8F8F 40 | hi Directory cterm=none ctermbg=none ctermfg=4 gui=none guibg=#242424 guifg=#88CCE7 41 | hi SpecialKey cterm=none ctermbg=none ctermfg=8 gui=none guifg=#8F8F8F 42 | hi DiffAdd cterm=bold ctermbg=2 ctermfg=15 43 | hi DiffChange cterm=bold ctermbg=4 ctermfg=15 44 | hi DiffDelete cterm=bold ctermbg=1 ctermfg=15 45 | hi DiffText cterm=bold ctermbg=3 ctermfg=8 46 | hi MatchParen cterm=none ctermbg=6 ctermfg=15 gui=none guibg=#2EB5C1 guifg=#F7F7F7 47 | hi CursorLine cterm=none ctermbg=238 ctermfg=none gui=none guibg=#424242 48 | hi Title cterm=none ctermbg=none ctermfg=4 gui=none guifg=#88CCE7 49 | 50 | " ---------------------------------------------------------------------------- 51 | " Syntax Highlighting 52 | " ---------------------------------------------------------------------------- 53 | hi Keyword cterm=none ctermbg=none ctermfg=10 gui=none guifg=#D1FA71 54 | hi Comment cterm=none ctermbg=none ctermfg=8 gui=none guifg=#8F8F8F 55 | hi Delimiter cterm=none ctermbg=none ctermfg=15 gui=none guifg=#F7F7F7 56 | hi Identifier cterm=none ctermbg=none ctermfg=12 gui=none guifg=#96D9F1 57 | hi Structure cterm=none ctermbg=none ctermfg=12 gui=none guifg=#9DEEF2 58 | hi Ignore cterm=none ctermbg=none ctermfg=8 gui=none guifg=bg 59 | hi Constant cterm=none ctermbg=none ctermfg=12 gui=none guifg=#96D9F1 60 | hi PreProc cterm=none ctermbg=none ctermfg=10 gui=none guifg=#D1FA71 61 | hi Type cterm=none ctermbg=none ctermfg=12 gui=none guifg=#96D9F1 62 | hi Statement cterm=none ctermbg=none ctermfg=10 gui=none guifg=#D1FA71 63 | hi Special cterm=none ctermbg=none ctermfg=6 gui=none guifg=#d7d7d7 64 | hi String cterm=none ctermbg=none ctermfg=3 gui=none guifg=#F6DC69 65 | hi Number cterm=none ctermbg=none ctermfg=3 gui=none guifg=#F6DC69 66 | hi Underlined cterm=underline gui=underline 67 | hi Symbol cterm=none ctermbg=none ctermfg=9 gui=none guifg=#FAB1AB 68 | hi Method cterm=none ctermbg=none ctermfg=15 gui=none guifg=#F7F7F7 69 | hi Interpolation cterm=none ctermbg=none ctermfg=6 gui=none guifg=#2EB5C1 70 | 71 | " Erlang 72 | hi link erlangAtom Keyword 73 | hi link erlangBitType Keyword 74 | 75 | hi link rubyBeginend Keyword 76 | hi link rubyClass Keyword 77 | hi link rubyModule Keyword 78 | hi link rubyKeyword Keyword 79 | hi link rubyOperator Method 80 | hi link rubyIdentifier Keyword 81 | hi link rubyClassVariable Symbol 82 | hi link rubyInstanceVariable Constant 83 | hi link rubyGlobalVariable Constant 84 | hi link rubyClassVariable Method 85 | hi link rubyConstant Constant 86 | hi link rubySymbol Symbol 87 | hi link rubyFunction Constant 88 | hi link rubyControl Keyword 89 | hi link rubyConditional Keyword 90 | hi link rubyInterpolation Interpolation 91 | hi link rubyInterpolationDelimiter Interpolation 92 | hi link rubyRailsMethod Method 93 | 94 | 95 | -------------------------------------------------------------------------------- /.vim/colors/tango2.vim: -------------------------------------------------------------------------------- 1 | " ============================================================================= 2 | " Name: Tango2 3 | " Purpose: Another colour scheme using the Tango colour palette 4 | " Maintainer: Pranesh Srinivasan 5 | " Last Modified: Saturday 04 October 2008 02:06:26 AM IST 6 | " ============================================================================= 7 | 8 | " Inspired from some Gnome renditions of the Tango colour scheme. 9 | 10 | " ============================================================================= 11 | " Preamble 12 | " ============================================================================= 13 | 14 | set background=dark 15 | 16 | hi clear 17 | 18 | if exists("syntax-on") 19 | syntax reset 20 | endif 21 | 22 | let colors_name = "tango2" 23 | 24 | " ============================================================================= 25 | " Vim >= 7.0 specific colours 26 | " ============================================================================= 27 | 28 | if version >= 700 29 | " No support for cursor line yet 30 | hi CursorLine term=underline cterm=underline guibg=#2f4f4f 31 | " hi CursorColoumn 32 | " hi MatchParen 33 | " hi Pmenu 34 | " hi PmenuSel 35 | endif 36 | 37 | " ============================================================================= 38 | " General colours 39 | " ============================================================================= 40 | 41 | hi Normal guibg=#191818 guifg=#eeeeec 42 | hi Cursor gui=none guibg=White guifg=Black 43 | 44 | hi Folded guibg=#4D585B guibg=#d2d2d2 45 | " No fold column support yet 46 | hi FoldColumn guifg=Orange guibg=DarkBlue 47 | 48 | hi vimFold guifg=Orange guibg=DarkBlue 49 | hi Folded guifg=#ef5939 guibg=#000000 gui=bold 50 | hi FoldColumn guifg=#555753 guibg=#000000 gui=bold 51 | 52 | 53 | 54 | 55 | " ============================================================================= 56 | " Syntax highlighting 57 | " ============================================================================= 58 | 59 | hi Comment gui=italic guifg=#6d7e8a ctermfg=Grey 60 | hi Todo term=bold guifg=#EBC450 61 | hi Constant guifg=#8ae234 62 | hi Type guifg=#8AE234 63 | hi Function gui=bold guifg=#9BCF8D 64 | hi Statement guifg=#729FCF 65 | hi Identifier guifg=#AD7FA8 66 | hi PreProc guifg=#e9ba6e 67 | hi Special term=underline guifg=#5EAFE5 68 | 69 | hi Search guibg=#81ABBD 70 | " hi QtClass guifg=Orange ctermfg=LightBlue 71 | -------------------------------------------------------------------------------- /.vim/colors/terse.vim: -------------------------------------------------------------------------------- 1 | " Terse Verses Of Utter Control 2 | " A Vim Color Theme 3 | " Author: Jevgeni Tarasov 4 | " Version: 1 5 | " 6 | " A terse color theme. No candy colors, no wild contrasts, no green on black. 7 | " N.B! The cterm version is woefully underdeveloped in this version. Don't use 8 | " it. 9 | 10 | "-- Init ---------------------------------------------------------------------- 11 | hi clear 12 | set background=light 13 | if version > 580 14 | hi clear 15 | if exists("syntax_on") 16 | syntax reset 17 | endif 18 | endif 19 | let g:colors_name="terse" 20 | 21 | 22 | "-- Text Elements ------------------------------------------------------------- 23 | hi Normal gui=NONE guifg=#00011f guibg=#ecebe7 24 | \ cterm=NONE ctermfg=black ctermbg=white 25 | 26 | hi Statement gui=bold guifg=#00011f guibg=NONE 27 | \ cterm=bold ctermfg=black ctermbg=white 28 | 29 | hi Comment gui=italic guifg=#38362b guibg=NONE 30 | \ cterm=italic ctermfg=black ctermbg=white 31 | 32 | hi Type gui=NONE guifg=NONE guibg=NONE 33 | \ cterm=NONE ctermfg=black ctermbg=white 34 | 35 | hi Special gui=bold guifg=NONE guibg=NONE 36 | \ cterm=bold ctermfg=black ctermbg=white 37 | 38 | hi Identifier gui=underline guifg=NONE guibg=NONE 39 | \ cterm=NONE ctermfg=black ctermbg=white 40 | 41 | hi PreProc gui=bold,italic guifg=NONE guibg=NONE 42 | \ cterm=NONE ctermfg=black ctermbg=white 43 | 44 | hi Constant gui=italic guifg=NONE guibg=NONE 45 | \ cterm=NONE ctermfg=black ctermbg=white 46 | 47 | hi String gui=italic guifg=NONE guibg=#e2e1dd 48 | \ cterm=NONE ctermfg=black ctermbg=white 49 | 50 | hi StatusLine gui=italic guifg=#ecebe7 guibg=#00011f 51 | \ cterm=NONE ctermfg=white ctermbg=grey 52 | hi StatusLineNC gui=italic guifg=#ecebe7 guibg=#00011f 53 | \ cterm=NONE ctermfg=white ctermbg=grey 54 | 55 | 56 | hi Error gui=NONE guifg=white guibg=#c80f3f 57 | \ cterm=NONE ctermfg=black ctermbg=white 58 | 59 | hi Todo gui=bold,italic guifg=#e4115b guibg=#e2e1dd 60 | \ cterm=NONE ctermfg=black ctermbg=white 61 | 62 | hi Underlined gui=underline guifg=NONE guibg=NONE 63 | \ cterm=underline ctermfg=black ctermbg=white 64 | 65 | 66 | "-- Non-Text Elements --------------------------------------------------------- 67 | hi NonText gui=NONE guifg=#58595b guibg=#e2e1dd 68 | \ cterm=NONE ctermfg=grey ctermbg=black 69 | 70 | hi Search gui=NONE guifg=NONE guibg=#fbf285 71 | \ cterm=NONE ctermfg=black ctermbg=yellow 72 | hi IncSearch gui=NONE guifg=NONE guibg=#fbf285 73 | \ cterm=NONE ctermfg=black ctermbg=yellow 74 | 75 | hi Directory gui=bold guifg=NONE guibg=NONE 76 | \ cterm=NONE ctermfg=black ctermbg=white 77 | 78 | hi MoreMsg gui=italic guifg=NONE guibg=#e2e1dd 79 | \ cterm=NONE ctermfg=black ctermbg=white 80 | 81 | hi LineNr gui=italic guifg=#58595b guibg=#e2e1dd 82 | \ cterm=NONE ctermfg=grey ctermbg=black 83 | 84 | hi VertSplit gui=italic guifg=#00011f guibg=#00011f 85 | \ cterm=NONE ctermfg=grey ctermbg=grey 86 | 87 | hi Question gui=NONE guifg=NONE guibg=NONE 88 | \ cterm=NONE ctermfg=black ctermbg=white 89 | 90 | hi Title gui=bold,italic guifg=NONE guibg=NONE 91 | \ cterm=NONE ctermfg=black ctermbg=white 92 | 93 | hi WarningMsg gui=NONE guifg=white guibg=#c80f3f 94 | \ cterm=NONE ctermfg=black ctermbg=white 95 | 96 | hi Folded gui=NONE guifg=NONE guibg=#e2e1dd 97 | \ cterm=NONE ctermfg=black ctermbg=white 98 | hi FoldColumn gui=NONE guifg=NONE guibg=#e2e1dd 99 | \ cterm=NONE ctermfg=black ctermbg=white 100 | 101 | hi DiffAdd gui=NONE guifg=NONE guibg=#acd58e 102 | \ cterm=NONE ctermfg=black ctermbg=white 103 | hi DiffChange gui=NONE guifg=#00254f guibg=#93d2f3 104 | \ cterm=NONE ctermfg=black ctermbg=white 105 | hi DiffDelete gui=NONE guifg=#820056 guibg=#edb2d1 106 | \ cterm=NONE ctermfg=black ctermbg=white 107 | hi DiffText gui=NONE guifg=#00254f guibg=#93d2f3 108 | \ cterm=NONE ctermfg=black ctermbg=white 109 | 110 | hi Cursor gui=NONE guifg=white guibg=black 111 | \ cterm=NONE ctermfg=white ctermbg=black 112 | 113 | hi Visual gui=NONE guifg=NONE guibg=#efbf28 114 | \ cterm=NONE ctermfg=black ctermbg=white 115 | 116 | hi MatchParen gui=bold guifg=#c80f3f guibg=NONE 117 | \ cterm=NONE ctermfg=white ctermbg=black 118 | 119 | 120 | " MacVim was changing the color of Visual everytime focus was lost 121 | " The following code snippet was stolen from macvim.vim, to counter that effect. 122 | if has("gui_macvim") && !exists("s:augroups_defined") 123 | au FocusLost * if exists("colors_name") && colors_name == "terse" | hi Visual guibg=#efbf285 | endif 124 | au FocusGained * if exists("colors_name") && colors_name == "terse" | hi Visual guibg=#efbf285 | endif 125 | let s:augroups_defined = 1 126 | endif 127 | -------------------------------------------------------------------------------- /.vim/colors/twilight.vim: -------------------------------------------------------------------------------- 1 | " Twilight based on famouse Jellybeans theme 2 | " Modified by M.L. 3 | 4 | " Vim color file 5 | " 6 | " " __ _ _ _ " 7 | " " \ \ ___| | |_ _| |__ ___ __ _ _ __ ___ " 8 | " " \ \/ _ \ | | | | | _ \ / _ \/ _ | _ \/ __| " 9 | " " /\_/ / __/ | | |_| | |_| | __/ |_| | | | \__ \ " 10 | " " \___/ \___|_|_|\__ |____/ \___|\____|_| |_|___/ " 11 | " " \___/ " 12 | " 13 | " "A colorful, dark color scheme for Vim." 14 | " 15 | " File: jellybeans.vim 16 | " Maintainer: NanoTech 17 | " Version: 1.5~git 18 | " Last Change: April 11th, 2011 19 | " Contributors: Daniel Herbert , 20 | " Henry So, Jr. , 21 | " David Liang 22 | " 23 | " Copyright (c) 2009-2011 NanoTech 24 | " 25 | " Permission is hereby granted, free of charge, to any person obtaining a copy 26 | " of this software and associated documentation files (the "Software"), to deal 27 | " in the Software without restriction, including without limitation the rights 28 | " to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 29 | " copies of the Software, and to permit persons to whom the Software is 30 | " furnished to do so, subject to the following conditions: 31 | " 32 | " The above copyright notice and this permission notice shall be included in 33 | " all copies or substantial portions of the Software. 34 | " 35 | " THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 36 | " IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 37 | " FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 38 | " AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 39 | " LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 40 | " OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 41 | " THE SOFTWARE. 42 | 43 | set background=dark 44 | 45 | hi clear 46 | 47 | if exists("syntax_on") 48 | syntax reset 49 | endif 50 | 51 | let colors_name = "jellybeans" 52 | 53 | if has("gui_running") || &t_Co == 88 || &t_Co == 256 54 | let s:low_color = 0 55 | else 56 | let s:low_color = 1 57 | endif 58 | 59 | " Color approximation functions by Henry So, Jr. and David Liang {{{ 60 | " Added to jellybeans.vim by Daniel Herbert 61 | 62 | " returns an approximate grey index for the given grey level 63 | fun! s:grey_number(x) 64 | if &t_Co == 88 65 | if a:x < 23 66 | return 0 67 | elseif a:x < 69 68 | return 1 69 | elseif a:x < 103 70 | return 2 71 | elseif a:x < 127 72 | return 3 73 | elseif a:x < 150 74 | return 4 75 | elseif a:x < 173 76 | return 5 77 | elseif a:x < 196 78 | return 6 79 | elseif a:x < 219 80 | return 7 81 | elseif a:x < 243 82 | return 8 83 | else 84 | return 9 85 | endif 86 | else 87 | if a:x < 14 88 | return 0 89 | else 90 | let l:n = (a:x - 8) / 10 91 | let l:m = (a:x - 8) % 10 92 | if l:m < 5 93 | return l:n 94 | else 95 | return l:n + 1 96 | endif 97 | endif 98 | endif 99 | endfun 100 | 101 | " returns the actual grey level represented by the grey index 102 | fun! s:grey_level(n) 103 | if &t_Co == 88 104 | if a:n == 0 105 | return 0 106 | elseif a:n == 1 107 | return 46 108 | elseif a:n == 2 109 | return 92 110 | elseif a:n == 3 111 | return 115 112 | elseif a:n == 4 113 | return 139 114 | elseif a:n == 5 115 | return 162 116 | elseif a:n == 6 117 | return 185 118 | elseif a:n == 7 119 | return 208 120 | elseif a:n == 8 121 | return 231 122 | else 123 | return 255 124 | endif 125 | else 126 | if a:n == 0 127 | return 0 128 | else 129 | return 8 + (a:n * 10) 130 | endif 131 | endif 132 | endfun 133 | 134 | " returns the palette index for the given grey index 135 | fun! s:grey_color(n) 136 | if &t_Co == 88 137 | if a:n == 0 138 | return 16 139 | elseif a:n == 9 140 | return 79 141 | else 142 | return 79 + a:n 143 | endif 144 | else 145 | if a:n == 0 146 | return 16 147 | elseif a:n == 25 148 | return 231 149 | else 150 | return 231 + a:n 151 | endif 152 | endif 153 | endfun 154 | 155 | " returns an approximate color index for the given color level 156 | fun! s:rgb_number(x) 157 | if &t_Co == 88 158 | if a:x < 69 159 | return 0 160 | elseif a:x < 172 161 | return 1 162 | elseif a:x < 230 163 | return 2 164 | else 165 | return 3 166 | endif 167 | else 168 | if a:x < 75 169 | return 0 170 | else 171 | let l:n = (a:x - 55) / 40 172 | let l:m = (a:x - 55) % 40 173 | if l:m < 20 174 | return l:n 175 | else 176 | return l:n + 1 177 | endif 178 | endif 179 | endif 180 | endfun 181 | 182 | " returns the actual color level for the given color index 183 | fun! s:rgb_level(n) 184 | if &t_Co == 88 185 | if a:n == 0 186 | return 0 187 | elseif a:n == 1 188 | return 139 189 | elseif a:n == 2 190 | return 205 191 | else 192 | return 255 193 | endif 194 | else 195 | if a:n == 0 196 | return 0 197 | else 198 | return 55 + (a:n * 40) 199 | endif 200 | endif 201 | endfun 202 | 203 | " returns the palette index for the given R/G/B color indices 204 | fun! s:rgb_color(x, y, z) 205 | if &t_Co == 88 206 | return 16 + (a:x * 16) + (a:y * 4) + a:z 207 | else 208 | return 16 + (a:x * 36) + (a:y * 6) + a:z 209 | endif 210 | endfun 211 | 212 | " returns the palette index to approximate the given R/G/B color levels 213 | fun! s:color(r, g, b) 214 | " get the closest grey 215 | let l:gx = s:grey_number(a:r) 216 | let l:gy = s:grey_number(a:g) 217 | let l:gz = s:grey_number(a:b) 218 | 219 | " get the closest color 220 | let l:x = s:rgb_number(a:r) 221 | let l:y = s:rgb_number(a:g) 222 | let l:z = s:rgb_number(a:b) 223 | 224 | if l:gx == l:gy && l:gy == l:gz 225 | " there are two possibilities 226 | let l:dgr = s:grey_level(l:gx) - a:r 227 | let l:dgg = s:grey_level(l:gy) - a:g 228 | let l:dgb = s:grey_level(l:gz) - a:b 229 | let l:dgrey = (l:dgr * l:dgr) + (l:dgg * l:dgg) + (l:dgb * l:dgb) 230 | let l:dr = s:rgb_level(l:gx) - a:r 231 | let l:dg = s:rgb_level(l:gy) - a:g 232 | let l:db = s:rgb_level(l:gz) - a:b 233 | let l:drgb = (l:dr * l:dr) + (l:dg * l:dg) + (l:db * l:db) 234 | if l:dgrey < l:drgb 235 | " use the grey 236 | return s:grey_color(l:gx) 237 | else 238 | " use the color 239 | return s:rgb_color(l:x, l:y, l:z) 240 | endif 241 | else 242 | " only one possibility 243 | return s:rgb_color(l:x, l:y, l:z) 244 | endif 245 | endfun 246 | 247 | " returns the palette index to approximate the 'rrggbb' hex string 248 | fun! s:rgb(rgb) 249 | let l:r = ("0x" . strpart(a:rgb, 0, 2)) + 0 250 | let l:g = ("0x" . strpart(a:rgb, 2, 2)) + 0 251 | let l:b = ("0x" . strpart(a:rgb, 4, 2)) + 0 252 | return s:color(l:r, l:g, l:b) 253 | endfun 254 | 255 | " sets the highlighting for the given group 256 | fun! s:X(group, fg, bg, attr, lcfg, lcbg) 257 | if s:low_color 258 | let l:fge = empty(a:lcfg) 259 | let l:bge = empty(a:lcbg) 260 | 261 | if !l:fge && !l:bge 262 | exec "hi ".a:group." ctermfg=".a:lcfg." ctermbg=".a:lcbg 263 | elseif !l:fge && l:bge 264 | exec "hi ".a:group." ctermfg=".a:lcfg." ctermbg=NONE" 265 | elseif l:fge && !l:bge 266 | exec "hi ".a:group." ctermfg=NONE ctermbg=".a:lcbg 267 | endif 268 | else 269 | let l:fge = empty(a:fg) 270 | let l:bge = empty(a:bg) 271 | 272 | if !l:fge && !l:bge 273 | exec "hi ".a:group." guifg=#".a:fg." guibg=#".a:bg." ctermfg=".s:rgb(a:fg)." ctermbg=".s:rgb(a:bg) 274 | elseif !l:fge && l:bge 275 | exec "hi ".a:group." guifg=#".a:fg." guibg=NONE ctermfg=".s:rgb(a:fg)." ctermbg=NONE" 276 | elseif l:fge && !l:bge 277 | exec "hi ".a:group." guifg=NONE guibg=#".a:bg." ctermfg=NONE ctermbg=".s:rgb(a:bg) 278 | endif 279 | endif 280 | 281 | if a:attr == "" 282 | exec "hi ".a:group." gui=none cterm=none" 283 | else 284 | let noitalic = join(filter(split(a:attr, ","), "v:val !=? 'italic'"), ",") 285 | if empty(noitalic) 286 | let noitalic = "none" 287 | endif 288 | exec "hi ".a:group." gui=".a:attr." cterm=".noitalic 289 | endif 290 | endfun 291 | " }}} 292 | 293 | call s:X("Normal","e8e8d3","151515","","White","") 294 | set background=dark 295 | 296 | if version >= 700 297 | call s:X("CursorLine","","1c1c1c","","","Black") 298 | call s:X("CursorColumn","","1c1c1c","","","Black") 299 | call s:X("MatchParen","ffffff","80a090","bold","","DarkCyan") 300 | 301 | call s:X("TabLine","000000","b0b8c0","italic","","Black") 302 | call s:X("TabLineFill","9098a0","","","","Black") 303 | call s:X("TabLineSel","000000","f0f0f0","italic,bold","Black","White") 304 | 305 | " Auto-completion 306 | call s:X("Pmenu","ffffff","606060","","White","Black") 307 | call s:X("PmenuSel","101010","eeeeee","","Black","White") 308 | endif 309 | 310 | call s:X("Visual","","404040","","","Black") 311 | call s:X("Cursor","","b0d0f0","","","") 312 | 313 | "call s:X("LineNr","605958","151515","none","Black","") 314 | call s:X("LineNr","4e4e4e","262626","none","DarkGrey","") 315 | "call s:X("LineNr","666666","454545","none","Black","") 316 | call s:X("Comment","888888","","italic","Grey","") 317 | call s:X("Todo","808080","","bold","White","Black") 318 | 319 | call s:X("StatusLine","000000","dddddd","italic","Black","White") 320 | call s:X("StatusLineNC","ffffff","403c41","italic","White","Black") 321 | call s:X("VertSplit","777777","403c41","italic","Black","Black") 322 | call s:X("WildMenu","f0a0c0","302028","","Magenta","") 323 | 324 | call s:X("Folded","a0a8b0","384048","italic","Black","") 325 | call s:X("FoldColumn","535D66","1f1f1f","","","Black") 326 | call s:X("SignColumn","777777","333333","","","Black") 327 | call s:X("ColorColumn","","000000","","","Black") 328 | 329 | call s:X("Title","70b950","","bold","Green","") 330 | 331 | call s:X("Constant","cf6a4c","","","Red","") 332 | call s:X("Special","799d6a","","","Green","") 333 | call s:X("Delimiter","668799","","","Grey","") 334 | 335 | call s:X("String","99ad6a","","","Green","") 336 | call s:X("StringDelimiter","556633","","","DarkGreen","") 337 | 338 | 339 | call s:X("Identifier","c6b6ee","","","LightCyan","") 340 | 341 | call s:X("Structure","8fbfdc","","","LightCyan","") 342 | call s:X("Function","ffb964","","","Yellow","") 343 | "call s:X("Function","fad07a","","","Yellow","") 344 | "call s:X("Statement","8197bf","","","DarkBlue","") 345 | call s:X("Statement","6577bf","","","DarkBlue","") 346 | call s:X("PreProc","8fbfdc","","","LightBlue","") 347 | 348 | 349 | 350 | call s:X("Type","ffb964","","","Yellow","") 351 | call s:X("NonText","606060","151515","","Black","") 352 | 353 | call s:X("SpecialKey","444444","1c1c1c","","Black","") 354 | 355 | call s:X("Search","f0a0c0","302028","underline","Magenta","") 356 | 357 | call s:X("Directory","dad085","","","Yellow","") 358 | call s:X("ErrorMsg","","902020","","","DarkRed") 359 | hi! link Error ErrorMsg 360 | hi! link MoreMsg Special 361 | call s:X("Question","65C254","","","Green","") 362 | 363 | 364 | " Spell Checking 365 | 366 | call s:X("SpellBad","","902020","underline","","DarkRed") 367 | call s:X("SpellCap","","0000df","underline","","Blue") 368 | call s:X("SpellRare","","540063","underline","","DarkMagenta") 369 | call s:X("SpellLocal","","2D7067","underline","","Green") 370 | 371 | " Diff 372 | 373 | hi! link diffRemoved Constant 374 | hi! link diffAdded String 375 | 376 | " VimDiff 377 | 378 | call s:X("DiffAdd","D2EBBE","437019","","White","DarkGreen") 379 | call s:X("DiffDelete","40000A","700009","","DarkRed","DarkRed") 380 | call s:X("DiffChange","","2B5B77","","White","DarkBlue") 381 | call s:X("DiffText","8fbfdc","000000","reverse","Yellow","") 382 | 383 | " Python 384 | hi! link pythonPreCondit Import 385 | hi! link pythonBuiltinObj BuiltinObj 386 | hi! link pythonBuiltinFunc BuiltinFunc 387 | hi! link pythonDecorator Decorator 388 | hi! link pythonDottedName DottedName 389 | hi! link pythonAssignment Assignment 390 | hi! link pythonCalOperator CalOperator 391 | hi! link pythonSuperclass Superclass 392 | "hi! link pythonSuperclasses Superclass 393 | call s:X("Import","cda869","","","Brown","") 394 | call s:X("BuiltinFunc","dad085","","","LightMagenta","") 395 | call s:X("Definition","f8ed97","","","LightYellow","") 396 | call s:X("Statement","87afd7","","","DarkBlue","") 397 | call s:X("Number","ca6f4c","","","Red","") 398 | "call s:X("Function","ffb964","","","Yellow","") 399 | call s:X("Operator","afd7ff","","","Cyan","") 400 | call s:X("CalOperator","af5f00","","","Yellow","") 401 | call s:X("Decorator","57d700","","","Grean","") 402 | call s:X("DottedName","57d700","","","Grean","") 403 | call s:X("Comment","5f5f5f","","","DarkGrey","") 404 | call s:X("Assignment","ffaf5f","","","LightOrange","") 405 | call s:X("ParamName","5f87d7","","","LightBule","") 406 | call s:X("Entity","ffb964","","","Yellow","") 407 | call s:X("Superclass","9b5c2e","","","LightMagenta","") 408 | call s:X("BuiltinObj","9b859d","","","LightCyan","") 409 | 410 | " PHP 411 | 412 | hi! link phpFunctions Function 413 | call s:X("StorageClass","c59f6f","","","Red","") 414 | hi! link phpSuperglobal Identifier 415 | hi! link phpQuoteSingle StringDelimiter 416 | hi! link phpQuoteDouble StringDelimiter 417 | hi! link phpBoolean Constant 418 | hi! link phpNull Constant 419 | hi! link phpArrayPair Operator 420 | 421 | " Ruby 422 | 423 | hi! link rubySharpBang Comment 424 | call s:X("rubyClass","447799","","","DarkBlue","") 425 | call s:X("rubyIdentifier","c6b6fe","","","Cyan","") 426 | hi! link rubyConstant Type 427 | hi! link rubyFunction Function 428 | 429 | call s:X("rubyInstanceVariable","c6b6fe","","","Cyan","") 430 | call s:X("rubySymbol","7697d6","","","Blue","") 431 | hi! link rubyGlobalVariable rubyInstanceVariable 432 | hi! link rubyModule rubyClass 433 | call s:X("rubyControl","7597c6","","","Blue","") 434 | 435 | hi! link rubyString String 436 | hi! link rubyStringDelimiter StringDelimiter 437 | hi! link rubyInterpolationDelimiter Identifier 438 | 439 | call s:X("rubyRegexpDelimiter","540063","","","Magenta","") 440 | call s:X("rubyRegexp","dd0093","","","DarkMagenta","") 441 | call s:X("rubyRegexpSpecial","a40073","","","Magenta","") 442 | 443 | call s:X("rubyPredefinedIdentifier","de5577","","","Red","") 444 | 445 | " JavaScript 446 | 447 | hi! link javaScriptValue Constant 448 | hi! link javaScriptRegexpString rubyRegexp 449 | 450 | " CoffeeScript 451 | 452 | hi! link coffeeRegExp javaScriptRegexpString 453 | 454 | " Lua 455 | 456 | hi! link luaOperator Conditional 457 | 458 | " C 459 | 460 | hi! link cOperator Constant 461 | 462 | " Objective-C/Cocoa 463 | 464 | hi! link objcClass Type 465 | hi! link cocoaClass objcClass 466 | hi! link objcSubclass objcClass 467 | hi! link objcSuperclass objcClass 468 | hi! link objcDirective rubyClass 469 | hi! link cocoaFunction Function 470 | hi! link objcMethodName Identifier 471 | hi! link objcMethodArg Normal 472 | hi! link objcMessageName Identifier 473 | 474 | " Debugger.vim 475 | 476 | call s:X("DbgCurrent","DEEBFE","345FA8","","White","DarkBlue") 477 | call s:X("DbgBreakPt","","4F0037","","","DarkMagenta") 478 | 479 | " Plugins, etc. 480 | 481 | hi! link TagListFileName Directory 482 | call s:X("PreciseJumpTarget","B9ED67","405026","","White","Green") 483 | 484 | " Manual overrides for 256-color terminals. Dark colors auto-map badly. 485 | if !s:low_color 486 | hi StatusLineNC ctermbg=235 487 | hi Folded ctermbg=236 488 | hi FoldColumn ctermbg=234 489 | hi SignColumn ctermbg=236 490 | hi CursorColumn ctermbg=234 491 | hi CursorLine ctermbg=234 492 | hi SpecialKey ctermbg=234 493 | hi NonText ctermbg=233 494 | hi LineNr ctermbg=233 495 | hi DiffText ctermfg=81 496 | hi Normal ctermbg=233 497 | hi DbgBreakPt ctermbg=53 498 | endif 499 | 500 | " delete functions {{{ 501 | delf s:X 502 | delf s:rgb 503 | delf s:color 504 | delf s:rgb_color 505 | delf s:rgb_level 506 | delf s:rgb_number 507 | delf s:grey_color 508 | delf s:grey_level 509 | delf s:grey_number 510 | " }}} 511 | 512 | -------------------------------------------------------------------------------- /.vim/colors/underwater-mod.vim: -------------------------------------------------------------------------------- 1 | " Maintainer: Mario Gutierrez (mario@mgutz.com) 2 | " Original Theme: Dmitry Kichenko (dmitrykichenko@gmail.com) 3 | " Last Change: Dec 28, 2010 4 | " Version: 0.3 5 | 6 | let colors_name = "underwater-mod" 7 | 8 | set background=dark 9 | hi clear 10 | 11 | if exists("syntax_on") 12 | syntax reset 13 | endif 14 | 15 | 16 | if version >= 700 17 | hi CursorLine guibg=#18374F 18 | hi CursorColumn guibg=#18374F 19 | hi MatchParen guifg=magenta guibg=bg gui=bold 20 | hi Pmenu guifg=#dfeff6 guibg=#1E415E 21 | hi PmenuSel guifg=#dfeff6 guibg=#2D7889 22 | 23 | hi IncSearch guifg=bg guibg=#AF81F4 gui=bold 24 | hi Search guifg=bg guibg=#AF81F4 gui=none 25 | endif 26 | 27 | """""""" General colors 28 | 29 | hi Cursor guifg=black guibg=#55A096 gui=none 30 | hi Folded guifg=#68CEE8 guibg=#1A3951 gui=none 31 | hi FoldColumn guifg=#1E415E guibg=#1A3951 gui=none 32 | hi LineNr guifg=#1c3249 guibg=bg gui=none 33 | hi Normal guifg=#e3f3fa guibg=#102235 gui=none 34 | hi NonText guifg=#1c3249 guibg=bg gui=none 35 | hi StatusLine guifg=#ffec99 guibg=#0a1721 gui=none 36 | hi StatusLineNC guifg=#4e6f91 guibg=#0a1721 gui=none 37 | hi TabLine guifg=#555555 guibg=#dddddd gui=none 38 | hi TabLineSel guifg=#101010 guibg=#b0b0b0 gui=none 39 | hi TabLineFill guifg=fg guibg=#dddddd gui=none 40 | hi Title guifg=#ef7760 guibg=bg gui=none 41 | hi VertSplit guifg=#0a1721 guibg=#0a1721 gui=none 42 | " Selected text color 43 | hi Visual guifg=#dfeff6 guibg=#24557A gui=none 44 | 45 | hi ErrorMsg guifg=fg guibg=#C62626 46 | hi WarningMsg guifg=#C62626 guibg=bg 47 | 48 | 49 | 50 | """""""" Syntax highlighting 51 | 52 | hi Comment guifg=#4e6f91 guibg=bg gui=italic 53 | hi Constant guifg=#ffc287 guibg=bg gui=none 54 | hi Function guifg=#AF81F4 guibg=bg gui=none 55 | hi Identifier guifg=#889ce8 guibg=bg gui=none 56 | hi Ignore guifg=bg guibg=bg gui=none 57 | hi link Number Constant 58 | hi PreProc guifg=#ef7760 guibg=bg gui=none 59 | hi Keyword guifg=#8ac6f2 guibg=bg gui=none 60 | hi Special guifg=#b9e19d guibg=bg gui=none 61 | hi Statement guifg=#68CEE8 guibg=bg gui=none 62 | hi String guifg=#89e14b guibg=bg gui=italic 63 | hi Todo guifg=#ADED80 guibg=bg gui=bold 64 | hi Type guifg=#5ba0eb guibg=bg gui=none 65 | hi Underlined guifg=#8ac6f2 guibg=bg gui=underline 66 | 67 | 68 | """""""" Coffee 69 | 70 | hi link coffeeInterpolation Special 71 | 72 | 73 | """""""" ERB 74 | 75 | hi link erubyDelimiter PreProc 76 | 77 | 78 | """""""" HAML 79 | 80 | hi link hamlAttributes htmlArg 81 | hi link hamlTag htmlTag 82 | hi link hamlTagName htmlTagName 83 | hi link hamlIdChar hamlId 84 | hi link hamlClassChar hamlClass 85 | hi link hamlInterpolation Special 86 | 87 | 88 | """""""" HTML 89 | 90 | hi link htmlTag Statement 91 | hi link htmlEndTag Statement 92 | hi link htmlTagName Statement 93 | hi link htmlSpecialChar Constant 94 | 95 | 96 | """""""" JavaScript 97 | 98 | hi link javaScriptFunction Function 99 | hi link javaScriptDocSeeTag Underlined 100 | 101 | 102 | """""""" Markdown - tpope's 103 | 104 | hi link markdownCodeBlock Statement 105 | hi link markdownCode Statement 106 | hi link markdownCodeDelimiter Statement 107 | hi link markdownHeadingDelimiter Title 108 | hi link markdownLinkText Underlined 109 | hi link markdownLinkTextDelimiter Comment 110 | hi link markdownLinkDelimiter Comment 111 | hi link markdownListMarker Constant 112 | hi link markdownUrl Comment 113 | 114 | 115 | """""""" NERDTree 116 | 117 | hi link treeClosable PreProc 118 | hi link treeDir Statement 119 | hi link treeDirSlash NonText 120 | hi link treeExecFile Type 121 | hi treeFlag guifg=#3e71a1 guibg=bg gui=none 122 | hi link treeHelp Comment 123 | hi link treeLink Type 124 | hi link treePart NonText 125 | hi link treePartFile NonText 126 | hi link treeOpenable treeClosable 127 | hi link treeUp treeClosable 128 | 129 | 130 | """""""" Ruby 131 | 132 | hi rubyAccess guifg=#ef7760 guibg=bg gui=italic 133 | hi link rubyBlockParameter Normal 134 | hi link rubyInterpolation Special 135 | hi link rubyInterpolationDelimiter Special 136 | hi link rubyStringDelimiter String 137 | 138 | 139 | """""""" SH 140 | 141 | hi link shQuote String 142 | 143 | 144 | """""""" XML 145 | 146 | hi link xmlEndTag htmlEndTag 147 | hi link xmlTag htmlTag 148 | hi link xmlTagName htmlTagName 149 | 150 | " vim: set sw=4 sts=4 et : 151 | -------------------------------------------------------------------------------- /.vim/colors/vilight.vim: -------------------------------------------------------------------------------- 1 | " rob.robb.ns 2 | " Last Change: 3 sep 2009 3 | 4 | set background=dark 5 | hi clear 6 | if exists("syntax_on") 7 | syntax reset 8 | endif 9 | 10 | let g:colors_name="twilight" 11 | 12 | hi Normal guifg=#F8F8F8 guibg=#141414 13 | hi Cursor guifg=#141414 guibg=#d5dcee 14 | hi CursorLine guifg=#424242 guibg=#d5dcee 15 | hi Directory guifg=#8F9D6A guibg=#141414 16 | hi VertSplit guifg=#d5dcee guibg=#d5dcee 17 | hi Folded guifg=#888888 guibg=#282828 18 | hi FoldColumn guifg=#cf6a4c guibg=#141414 gui=italic 19 | hi vimFold guifg=#f8f8f8 guibg=#282828 gui=italic 20 | hi IncSearch guifg=#4f94cd guibg=#f8f8f8 21 | hi LineNr guifg=#665f57 guibg=#141414 22 | hi ModeMsg guifg=#f9ee98 guibg=#141414 23 | hi MoreMsg guifg=#f9ee98 guibg=#141414 24 | hi NonText guifg=#665f57 guibg=#141414 25 | hi Search guifg=#f8f8f8 guibg=#4f94cd gui=underline 26 | hi StatusLine guifg=#0e2231 guibg=#8693a5 27 | hi StatusLineNC guifg=#0e2231 guibg=#8693a5 28 | hi Visual guifg=#141414 guibg=#d5dcee gui=italic 29 | hi WildMenu guifg=#9b70f3 guibg=#0e2231 30 | hi MatchParen guifg=#f8f8f8 guibg=#4f94cd 31 | hi ErrorMsg guifg=#cf6a4c guibg=NONE 32 | hi WarningMsg guifg=#cf6a4c guibg=NONE 33 | hi Title guifg=#cf6a4c guibg=#141414 34 | 35 | "Syntax hilight groups 36 | 37 | hi Comment guifg=#665f57 gui=italic 38 | hi Constant guifg=#7587a6 gui=bold 39 | hi Exception guifg=#cf6a4c 40 | hi String guifg=#8f9d6a 41 | hi Variable guifg=#7587a6 gui=bold 42 | hi Number guifg=#cf6a4c 43 | hi Define guifg=#7587a6 44 | hi Boolean guifg=#CF6A4C 45 | hi Float guifg=#cf6a4c 46 | hi Identifier guifg=#7587a6 gui=bold 47 | hi Statement guifg=#cda869 48 | hi Keyword guifg=#cda869 gui=bold 49 | hi PreProc guifg=#7587a6 50 | hi Type guifg=#9b859d gui=bold 51 | hi Typedef guifg=#cda869 52 | hi Special guifg=#cda869 53 | hi SpecialChar guifg=#7587a6 54 | hi SpecialComment guifg=#4f94cd 55 | hi Ignore guifg=#888888 56 | hi Error guifg=#cf6a4c guibg=NONE gui=underline 57 | hi Todo guifg=#141414 guibg=#f9ee98 58 | hi Pmenu guifg=#8693a5 guibg=#0e2231 59 | hi PmenuSel guifg=#cda869 guibg=#0e2231 60 | hi PmenuSbar guibg=#665f57 61 | hi PmenuThumb guifg=#a6a6a6 62 | 63 | "diff 64 | 65 | hi DiffAdd guifg=#8f9d6a guibg=#282828 66 | hi DiffChange guifg=#cda869 guibg=#282828 67 | hi DiffText guifg=#f8f8f8 guibg=#282828 68 | hi DiffDelete guifg=#cf6a4c guibg=#282828 69 | -------------------------------------------------------------------------------- /.vim/colors/void.vim: -------------------------------------------------------------------------------- 1 | " Vim color file 2 | " Maintainer: Andrew Lyon 3 | " Last Change: 2012-03-21 06:01:00 PST 4 | " Version: 2.1 5 | 6 | " Note that this color scheme is loosely based off of desert.vim (Hans Fugal 7 | " ) mixed with some of slate.vim (Ralph Amissah 8 | " ) but with much of my own modification. 9 | 10 | set background=dark 11 | if version > 580 12 | " no guarantees for version 5.8 and below, but this makes it stop 13 | " complaining 14 | hi clear 15 | if exists("syntax_on") 16 | syntax reset 17 | endif 18 | endif 19 | let g:colors_name="void" 20 | 21 | hi Normal guifg=#e0e0e0 guibg=grey15 22 | 23 | " highlight groups 24 | hi Cursor guibg=khaki guifg=slategrey 25 | "hi CursorIM 26 | "hi Directory 27 | "hi DiffAdd 28 | "hi DiffChange 29 | "hi DiffDelete 30 | "hi DiffText 31 | "hi ErrorMsg 32 | hi VertSplit guibg=black guifg=black gui=none 33 | hi Folded guibg=grey30 guifg=gold 34 | hi FoldColumn guibg=grey30 guifg=tan 35 | hi IncSearch guifg=slategrey guibg=khaki 36 | "hi LineNr 37 | hi ModeMsg guifg=goldenrod 38 | hi MoreMsg guifg=SeaGreen 39 | hi NonText guifg=LightBlue guibg=grey30 40 | hi Question guifg=springgreen 41 | hi Search guibg=peru guifg=wheat 42 | hi SpecialKey guifg=yellowgreen 43 | hi StatusLine guibg=black guifg=#cccccc gui=none 44 | hi StatusLineNC guibg=black guifg=grey40 gui=none 45 | hi Title guifg=indianred 46 | hi Visual gui=none guifg=khaki guibg=olivedrab 47 | "hi VisualNOS 48 | hi WarningMsg guifg=salmon 49 | "hi WildMenu 50 | "hi Menu 51 | "hi Scrollbar 52 | "hi Tooltip 53 | 54 | " syntax highlighting groups 55 | hi Comment guifg=grey50 ctermfg=darkcyan 56 | hi Constant guifg=#e09085 ctermfg=brown 57 | hi Identifier guifg=#d0d0b0 58 | hi Statement guifg=#ccaa88 gui=bold cterm=bold term=bold 59 | "hi Statement guifg=darkkhaki 60 | hi PreProc guifg=#c8e0b0 61 | hi Type guifg=#99cccc term=NONE cterm=NONE gui=NONE 62 | hi Special guifg=#bbccee cterm=bold term=bold 63 | hi Operator guifg=navajowhite cterm=NONE 64 | "hi Underlined 65 | hi Ignore guifg=grey40 66 | "hi Error 67 | hi Todo guifg=orangered guibg=yellow2 68 | hi Todo guifg=orange guibg=gray40 69 | 70 | " Fuf/menu stuff 71 | hi Pmenu guifg=#aadddd guibg=#333333 72 | hi PmenuSel guifg=#ddeeee guibg=#335533 73 | 74 | " color terminal definitions 75 | hi SpecialKey ctermfg=darkgreen 76 | hi NonText guibg=grey15 cterm=bold ctermfg=darkblue 77 | hi Directory ctermfg=brown guifg=#ddbb66 78 | hi ErrorMsg cterm=bold ctermfg=7 ctermbg=1 79 | hi IncSearch cterm=NONE ctermfg=yellow ctermbg=green 80 | hi Search cterm=NONE ctermfg=grey ctermbg=blue 81 | hi MoreMsg ctermfg=darkgreen 82 | hi ModeMsg cterm=NONE ctermfg=brown 83 | hi LineNr guifg=grey50 ctermfg=3 84 | hi Question ctermfg=green 85 | hi StatusLine cterm=bold,reverse 86 | hi StatusLineNC cterm=reverse 87 | hi VertSplit cterm=reverse 88 | hi Title ctermfg=5 89 | hi Visual cterm=reverse 90 | hi VisualNOS cterm=bold,underline 91 | hi WarningMsg ctermfg=1 92 | hi WildMenu ctermfg=0 ctermbg=3 93 | hi Folded ctermfg=darkgrey ctermbg=NONE 94 | hi FoldColumn ctermfg=darkgrey ctermbg=NONE 95 | hi DiffAdd ctermbg=4 96 | hi DiffChange ctermbg=5 97 | hi DiffDelete cterm=bold ctermfg=4 ctermbg=6 98 | hi DiffText cterm=bold ctermbg=1 99 | hi Special ctermfg=5 100 | hi Identifier ctermfg=6 101 | hi Statement ctermfg=3 102 | hi PreProc ctermfg=5 103 | hi Type ctermfg=2 104 | hi Underlined cterm=underline ctermfg=5 105 | hi Ignore cterm=bold ctermfg=7 106 | hi Ignore ctermfg=darkgrey 107 | hi Error cterm=bold ctermfg=7 ctermbg=1 108 | 109 | 110 | -------------------------------------------------------------------------------- /.vim/colors/vydark.vim: -------------------------------------------------------------------------------- 1 | " 2 | " Vim colour file 3 | " 4 | " Maintainer: Vy-Shane Sin Fat 5 | " Version: 1.0 6 | " 7 | " This colour file is meant for GUI use. 8 | " 9 | 10 | set background=dark 11 | hi clear 12 | if exists("syntax_on") 13 | syntax reset 14 | endif 15 | let g:colors_name="vydark" 16 | 17 | 18 | hi Normal guifg=#bbbbbb guibg=#282828 19 | hi Title guifg=white 20 | hi Cursor guibg=#ffffff 21 | hi LineNr guifg=#444455 guibg=#292929 22 | hi Visual guibg=#555555 23 | hi NonText guifg=#292929 guibg=#292929 24 | hi StatusLine guifg=#bbbbbb guibg=#353535 gui=none 25 | hi StatusLineNC guifg=#777777 guibg=#353535 gui=none 26 | hi VertSplit guifg=#353535 guibg=#353535 gui=none 27 | hi ModeMsg guifg=#99dd99 guibg=#394439 gui=none 28 | hi ErrorMsg guifg=#222222 guibg=#ff8888 gui=none 29 | hi Error guifg=#ffaaaa guibg=#333333 gui=none 30 | 31 | 32 | " Vim 7.x specific 33 | if version >= 700 34 | hi MatchParen guibg=#364836 gui=none 35 | hi Pmenu guifg=#bbbbbb guibg=#444444 gui=none 36 | hi PmenuSel guifg=#222222 guibg=#99bbdd gui=none 37 | hi PmenuSbar guifg=#494949 guibg=#494949 gui=bold 38 | hi PmenuThumb guifg=#666666 guibg=#666666 gui=bold 39 | hi Search guifg=#dddd99 guibg=#444433 gui=none 40 | hi IncSearch guifg=#eeeeaa guibg=#666633 gui=bold 41 | hi CursorLine guibg=#353535 gui=none 42 | hi ColorColumn guibg=#292929 43 | endif 44 | 45 | 46 | " Syntax highlighting 47 | hi Comment guifg=#666677 gui=none 48 | hi Todo guifg=#8888aa guibg=#303030 gui=italic 49 | hi Operator guifg=#bbbbbb gui=none 50 | hi Identifier guifg=#bbbbbb gui=none 51 | hi Statement guifg=#bbbbbb gui=none 52 | hi Type guifg=#99bbcc gui=none 53 | hi Constant guifg=#88cc99 gui=none 54 | hi Conditional guifg=#99bbcc gui=none 55 | hi Delimiter guifg=#99bbdd gui=none 56 | hi PreProc guifg=#88ddcc gui=none 57 | hi Special guifg=#99dd99 gui=bold 58 | hi Keyword guifg=#bbbbbb gui=none 59 | 60 | hi link Function Normal 61 | hi link Character Constant 62 | hi link String Constant 63 | hi link Boolean Constant 64 | hi link Number Constant 65 | hi link Float Number 66 | hi link Repeat Conditional 67 | hi link Label Statement 68 | hi link Exception Statement 69 | hi link Include Normal 70 | hi link Define Type 71 | hi link Macro PreProc 72 | hi link PreCondit PreProc 73 | hi link StorageClass Type 74 | hi link Structure Type 75 | hi link Typedef Type 76 | hi link Tag Special 77 | hi link SpecialChar Special 78 | hi link SpecialComment Special 79 | hi link Debug Special 80 | 81 | -------------------------------------------------------------------------------- /.vim/colors/werks.vim: -------------------------------------------------------------------------------- 1 | " Vim color file 2 | " inspired by the desert color scheme by Hans Fugal 3 | " Maintainer: Bidit Mazumder 4 | " Last Change: December 5, 2009 5 | 6 | " background 7 | set background=dark 8 | let g:colors_name="werks" 9 | 10 | 11 | " highlight normal 12 | hi Normal guifg=#F5E8D3 guibg=#333333 13 | 14 | 15 | " gui highlight cursor 16 | hi iCursor guifg=#000000 guibg=#F5E8D3 17 | hi Cursor guifg=#FFFFFF guibg=#DAA520 18 | 19 | set guicursor+=n-c:blinkwait800-iCursor 20 | 21 | set guicursor+=i-v:ver10-Cursor 22 | set guicursor+=r:hor10-Cursor 23 | 24 | set guicursor+=ci:ver10-iCursor 25 | set guicursor+=cr:hor10-iCursor 26 | 27 | set guicursor+=sm:iCursor 28 | set guicursor+=o:hor50-Error 29 | 30 | 31 | " highlight groups 32 | hi DiffAdd guifg=#FAEBD7 guibg=#483D8B 33 | hi DiffChange guifg=#FAEBD7 guibg=#B03060 34 | hi DiffDelete guifg=#FAEBD7 guibg=#00595A 35 | hi DiffText guifg=#FAEBD7 guibg=#D2691E 36 | hi Directory guifg=#00FFFF 37 | hi ErrorMsg guifg=#F5F5F5 guibg=#8F0000 38 | hi FoldColumn guifg=#FFEC8B guibg=#4D4D4D 39 | hi Folded guifg=#DAA520 guibg=#4D4D4D 40 | hi IncSearch guifg=#708090 guibg=#F0E68C 41 | hi LineNr guifg=#F3F2AE guibg=#4D4D4D 42 | hi ModeMsg guifg=#FF4500 43 | hi MoreMsg guifg=#2E8B57 44 | hi NonText guifg=#4D4D4D 45 | hi Question guifg=#90EE90 46 | hi Search guifg=#F5E8D3 guibg=#708090 47 | hi SignColumn guifg=#2F4F4F guibg=#8FBC8F 48 | hi SpecialKey guifg=#C080D0 49 | hi StatusLine guifg=#000000 guibg=#C2BFA5 gui=none 50 | hi StatusLineNC guifg=#666666 guibg=#C2BFA5 gui=none 51 | hi Title guifg=#F5E8D3 52 | hi VertSplit guifg=#666666 guibg=#C2BFA5 gui=none 53 | hi Visual guifg=#FAEBD7 guibg=#74873B gui=none 54 | hi VisualNOS guifg=#FFFFFF 55 | hi WarningMsg guifg=#DC143C 56 | hi WildMenu guifg=#191970 guibg=#BBBB00 57 | "hi CursorIM 58 | "hi Menu 59 | "hi Scrollbar 60 | "hi Tooltip 61 | "hi Pmenu 62 | "hi PmenuSel 63 | "hi PmenuSbar 64 | "hi PmenuThumb 65 | "hi TabLine 66 | "hi TabLineSel 67 | "hi TabLineFill 68 | "hi CursorColumn 69 | "hi CursorLine 70 | 71 | " syntax highlighting groups 72 | hi Error guifg=#F5F5F5 guibg=#8F0000 73 | hi Ignore guifg=#666666 74 | hi PreProc guifg=#CD5C5C 75 | hi Todo guifg=#F0E68C guibg=#9400D3 76 | -------------------------------------------------------------------------------- /.vim/colors/wombat.vim: -------------------------------------------------------------------------------- 1 | " Maintainer: Lars H. Nielsen (dengmao@gmail.com) 2 | " Last Change: January 22 2007 3 | 4 | set background=dark 5 | 6 | hi clear 7 | 8 | if exists("syntax_on") 9 | syntax reset 10 | endif 11 | 12 | let colors_name = "wombat" 13 | 14 | 15 | " Vim >= 7.0 specific colors 16 | if version >= 700 17 | hi CursorLine guibg=#2d2d2d 18 | hi CursorColumn guibg=#2d2d2d 19 | hi MatchParen guifg=#f6f3e8 guibg=#857b6f gui=bold 20 | hi Pmenu guifg=#f6f3e8 guibg=#444444 21 | hi PmenuSel guifg=#000000 guibg=#cae682 22 | endif 23 | 24 | " General colors 25 | hi Cursor guifg=NONE guibg=#656565 gui=none 26 | hi Normal guifg=#f6f3e8 guibg=#242424 gui=none 27 | hi NonText guifg=#808080 guibg=#303030 gui=none 28 | hi LineNr guifg=#857b6f guibg=#000000 gui=none 29 | hi StatusLine guifg=#f6f3e8 guibg=#444444 gui=italic 30 | hi StatusLineNC guifg=#857b6f guibg=#444444 gui=none 31 | hi VertSplit guifg=#444444 guibg=#444444 gui=none 32 | hi Folded guibg=#384048 guifg=#a0a8b0 gui=none 33 | hi Title guifg=#f6f3e8 guibg=NONE gui=bold 34 | hi Visual guifg=#f6f3e8 guibg=#444444 gui=none 35 | hi SpecialKey guifg=#808080 guibg=#343434 gui=none 36 | 37 | " Syntax highlighting 38 | hi Comment guifg=#99968b gui=italic 39 | hi Todo guifg=#8f8f8f gui=italic 40 | hi Constant guifg=#e5786d gui=none 41 | hi String guifg=#95e454 gui=italic 42 | hi Identifier guifg=#cae682 gui=none 43 | hi Function guifg=#cae682 gui=none 44 | hi Type guifg=#cae682 gui=none 45 | hi Statement guifg=#8ac6f2 gui=none 46 | hi Keyword guifg=#8ac6f2 gui=none 47 | hi PreProc guifg=#e5786d gui=none 48 | hi Number guifg=#e5786d gui=none 49 | hi Special guifg=#e7f6da gui=none 50 | 51 | 52 | -------------------------------------------------------------------------------- /.vim/colors/xoria256-1.6.vim: -------------------------------------------------------------------------------- 1 | " Vim color file 2 | " 3 | " Name: xoria256.vim 4 | " Version: 1.6 5 | " Maintainer: Dmitriy Y. Zotikov (xio) 6 | " 7 | " Should work in recent 256 color terminals. 88-color terms like urxvt are 8 | " NOT supported. 9 | " 10 | " Don't forget to install 'ncurses-term' and set TERM to xterm-256color or 11 | " similar value. 12 | " 13 | " Color numbers (0-255) see: 14 | " http://www.calmar.ws/vim/256-xterm-24bit-rgb-color-chart.html 15 | " 16 | " For a specific filetype highlighting rules issue :syntax list when a file of 17 | " that type is opened. 18 | " 19 | " TODO: link colours instead of setting values explicitly 20 | 21 | " Initialization {{{ 22 | if &t_Co != 256 && ! has("gui_running") 23 | echoerr "Please use GUI or a 256-color terminal (which sets t_Co=256)." 24 | finish 25 | endif 26 | 27 | set background=dark 28 | 29 | hi clear 30 | 31 | if exists("syntax_on") 32 | syntax reset 33 | endif 34 | 35 | let colors_name = "xoria256" 36 | "}}} 37 | " Colours {{{1 38 | "" General {{{2 39 | hi Normal ctermfg=252 guifg=#d0d0d0 ctermbg=234 guibg=#1c1c1c cterm=none gui=none 40 | hi Cursor ctermbg=214 guibg=#ffaf00 41 | hi CursorColumn ctermbg=238 guibg=#444444 42 | hi CursorLine ctermbg=237 guibg=#3a3a3a cterm=none gui=none 43 | hi Error ctermfg=15 guifg=#ffffff ctermbg=1 guibg=#800000 44 | hi ErrorMsg ctermfg=15 guifg=#ffffff ctermbg=1 guibg=#800000 45 | hi FoldColumn ctermfg=247 guifg=#9e9e9e ctermbg=233 guibg=#121212 46 | hi Folded ctermfg=255 guifg=#eeeeee ctermbg=60 guibg=#5f5f87 47 | hi IncSearch ctermfg=0 guifg=#000000 ctermbg=223 guibg=#ffdfaf cterm=none gui=none 48 | hi LineNr ctermfg=247 guifg=#9e9e9e ctermbg=233 guibg=#121212 49 | hi MatchParen ctermfg=188 guifg=#dfdfdf ctermbg=68 guibg=#5f87df cterm=bold gui=bold 50 | " TODO 51 | " hi MoreMsg 52 | hi NonText ctermfg=247 guifg=#9e9e9e ctermbg=233 guibg=#121212 cterm=bold gui=bold 53 | hi Pmenu ctermfg=0 guifg=#000000 ctermbg=250 guibg=#bcbcbc 54 | hi PmenuSel ctermfg=255 guifg=#eeeeee ctermbg=243 guibg=#767676 55 | hi PmenuSbar ctermbg=252 guibg=#d0d0d0 56 | hi PmenuThumb ctermfg=243 guifg=#767676 57 | hi Search ctermfg=0 guifg=#000000 ctermbg=149 guibg=#afdf5f 58 | hi SignColumn ctermfg=248 guifg=#a8a8a8 59 | hi SpecialKey ctermfg=77 guifg=#5fdf5f 60 | hi SpellBad ctermfg=160 guifg=fg ctermbg=bg cterm=underline guisp=#df0000 61 | hi SpellCap ctermfg=189 guifg=#dfdfff ctermbg=bg guibg=bg cterm=underline gui=underline 62 | hi SpellRare ctermfg=168 guifg=#df5f87 ctermbg=bg guibg=bg cterm=underline gui=underline 63 | hi SpellLocal ctermfg=98 guifg=#875fdf ctermbg=bg guibg=bg cterm=underline gui=underline 64 | hi StatusLine ctermfg=15 guifg=#ffffff ctermbg=239 guibg=#4e4e4e cterm=bold gui=bold 65 | hi StatusLineNC ctermfg=249 guifg=#b2b2b2 ctermbg=237 guibg=#3a3a3a cterm=none gui=none 66 | hi TabLine ctermfg=fg guifg=fg ctermbg=242 guibg=#666666 cterm=none gui=none 67 | hi TabLineFill ctermfg=fg guifg=fg ctermbg=237 guibg=#3a3a3a cterm=none gui=none 68 | " FIXME 69 | hi Title ctermfg=225 guifg=#ffdfff 70 | hi Todo ctermfg=0 guifg=#000000 ctermbg=184 guibg=#dfdf00 71 | hi Underlined ctermfg=39 guifg=#00afff cterm=underline gui=underline 72 | hi VertSplit ctermfg=237 guifg=#3a3a3a ctermbg=237 guibg=#3a3a3a cterm=none gui=none 73 | " hi VIsualNOS ctermfg=24 guifg=#005f87 ctermbg=153 guibg=#afdfff cterm=none gui=none 74 | " hi Visual ctermfg=24 guifg=#005f87 ctermbg=153 guibg=#afdfff 75 | hi Visual ctermfg=255 guifg=#eeeeee ctermbg=96 guibg=#875f87 76 | " hi Visual ctermfg=255 guifg=#eeeeee ctermbg=24 guibg=#005f87 77 | hi VisualNOS ctermfg=255 guifg=#eeeeee ctermbg=60 guibg=#5f5f87 78 | hi WildMenu ctermfg=0 guifg=#000000 ctermbg=150 guibg=#afdf87 cterm=bold gui=bold 79 | 80 | "" Syntax highlighting {{{2 81 | " hi Comment ctermfg=244 guifg=#808080 82 | hi Comment ctermfg=150 guifg=#afdf87 83 | hi Constant ctermfg=229 guifg=#ffffaf 84 | hi Identifier ctermfg=182 guifg=#dfafdf cterm=none 85 | hi Ignore ctermfg=238 guifg=#444444 86 | hi Number ctermfg=180 guifg=#dfaf87 87 | " hi PreProc ctermfg=150 guifg=#afdf87 88 | hi PreProc ctermfg=152 guifg=#afdfdf 89 | hi Special ctermfg=174 guifg=#df8787 90 | hi Statement ctermfg=110 guifg=#87afdf cterm=none gui=none 91 | hi Type ctermfg=146 guifg=#afafdf cterm=none gui=none 92 | 93 | "" Special {{{2 94 | """ .diff {{{3 95 | hi diffAdded ctermfg=150 guifg=#afdf87 96 | hi diffRemoved ctermfg=174 guifg=#df8787 97 | """ vimdiff {{{3 98 | hi diffAdd ctermfg=bg guifg=bg ctermbg=151 guibg=#afdfaf 99 | "hi diffDelete ctermfg=bg guifg=bg ctermbg=186 guibg=#dfdf87 cterm=none gui=none 100 | hi diffDelete ctermfg=bg guifg=bg ctermbg=246 guibg=#949494 cterm=none gui=none 101 | hi diffChange ctermfg=bg guifg=bg ctermbg=181 guibg=#dfafaf 102 | hi diffText ctermfg=bg guifg=bg ctermbg=174 guibg=#df8787 cterm=none gui=none 103 | """ HTML {{{3 104 | " hi htmlTag ctermfg=146 guifg=#afafdf 105 | " hi htmlEndTag ctermfg=146 guifg=#afafdf 106 | hi htmlTag ctermfg=244 107 | hi htmlEndTag ctermfg=244 108 | hi htmlArg ctermfg=182 guifg=#dfafdf 109 | hi htmlValue ctermfg=187 guifg=#dfdfaf 110 | hi htmlTitle ctermfg=254 ctermbg=95 111 | " hi htmlArg ctermfg=146 112 | " hi htmlTagName ctermfg=146 113 | " hi htmlString ctermfg=187 114 | """ django {{{3 115 | hi djangoVarBlock ctermfg=180 116 | hi djangoTagBlock ctermfg=150 117 | hi djangoStatement ctermfg=146 118 | hi djangoFilter ctermfg=174 119 | """ python {{{3 120 | hi pythonExceptions ctermfg=174 121 | """ NERDTree {{{3 122 | hi Directory ctermfg=110 guifg=#87afdf 123 | hi treeCWD ctermfg=180 guifg=#dfaf87 124 | hi treeClosable ctermfg=174 guifg=#df8787 125 | hi treeOpenable ctermfg=150 guifg=#afdf87 126 | hi treePart ctermfg=244 guifg=#808080 127 | hi treeDirSlash ctermfg=244 guifg=#808080 128 | hi treeLink ctermfg=182 guifg=#dfafdf 129 | """ rst #{{{3 130 | hi link rstEmphasis Number 131 | 132 | """ VimDebug {{{3 133 | " FIXME 134 | " you may want to set SignColumn highlight in your .vimrc 135 | " :help sign 136 | " :help SignColumn 137 | 138 | " hi currentLine term=reverse cterm=reverse gui=reverse 139 | " hi breakPoint term=NONE cterm=NONE gui=NONE 140 | " hi empty term=NONE cterm=NONE gui=NONE 141 | 142 | " sign define currentLine linehl=currentLine 143 | " sign define breakPoint linehl=breakPoint text=>> 144 | " sign define both linehl=currentLine text=>> 145 | " sign define empty linehl=empty 146 | -------------------------------------------------------------------------------- /.vim/colors/xorium.vim: -------------------------------------------------------------------------------- 1 | " Vim color file 2 | " 3 | " Name: xorium.vim 4 | " Version: 1.0 5 | " Maintainer: AUAnonymous 6 | " 7 | " Based off of Dmitriy Y. Zotikov's (xio, ) xoria256 8 | " 9 | " Should work in recent 256 color terminals. 88-color terms like urxvt are 10 | " NOT supported. 11 | " 12 | " Don't forget to install 'ncurses-term' and set TERM to xterm-256color or 13 | " similar value. 14 | " 15 | " Color numbers (0-255) see: 16 | " http://www.calmar.ws/vim/256-xterm-24bit-rgb-color-chart.html 17 | " 18 | " For a specific filetype highlighting rules issue :syntax list when a file of 19 | " that type is opened. 20 | " 21 | " Initialization {{{ 22 | if &t_Co != 256 && ! has("gui_running") 23 | echomsg "" 24 | echomsg "err: please use GUI or a 256-color terminal (so that t_Co=256 could be set)" 25 | echomsg "" 26 | finish 27 | endif 28 | 29 | set background=dark 30 | 31 | hi clear 32 | 33 | if exists("syntax_on") 34 | syntax reset 35 | endif 36 | 37 | let colors_name = "xorium" 38 | 39 | " Group ctermfg guifg ctermbg guibg cterm gui 40 | hi Normal ctermfg=252 guifg=#d0d0d0 ctermbg=234 guibg=#1c1c1c cterm=none gui=none 41 | hi Cursor ctermbg=214 guibg=#ffaf00 42 | hi CursorColumn ctermbg=236 guibg=#2c2c2c 43 | hi CursorLine ctermbg=236 guibg=#2c2c2c cterm=none gui=none 44 | hi Error ctermfg=15 guifg=#ffffff ctermbg=88 guibg=#800000 45 | hi ErrorMsg ctermfg=15 guifg=#ffffff ctermbg=88 guibg=#800000 46 | hi FoldColumn ctermfg=247 guifg=#9e9e9e ctermbg=233 guibg=#121212 47 | hi Folded ctermfg=255 guifg=#eeeeee ctermbg=60 guibg=#5f5f87 48 | hi IncSearch ctermfg=0 guifg=#000000 ctermbg=223 guibg=#ffdfaf cterm=none gui=none 49 | hi LineNr ctermfg=247 guifg=#9e9e9e ctermbg=233 guibg=#121212 50 | hi MatchParen ctermfg=188 guifg=#dfdfdf ctermbg=68 guibg=#5f87df cterm=none gui=none 51 | " TODO 52 | " hi MoreMsg 53 | hi NonText ctermfg=236 guifg=#2c2c2c ctermbg=234 cterm=none gui=none 54 | hi Pmenu ctermfg=0 guifg=#000000 ctermbg=250 guibg=#bcbcbc 55 | hi PmenuSel ctermfg=255 guifg=#eeeeee ctermbg=243 guibg=#767676 56 | hi PmenuSbar ctermbg=252 guibg=#d0d0d0 57 | hi PmenuThumb ctermfg=243 guifg=#767676 58 | hi Search ctermfg=0 guifg=#000000 ctermbg=149 guibg=#afdf5f ctermbg=149 59 | hi SignColumn ctermfg=248 guifg=#a8a8a8 60 | hi SpecialKey ctermfg=237 guifg=#3d3d3d 61 | hi SpellBad ctermfg=160 guifg=fg ctermbg=bg cterm=underline guisp=#df0000 62 | hi SpellCap ctermfg=189 guifg=#dfdfff ctermbg=bg guibg=bg cterm=underline gui=underline 63 | hi SpellRare ctermfg=168 guifg=#df5f87 ctermbg=bg guibg=bg cterm=underline gui=underline 64 | hi SpellLocal ctermfg=98 guifg=#875fdf ctermbg=bg guibg=bg cterm=underline gui=underline 65 | hi StatusLine ctermfg=15 guifg=#ffffff ctermbg=239 guibg=#4e4e4e cterm=bold gui=none 66 | hi StatusLineNC ctermfg=249 guifg=#b2b2b2 ctermbg=237 guibg=#3a3a3a cterm=none gui=none 67 | hi TabLine ctermfg=fg guifg=fg ctermbg=242 guibg=#666666 cterm=none gui=none 68 | hi TabLineFill ctermfg=fg guifg=fg ctermbg=237 guibg=#3a3a3a cterm=none gui=none 69 | " FIXME 70 | hi Title ctermfg=225 guifg=#ffdfff 71 | hi TODO ctermfg=0 guifg=#000000 ctermbg=220 guibg=#ffc400 72 | hi Underlined ctermfg=39 guifg=#00afff cterm=underline gui=underline 73 | hi VertSplit ctermfg=237 guifg=#3a3a3a ctermbg=237 guibg=#3a3a3a cterm=none gui=none 74 | hi Visual ctermfg=234 guifg=#202020 ctermbg=220 guibg=#FFD000 75 | hi VisualNOS ctermfg=255 guifg=#eeeeee ctermbg=60 guibg=#5f5f87 76 | hi WildMenu ctermfg=0 guifg=#000000 ctermbg=150 guibg=#afdf87 cterm=bold gui=bold 77 | 78 | "" Syntax highlighting {{{2 79 | hi comment ctermfg=66 guifg=#5f7682 80 | hi constant ctermfg=111 guifg=#94bbff 81 | hi Identifier ctermfg=212 guifg=#f786ea cterm=none 82 | hi Ignore ctermfg=238 guifg=#444444 83 | hi number ctermfg=028 guifg=#ed7715 84 | hi preproc ctermfg=149 guifg=#a1de6f 85 | hi Special ctermfg=174 guifg=#eb8181 86 | hi Statement ctermfg=227 guifg=#ffff70 cterm=none gui=none 87 | hi type ctermfg=104 guifg=#9b9bde cterm=none gui=none 88 | 89 | "" Special {{{2 90 | """ .diff {{{3 91 | hi diffAdded ctermfg=150 guifg=#afdf87 92 | hi diffRemoved ctermfg=174 guifg=#df8787 93 | """ vimdiff {{{3 94 | hi diffAdd ctermfg=bg guifg=bg ctermbg=151 guibg=#afdfaf 95 | hi diffDelete ctermfg=bg guifg=bg ctermbg=246 guibg=#949494 cterm=none gui=none 96 | hi diffChange ctermfg=bg guifg=bg ctermbg=181 guibg=#dfafaf 97 | hi diffText ctermfg=bg guifg=bg ctermbg=174 guibg=#df8787 cterm=none gui=none 98 | """ HTML {{{3 99 | hi htmlTag ctermfg=244 100 | hi htmlEndTag ctermfg=244 101 | hi htmlArg ctermfg=182 guifg=#dfafdf 102 | hi htmlValue ctermfg=187 guifg=#dfdfaf 103 | hi htmlTitle ctermfg=254 ctermbg=95 104 | """ django {{{3 105 | hi djangoVarBlock ctermfg=180 106 | hi djangoTagBlock ctermfg=150 107 | hi djangoStatement ctermfg=146 108 | hi djangoFilter ctermfg=174 109 | """ python {{{3 110 | hi pythonExceptions ctermfg=174 111 | """ NERDTree {{{3 112 | hi Directory ctermfg=110 guifg=#87afdf 113 | hi treeCWD ctermfg=180 guifg=#dfaf87 114 | hi treeClosable ctermfg=174 guifg=#df8787 115 | hi treeOpenable ctermfg=150 guifg=#afdf87 116 | hi treePart ctermfg=244 guifg=#808080 117 | hi treeDirSlash ctermfg=244 guifg=#808080 118 | hi treeLink ctermfg=182 guifg=#dfafdf 119 | -------------------------------------------------------------------------------- /.vim/colors/zazen.vim: -------------------------------------------------------------------------------- 1 | " ============================================================================= 2 | " File: zazen.vim 3 | " Description: Vim color scheme file 4 | " Maintainer: Zoltan Dezso 5 | " ============================================================================= 6 | set background=dark 7 | highlight clear 8 | if exists("syntax_on") 9 | syntax reset 10 | endif 11 | let colors_name = "zazen" 12 | 13 | hi Normal guifg=#cccccc guibg=#000000 gui=NONE 14 | hi CursorLine guifg=NONE guibg=#555555 gui=NONE 15 | hi CursorColumn guifg=NONE guibg=#1a1a1a gui=NONE 16 | hi LineNr guifg=#555555 guibg=NONE gui=NONE 17 | hi Statement guifg=#a6a6a6 guibg=NONE gui=bold 18 | hi Function guifg=#eeeeee guibg=NONE gui=bold 19 | hi String guifg=#838383 guibg=NONE gui=NONE 20 | hi Type guifg=#eeeeee guibg=NONE gui=bold 21 | hi Conditional guifg=#787878 guibg=NONE gui=bold 22 | hi Todo guifg=#ff0000 guibg=#220000 gui=underline 23 | hi Comment guifg=#777777 guibg=NONE gui=NONE 24 | hi PmenuSel guifg=#000000 guibg=#a9a9aa gui=bold 25 | hi Special guifg=#868585 guibg=NONE gui=NONE 26 | hi Identifier guifg=#ffffff guibg=NONE gui=bold 27 | hi Keyword guifg=#666666 guibg=NONE gui=bold 28 | hi PreProc guifg=#6b6b6b guibg=NONE gui=bold 29 | hi Include guifg=#e0e0e0 guibg=NONE gui=NONE 30 | hi Constant guifg=#838383 guibg=#222222 gui=bold 31 | hi Delimiter guifg=#838383 guibg=NONE gui=NONE 32 | 33 | hi Visual guifg=#ffffff guibg=#515151 gui=NONE 34 | hi ColorColumn guifg=NONE guibg=#222222 35 | hi Cursor guifg=bg guibg=fg gui=NONE 36 | hi CursorIM guifg=bg guibg=fg gui=NONE 37 | hi lCursor guifg=bg guibg=fg gui=NONE 38 | 39 | hi DiffAdd guifg=#00cc00 guibg=#002200 gui=NONE 40 | hi DiffChange guifg=#ff9955 guibg=#220000 gui=NONE 41 | hi DiffDelete guifg=#ff0000 guibg=#220000 gui=NONE 42 | hi DiffText guifg=#ff0000 guibg=#220000 gui=NONE 43 | 44 | hi Directory guifg=#929292 guibg=bg gui=NONE 45 | hi ErrorMsg guifg=#6f6f6f guibg=NONE gui=NONE 46 | hi FoldColumn guifg=#555555 guibg=#414141 gui=bold 47 | hi Folded guifg=#828282 guibg=#212121 gui=italic 48 | 49 | hi IncSearch guifg=#000000 guibg=#adadad gui=NONE 50 | hi Search guifg=#000000 guibg=#c5c3c3 gui=NONE 51 | hi MatchParen guifg=#000000 guibg=#a8a8a8 gui=bold 52 | hi ModeMsg guifg=#ffffff guibg=#767676 gui=bold 53 | hi MoreMsg guifg=#7c7c7c guibg=bg gui=bold 54 | hi NonText guifg=#7e7e7e guibg=bg gui=bold 55 | 56 | hi Pmenu guifg=#656565 guibg=#3f3f3f gui=NONE 57 | hi PmenuSbar guifg=fg guibg=#5d5d5d gui=NONE 58 | hi PmenuThumb guifg=fg guibg=#777777 gui=NONE 59 | 60 | hi Question guifg=#454545 guibg=bg gui=bold 61 | hi SignColumn guifg=#ffffff guibg=#696969 gui=NONE 62 | 63 | hi SpecialKey guifg=#ffffff guibg=#696969 gui=NONE 64 | 65 | hi SpellBad guisp=#ffffff guibg=#000000 gui=undercurl guisp=#ffc0c0 66 | hi SpellCap guisp=#5d5d5d gui=undercurl 67 | hi SpellLocal guisp=#434343 gui=undercurl 68 | hi SpellRare guisp=#7d7d7d gui=undercurl 69 | hi StatusLine guifg=#000000 guibg=#727272 gui=bold 70 | hi StatusLineNC guifg=#5a5959 guibg=#222222 gui=italic 71 | hi TabLine guifg=fg guibg=#757575 gui=underline 72 | hi TabLineFill guifg=fg guibg=bg gui=reverse 73 | hi TabLineSel guifg=fg guibg=bg gui=bold 74 | hi Title guifg=#6d6d6d guibg=bg gui=bold 75 | hi VertSplit guifg=#222222 guibg=#222222 76 | hi WarningMsg guifg=#cfcfcf guibg=#5b5b5b gui=NONE 77 | hi WildMenu guifg=#000000 guibg=#828282 gui=NONE 78 | hi Boolean guifg=#616060 guibg=NONE gui=bold 79 | hi Ignore guifg=bg guibg=NONE gui=NONE 80 | hi Error guifg=#ff7272 guibg=NONE gui=undercurl guisp=#ff0000 81 | " ----------------------------------------------------------------------------- 82 | hi VimError guifg=#b6b6b6 guibg=#313131 gui=bold 83 | hi VimCommentTitle guifg=#5c5c5c guibg=bg gui=bold,italic 84 | hi qfFileName guifg=#6a6a6a guibg=NONE gui=italic 85 | hi qfLineNr guifg=fg guibg=NONE gui=NONE 86 | hi qfError guifg=fg guibg=#000000 gui=undercurl 87 | 88 | " 256-color Terminal support 89 | if &t_Co > 255 90 | hi Normal ctermfg=251 ctermbg=0 cterm=NONE 91 | hi CursorLine ctermfg=NONE ctermbg=240 cterm=NONE 92 | hi CursorColumn ctermfg=NONE ctermbg=234 cterm=NONE 93 | hi LineNr ctermfg=240 ctermbg=NONE cterm=NONE 94 | hi Statement ctermfg=248 ctermbg=NONE cterm=bold 95 | hi Function ctermfg=255 ctermbg=NONE cterm=bold 96 | hi String ctermfg=244 ctermbg=NONE cterm=NONE 97 | hi Type ctermfg=255 ctermbg=NONE cterm=bold 98 | hi Conditional ctermfg=243 ctermbg=NONE cterm=bold 99 | hi Todo ctermfg=9 ctermbg=NONE cterm=underline 100 | hi Comment ctermfg=243 ctermbg=NONE cterm=NONE 101 | hi PmenuSel ctermfg=0 ctermbg=248 cterm=bold 102 | hi Special ctermfg=244 ctermbg=NONE cterm=NONE 103 | hi Identifier ctermfg=15 ctermbg=NONE cterm=bold 104 | hi Keyword ctermfg=242 ctermbg=NONE cterm=bold 105 | hi PreProc ctermfg=242 ctermbg=NONE cterm=bold 106 | hi Include ctermfg=254 ctermbg=NONE cterm=NONE 107 | hi Constant ctermfg=244 ctermbg=235 cterm=bold 108 | hi Delimiter ctermfg=244 ctermbg=NONE cterm=NONE 109 | 110 | hi Visual ctermfg=15 ctermbg=239 cterm=NONE 111 | hi ColorColumn ctermfg=NONE ctermbg=234 112 | hi Cursor ctermfg=bg ctermbg=fg cterm=NONE 113 | hi CursorIM ctermfg=bg ctermbg=fg cterm=NONE 114 | hi lCursor ctermfg=bg ctermbg=fg cterm=NONE 115 | 116 | hi DiffAdd ctermfg=40 ctermbg=22 cterm=NONE 117 | hi DiffChange ctermfg=209 ctermbg=52 cterm=NONE 118 | hi DiffDelete ctermfg=9 ctermbg=52 cterm=NONE 119 | hi DiffText ctermfg=9 ctermbg=52 cterm=NONE 120 | 121 | hi Directory ctermfg=246 ctermbg=bg cterm=NONE 122 | hi ErrorMsg ctermfg=242 ctermbg=NONE cterm=NONE 123 | hi FoldColumn ctermfg=240 ctermbg=237 cterm=bold 124 | hi Folded ctermfg=244 ctermbg=234 cterm=italic 125 | 126 | hi IncSearch ctermfg=0 ctermbg=248 cterm=NONE 127 | hi Search ctermfg=0 ctermbg=251 cterm=NONE 128 | hi MatchParen ctermfg=0 ctermbg=248 cterm=bold 129 | hi ModeMsg ctermfg=15 ctermbg=243 cterm=bold 130 | hi MoreMsg ctermfg=243 ctermbg=bg cterm=bold 131 | hi NonText ctermfg=244 ctermbg=bg cterm=bold 132 | 133 | hi Pmenu ctermfg=242 ctermbg=237 cterm=NONE 134 | hi PmenuSbar ctermfg=fg ctermbg=241 cterm=NONE 135 | hi PmenuThumb ctermfg=fg ctermbg=243 cterm=NONE 136 | 137 | hi Question ctermfg=238 ctermbg=bg cterm=bold 138 | hi SignColumn ctermfg=15 ctermbg=242 cterm=NONE 139 | 140 | hi SpecialKey ctermfg=15 ctermbg=242 cterm=NONE 141 | 142 | hi SpellBad ctermbg=0 cterm=NONE 143 | hi SpellCap ctermbg=0 cterm=NONE 144 | hi SpellLocal ctermbg=0 cterm=NONE 145 | hi SpellRare ctermbg=0 cterm=NONE 146 | hi StatusLine ctermfg=0 ctermbg=243 cterm=bold 147 | hi StatusLineNC ctermfg=241 ctermbg=235 cterm=italic 148 | hi TabLine ctermfg=fg ctermbg=243 cterm=underline 149 | hi TabLineFill ctermfg=fg ctermbg=bg cterm=reverse 150 | hi TabLineSel ctermfg=fg ctermbg=bg cterm=bold 151 | hi Title ctermfg=242 ctermbg=bg cterm=bold 152 | hi VertSplit ctermfg=234 ctermbg=234 153 | hi WarningMsg ctermfg=252 ctermbg=240 cterm=NONE 154 | hi WildMenu ctermfg=0 ctermbg=244 cterm=NONE 155 | hi Boolean ctermfg=241 ctermbg=NONE cterm=bold 156 | hi Ignore ctermfg=bg ctermbg=NONE cterm=NONE 157 | hi Error ctermfg=210 ctermbg=NONE cterm=underline 158 | 159 | hi VimError ctermfg=250 ctermbg=236 cterm=bold 160 | hi VimCommentTitle ctermfg=240 ctermbg=bg cterm=bold,italic 161 | hi qfFileName ctermfg=242 ctermbg=NONE cterm=italic 162 | hi qfLineNr ctermfg=fg ctermbg=NONE cterm=NONE 163 | hi qfError ctermfg=fg ctermbg=0 cterm=underline 164 | end 165 | -------------------------------------------------------------------------------- /.vim/dict.add: -------------------------------------------------------------------------------- 1 | sqlalchemy 2 | SQLAlchemy 3 | sessionmaker 4 | Metadata 5 | metadata 6 | metadata 7 | config 8 | hostname 9 | app 10 | Ubuntu 11 | blog 12 | unicode 13 | plugin 14 | plugins 15 | ajax 16 | json 17 | hotalert 18 | hotalerts 19 | HotAlert 20 | SqlAlchemy 21 | admin 22 | popup 23 | username 24 | Codemash 25 | added 26 | actions 27 | buildout 28 | $/! 29 | refactor 30 | MongoDB 31 | -------------------------------------------------------------------------------- /.vim/dict.add.spl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitechie/pyvim/6efb331f2fbf61077b0385bf64d46b64861939b0/.vim/dict.add.spl -------------------------------------------------------------------------------- /.vimrc: -------------------------------------------------------------------------------- 1 | " http://github.com/mitechie/pyvim 2 | " ================================================== 3 | " Dependencies 4 | " ================================================== 5 | " Pep8 : http://pypi.python.org/pypi/pep8 6 | " pylint script 7 | " curl - Gist plugin 8 | " python-rope - for ropevim plugin 9 | 10 | " ================================================== 11 | " Shortcuts Documented 12 | " ================================================== 13 | " jj - esc 14 | " ,b - bufferlist 15 | " ,V - load .vimrc 16 | " ,VV - reload .vimrc 17 | " ,m - run make 18 | " ,M - alt make for filetype (pep8 for python, etc) 19 | " ,y - yank to clipboard 20 | " ,Y - yank current line to clipboard 21 | " ,p - paste from clipboard 22 | " ,q - reformat text paragraph 23 | " ,s - toggle spellcheck 24 | " ,S - remove end of line spaces 25 | " ,c - open the quickfix window 26 | " ,cc - close the quickfix window 27 | " ,t - toggle nerdtree 28 | " ,r - view registers 29 | " ,t - collapse/fold html tag 30 | " 31 | " Y - yank to the end of the line 32 | " 33 | " - create newline with enter key 34 | " C-n - clear search 35 | " C-l - Omnicompletion 36 | " C-p - ctags completion 37 | " 38 | " gc - comment the highlighted text 39 | " gcc - comment out the current line 40 | " 41 | " cs"( - replace the " with ( 42 | " ysiw" - wrap current text object with " 43 | " yss" - wrap current line with " 44 | " S - in visual mode surroud with something 45 | " ds( - remove wrapping ( from text 46 | " 47 | " ,, - complete snippet 48 | " ,, - tab to next section of snippet 49 | " ,n - list available snippets for this filetype 50 | " 51 | " ,pw - search for keyword in pydocs 52 | " ,pW - search any pydoc for this keyword 53 | " 54 | " F11 - toggle :set paste on/off 55 | " 56 | " Windows 57 | " ctrl-jklm - swap to that split without the ctrl-w 58 | " +/- - shrink the current split verticall 59 | " alt-,/. - move the split vertically 60 | " F2 - close current split 61 | " 62 | " :Gist 63 | " :Gist -p (private) 64 | " :Gist XXXX (fetch Gist XXXX and load) 65 | " 66 | " :PG XXXX php - vimgrep the project for XXXX in .php files requird workit 67 | " 68 | " TwitVim 69 | " / - load timelines 70 | " :Bpost... - post 71 | " ,g - load user's timeline 72 | " ,d - direct message 73 | " ,@ - load the parent to this post 74 | " :IsGd {url} - shorten the url 75 | " 76 | " ----------------------------------------- 77 | " Printing: 78 | " set printoptions=paper:A4,syntax:y,wrap:y 79 | " http://vim.runpaint.org/basics/printing/ 80 | 81 | " bootstrap the pathogen part of the config right away 82 | filetype off 83 | call pathogen#runtime_append_all_bundles() 84 | call pathogen#helptags() 85 | 86 | " Highlight end of line whitespace. 87 | " match WhitespaceEOL /\s\+$/ 88 | au InsertEnter * match WhitespaceEOL /\s\+$/ 89 | au InsertLeave * match WhitespaceEOL /\s\+$/ 90 | 91 | " make sure our whitespace matching is setup before we do colorscheme tricks 92 | autocmd ColorScheme * highlight WhitespaceEOL ctermbg=red guibg=red 93 | 94 | " now proceed as usual 95 | syntax on " syntax highlighing 96 | filetype on " try to detect filetypes 97 | filetype plugin indent on " enable loading indent file for filetype 98 | 99 | " In GVIM 100 | if has("gui_running") 101 | " set guifont=Consolas\ 7" use this font 102 | " set guifont=Liberation\ Mono\ 7" use this font 103 | set guifont=Ubuntu\ Mono\ 10" use this font 104 | set lines=75 " height = 50 lines 105 | set columns=180 " width = 100 columns 106 | set background=light " adapt colors for background 107 | set keymodel= 108 | set nomousehide 109 | " colorscheme lucius 110 | " colorscheme twilight 111 | " colorscheme solarized 112 | " colorscheme void 113 | colorscheme aldmeris 114 | " colorscheme smyck 115 | 116 | " To set the toolbars off (icons on top of the screen) 117 | " set guioptions-=T 118 | " 119 | " set guioptions-=m "remove menu bar 120 | set guioptions= 121 | 122 | " Try to keep backups across sessions 123 | set undodir=~/.vim/backups 124 | set undofile 125 | else 126 | set background=light " adapt colors for dark background 127 | set t_Co=256 128 | colorscheme lucius 129 | 130 | endif 131 | 132 | 133 | " ================================================== 134 | " Basic Settings 135 | " ================================================== 136 | let mapleader="," " change the leader to be a comma vs slash 137 | set textwidth=78 " Try this out to see how textwidth helps 138 | set ch=1 " Make command line two lines high 139 | set ls=2 " allways show status line 140 | set tabstop=4 " numbers of spaces of tab character 141 | set shiftwidth=4 " numbers of spaces to (auto)indent 142 | set scrolloff=3 " keep 3 lines when scrolling 143 | set nocursorline " have a line indicate the cursor location 144 | set cindent " cindent 145 | set autoindent " always set autoindenting on 146 | set showcmd " display incomplete commands 147 | set ruler " show the cursor position all the time 148 | set visualbell t_vb= " turn off error beep/flash 149 | set novisualbell " turn off visual bell 150 | set nobackup " do not keep a backup file 151 | set number " show line numbers 152 | set title " show title in console title bar 153 | set ttyfast " smoother changes 154 | set modeline " last lines in document sets vim mode 155 | set modelines=3 " number lines checked for modelines 156 | set shortmess=atI " Abbreviate messages 157 | set nostartofline " don't jump to first character when paging 158 | set backspace=start,indent,eol 159 | set matchpairs+=<:> " show matching <> (html mainly) as well 160 | set showmatch 161 | set matchtime=3 162 | set spell 163 | set expandtab " tabs are converted to spaces, use only when required 164 | set sm " show matching braces, somewhat annoying... 165 | 166 | set statusline=%F%m%r%h%w\ [FORMAT=%{&ff}]\ [TYPE=%Y]\ [ASCII=\%03.3b]\ [HEX=\%02.2B]\ [POS=%04l,%04v][%p%%]\ [LEN=%L] 167 | hi StatusLine guifg=#fcf4ba guibg=#333333 168 | hi StatusLineNC guifg=#808080 guibg=#333333 169 | 170 | " move freely between files 171 | set whichwrap=b,s,h,l,<,>,[,] 172 | 173 | set tags=tags;/ " search for tags file in parent directories 174 | 175 | " complete in vim commands with a nice list 176 | set wildmenu 177 | set wildmode=longest,list 178 | set wildignore+=*.pyc 179 | 180 | " set the paste toggle key 181 | set pastetoggle= 182 | 183 | " replace the default grep program with ack 184 | set grepprg=ack-grep 185 | 186 | " auto save when focus is lost 187 | au FocusLost * :wa 188 | 189 | " run the current file with F5 190 | map :w:!%:p 191 | 192 | " ================================================== 193 | " Config Specific Settings 194 | " ================================================== 195 | 196 | " If we're running in vimdiff then tweak out settings a bit 197 | if &diff 198 | set nospell 199 | endif 200 | 201 | " ================================================== 202 | " Basic Maps 203 | " ================================================== 204 | " 205 | " Maps for jj to act as Esc 206 | ino jj 207 | cno jj 208 | 209 | " Map ;; to swap out the file with the previous one 210 | nnoremap ;; 211 | 212 | " map ctrl-c to something else so I quick using it 213 | map 214 | imap 215 | 216 | " ,VV brings up my .vimrc 217 | " ,V reloads it -- making all changes active (have to save first) 218 | map V :sp ~/.vimrc_ 219 | map VV :source ~/.vimrc:filetype detect:exe ":echo 'vimrc reloaded'" 220 | 221 | " Run Make with ctrl-m or ,m 222 | map m :make:cw 223 | 224 | " quick insertion of a newline 225 | nmap o 226 | 227 | " Y yanks to the end of the line 228 | nmap Y y$ 229 | 230 | " shortcuts for copying to clipboard 231 | nmap y "*y 232 | 233 | " copy the current line to the clipboard 234 | nmap Y "*yy 235 | nmap p "*p 236 | 237 | " show the registers from things cut/yanked 238 | nmap r :registers 239 | 240 | " map the various registers to a leader shortcut for pasting from them 241 | nmap 0 "0p 242 | nmap 1 "1p 243 | nmap 2 "2p 244 | nmap 3 "3p 245 | nmap 4 "4p 246 | nmap 5 "5p 247 | nmap 6 "6p 248 | nmap 7 "7p 249 | nmap 8 "8p 250 | nmap 9 "9p 251 | 252 | " shortcut to toggle spelling 253 | nmap s :setlocal spell! spelllang=en_us 254 | 255 | " setup a custom dict for spelling 256 | " zg = add word to dict 257 | " zw = mark word as not spelled correctly (remove) 258 | set spellfile=~/.vim/dict.add 259 | 260 | " shortcuts to open/close the quickfix window 261 | nmap c :copen 262 | nmap cc :cclose 263 | 264 | nmap l :lopen 265 | nmap ll :lclose 266 | nmap ln :lN 267 | nmap lp :lN 268 | 269 | " for when we forget to use sudo to open/edit a file 270 | cmap w!! w !sudo tee % >/dev/null 271 | 272 | nnoremap q gqap 273 | 274 | " Scroll the viewport 3 lines vs just 1 line at a time 275 | nnoremap 3 276 | nnoremap 3 277 | 278 | " ================================================== 279 | " Windows / Splits 280 | " ================================================== 281 | 282 | " ctrl-jklm changes to that split 283 | map j 284 | map k 285 | map l 286 | map h 287 | 288 | " and lets make these all work in insert mode too ( makes next cmd 289 | " happen as if in command mode ) 290 | imap 291 | 292 | " use - and + to resize horizontal splits 293 | map - - 294 | map + + 295 | 296 | " and for vsplits with alt-< or alt-> 297 | map > 298 | map < 299 | 300 | " F2 close current window (commonly used with my F1/F3 functions) 301 | noremap :close 302 | 303 | " ================================================== 304 | " Search 305 | " ================================================== 306 | 307 | " Press Ctrl-N to turn off highlighting. 308 | set hlsearch " highlight searches 309 | set incsearch " do incremental searching 310 | set ignorecase " ignore case when searching 311 | set smartcase " if searching and search contains upper case, make case sensitive search 312 | 313 | nmap :silent noh 314 | 315 | " Search for potentially strange non-ascii characters 316 | map u :match Error /[\x7f-\xff]/ 317 | 318 | " ================================================== 319 | " Completion 320 | " ================================================== 321 | 322 | " complete on ctrl-l 323 | inoremap 324 | 325 | set complete+=. 326 | set complete+=k 327 | set complete+=b 328 | set complete+=t 329 | 330 | set completeopt+=menuone,longest 331 | 332 | " ================================================== 333 | " Filetypes 334 | " ================================================== 335 | 336 | " Auto change the directory to the current file I'm working on 337 | " autocmd BufEnter * lcd %:p:h 338 | " Trying out this trick to get cwd tricks 339 | cnoremap %% =expand('%:h').'/' 340 | map e :edit %% 341 | map v :view %% 342 | 343 | " make the smarty .tpl files html files for our purposes 344 | au BufNewFile,BufRead *.tpl set filetype=html 345 | au BufNewFile,BufRead,BufEnter *.mako set filetype=mako 346 | 347 | " Filetypes (au = autocmd) 348 | au filetype help set nonumber " no line numbers when viewing help 349 | au filetype help nnoremap " Enter selects subject 350 | au filetype help nnoremap " Backspace to go back 351 | 352 | "If we're editing a mail message in mutt change to 70 wide and wrap 353 | "without linex numbers 354 | augroup mail 355 | autocmd! 356 | autocmd FileType mail set textwidth=70 wrap nonumber nocursorline 357 | augroup END 358 | 359 | " If we're editing a .txt file then skip line numbers 360 | au! BufRead,BufNewFile *.txt set nonu 361 | 362 | " automatically give executable permissions if file begins with #! and contains 363 | " '/bin/' in the path 364 | au bufwritepost * if getline(1) =~ "^#!" | if getline(1) =~ "/bin/" | silent !chmod a+x | endif | endif 365 | 366 | " ================================================== 367 | " Python 368 | " ================================================== 369 | au BufReadPost quickfix map :.cc :ccl 370 | 371 | au BufRead *.py set makeprg=python\ -c\ \"import\ py_compile,sys;\ sys.stderr=sys.stdout;\ py_compile.compile(r'%')\" 372 | autocmd FileType python map M :SyntasticCheck 373 | " au BufRead *.py compiler nose 374 | " au BufRead *.py set efm=%C\ %.%#,%A\ \ File\ \"%f\"\\,\ line\ %l%.%#,%Z%[%^\ ]%\\@=%m 375 | au BufRead *.py set tags=tags-py;/ 376 | 377 | " ================================================== 378 | " Javascript 379 | " ================================================== 380 | au FileType javascript call JavaScriptFold() 381 | au FileType javascript setl fen 382 | au FileType javascript set errorformat=%f:\ line\ %l\\,\ col\ %c\\,\ %m 383 | au FileType javascript set makeprg=jshint\ % 384 | autocmd FileType javascript map M :SyntasticCheck 385 | au FileType javascript set tags=tags-js;/ 386 | au FileType javascript set formatoptions-=r 387 | 388 | autocmd BufRead,BufNewFile *.json set filetype=json 389 | command Js silent %!jp 390 | command Jc silent %!jcompress 391 | autocmd FileType json Js 392 | 393 | " ================================================== 394 | " CSS 395 | " ================================================== 396 | 397 | 398 | 399 | 400 | " ================================================== 401 | " HTML 402 | " ================================================== 403 | " enable a shortcut for tidy using ~/.tidyrc config 404 | map T :!tidy -config ~/.tidyrc 405 | 406 | " enable html tag folding with ,f 407 | nnoremap f Vatzf 408 | 409 | map g :!google-chrome % 410 | 411 | " ================================================== 412 | " GoLang 413 | " ================================================== 414 | " Highlight word and 'K' to get GoDoc output for word. 415 | au BufRead,BufNewFile *.go set filetype=go 416 | " ,m will run gomake 417 | au BufRead *.go set makeprg=gomake 418 | " ,M will run gofmt on the code to lint it 419 | autocmd FileType go map M :Fmt:cw 420 | 421 | " ================================================== 422 | " Git Tricks 423 | " ================================================== 424 | " Show the diff in the preview window of the commit during git commit 425 | autocmd FileType gitcommit DiffGitCached | wincmd p 426 | 427 | " ================================================== 428 | " Syntax Files 429 | " ================================================== 430 | 431 | " xml.vim 432 | " http://github.com/sukima/xmledit/ 433 | " % jump between '<' and '>' within the tag 434 | " finish a tag '>' 435 | " press '>' twice it will complete and cursor in the middle 436 | 437 | " mako.vim 438 | " http://www.vim.org/scripts/script.php?script_id=2663 439 | " syntax support for mako code 440 | 441 | " ================================================== 442 | " Plugins 443 | " ================================================== 444 | 445 | " CtrlP 446 | " https://github.com/kien/ctrlp.vim 447 | let g:ctrlp_working_path_mode = 0 448 | let g:ctrlp_custom_ignore = { 449 | \ 'dir': '\.git$\|\.hg$\|\.svn\|\.bzr$\|develop-eggs$\|site-packages', 450 | \ 'file': '\.pyc$|\.exe$\|\.so$\|\.dll$\|\.swp$', 451 | \ 'link': 'download-cache|eggs|yui', 452 | \ } 453 | 454 | map gt :CtrlP templates/ 455 | map gj :CtrlP static/js/ 456 | 457 | " Fugative 458 | " https://github.com/tpope/vim-fugitive 459 | " 460 | " Commands: 461 | " Gedit 462 | " Gsplit 463 | " Gvsplit 464 | " GStatus 465 | " Gblame 466 | " Gmove 467 | " Gremove 468 | " Ggrep 469 | " Gwrite 470 | " Gbrowse 471 | 472 | " lusty-juggler 473 | " http://www.vim.org/scripts/script.php?script_id=2050 474 | nmap b :LustyJuggler 475 | 476 | " NERDTree 477 | " http://www.vim.org/scripts/script.php?script_id=1658 478 | let NERDTreeIgnore = ['\.pyc$', '\.pyo$'] 479 | map a :NERDTree 480 | 481 | " tComment 482 | " http://www.vim.org/scripts/script.php?script_id=1173 483 | " gc - comment the highlighted text 484 | " gcc - comment out the current line 485 | 486 | " pep8 487 | " http://www.vim.org/scripts/script.php?script_id=2914 488 | " autocmd FileType python map M :call Pep8():cw 489 | 490 | 491 | " python folding jpythonfold.vim 492 | " http://www.vim.org/scripts/script.php?script_id=2527 493 | " Setup as ftplugin/python.vim for auto loading 494 | 495 | " PyDoc 496 | " http://www.vim.org/scripts/script.php?script_id=910 497 | " Search python docs for the keyword 498 | " pw - search for docs for what's under cursor 499 | " pW - search for any docs with this keyword mentioned 500 | 501 | " Supertab 502 | " http://www.vim.org/scripts/script.php?script_id=182 503 | " :SuperTabHelp 504 | let g:SuperTabDefaultCompletionType = "context" 505 | let g:SuperTabContextDefaultCompletionType = "" 506 | let g:SuperTabLongestHighlight = 1 507 | let g:SuperTabMidWordCompletion = 1 508 | 509 | " SnipMate 510 | " http://www.vim.org/scripts/script.php?script_id=2540 511 | " ,, - complete and tab to next section 512 | " ,n - show list of snippets for this filetype 513 | 514 | " bundle/snipmate/after/plugin/snipmate 515 | ino , =TriggerSnippet() 516 | snor , i=TriggerSnippet() 517 | ino \< =BackwardsSnippet() 518 | snor \< i=BackwardsSnippet() 519 | ino n =ShowAvailableSnips() 520 | 521 | " Surround 522 | " http://www.vim.org/scripts/script.php?script_id=1697 523 | " default shortcuts 524 | 525 | " Pyflakes 526 | " http://www.vim.org/scripts/script.php?script_id=3161 527 | " default config for underlines of syntax errors in gvim 528 | let g:pyflakes_use_quickfix = 0 529 | 530 | " tslime 531 | " https://github.com/evhan/tslime.vim.git 532 | " let g:tmux_sessionname = "default" 533 | let g:tmux_windowname = 1 534 | let g:tmux_panenumber = 0 535 | nmap mt :call Send_to_Tmux("make test"."\n") 536 | nmap lt :call Send_to_Tmux("./bin/test -x -cvvt \"test_".expand("%:t:r")."\"\n") 537 | nmap rst :call Send_to_Tmux("rst2html.py ".expand("%")." > /tmp/".expand("%:t:r").".html\n") 538 | 539 | 540 | " Gist - github pastbin 541 | " http://www.vim.org/scripts/script.php?script_id=2423 542 | " :Gist 543 | " :Gist -p (private) 544 | " :Gist -l 545 | " :Gist XXXX (fetch Gist XXXX and load) 546 | let g:gist_detect_filetype = 1 547 | let g:gist_open_browser_after_post = 1 548 | 549 | " RopeVim 550 | " http://rope.sourceforge.net/ropevim.html 551 | " Refactoring engine using python-rope 552 | " source /usr/local/ropevim.vim 553 | source /usr/local/share/vim/plugin/ropevim.vim 554 | let ropevim_codeassist_maxfixes=10 555 | let ropevim_vim_completion=1 556 | let ropevim_guess_project=1 557 | let ropevim_enable_autoimport=1 558 | let ropevim_extended_complete=1 559 | 560 | " Tagbar 561 | " https://github.com/majutsushi/tagbar/ 562 | " Show ctags info in the sidebar 563 | nmap L :TagbarToggle 564 | 565 | " Syntastic 566 | " Config syntastic 567 | 568 | let g:syntastic_check_on_open=1 569 | let g:syntastic_enable_signs=0 570 | let g:syntastic_enable_highlighting=1 571 | let g:syntastic_auto_loc_list=1 572 | let g:syntastic_loc_list_height=5 573 | 574 | " let g:syntastic_mode_map = { 'mode': 'active', 575 | " \ 'active_filetypes': ['python', 'javascript', 'css', 'coffee', 'go', 'html', 'rst', 'sass', 'yaml'], 576 | " \ 'passive_filetypes': ['make'] } 577 | 578 | let g:syntastic_python_checker = 'flake8' 579 | let g:syntastic_python_checker_args='--ignore=E125,E127' 580 | let g:syntastic_javascript_checker = 'jshint' 581 | 582 | " function! CustomCodeAssistInsertMode() 583 | " call RopeCodeAssistInsertMode() 584 | " if pumvisible() 585 | " return "\\" 586 | " else 587 | " return '' 588 | " endif 589 | " endfunction 590 | " 591 | " function! TabWrapperComplete() 592 | " let cursyn = synID(line('.'), col('.') - 1, 1) 593 | " if pumvisible() 594 | " return "\" 595 | " endif 596 | " if strpart(getline('.'), 0, col('.')-1) =~ '^\s*$' || cursyn != 0 597 | " return "\" 598 | " else 599 | " return "\=CustomCodeAssistInsertMode()\" 600 | " endif 601 | " endfunction 602 | " 603 | " inoremap TabWrapperComplete() 604 | 605 | 606 | " vim-makegreen && vim-nosecompiler 607 | " unit testing python code in during editing 608 | " I use files in the same dir test_xxxx.* 609 | " if we're already on the test_xxx.py file, just rerun current test file 610 | " function MakeArgs() 611 | " if empty(matchstr(expand('%'), 'test_')) 612 | " " if no test_ on the filename, then add it to run tests 613 | " let make_args = 'test_%' 614 | " else 615 | " let make_args = '%' 616 | " endif 617 | " 618 | " :call MakeGreen(make_args) 619 | " endfunction 620 | " 621 | " autocmd FileType python map t :call MakeArgs() 622 | 623 | " 624 | " ================================================== 625 | " Custom Functions 626 | " ================================================== 627 | 628 | " PGrep function to basically do vimgrep within the predefined $PROJ_DIR from 629 | " workit scripts. 630 | " :PG support php -- search the project for /support/j **/*.php 631 | function! PGrep(pattern, ...) 632 | let pattern = a:pattern 633 | 634 | if a:0 == 0 635 | let ext = '*' 636 | else 637 | let ext = a:1 638 | endif 639 | 640 | let proj_path = system("echo $PROJ_PATH | tr -d '\n'") 641 | :exe 'cd '.proj_path 642 | 643 | let search_path = "**/*." . ext 644 | 645 | :execute "vimgrep /" . pattern . "/j " search_path | :copen 646 | endfunction 647 | command! -nargs=* PG :call PGrep() 648 | 649 | " javascript folding 650 | function! JavaScriptFold() 651 | setl foldmethod=syntax 652 | setl foldlevelstart=1 653 | syn region foldBraces start=/{/ end=/}/ transparent fold keepend extend 654 | 655 | function! FoldText() 656 | return substitute(getline(v:foldstart), '{.*', '{...}', '') 657 | endfunction 658 | setl foldtext=FoldText() 659 | endfunction 660 | 661 | " Clean all end of line extra whitespace with ,S 662 | " Credit: voyeg3r https://github.com/mitechie/pyvim/issues/#issue/1 663 | " deletes excess space but maintains the list of jumps unchanged 664 | " for more details see: h keepjumps 665 | fun! CleanExtraSpaces() 666 | let save_cursor = getpos(".") 667 | let old_query = getreg('/') 668 | :%s/\s\+$//e 669 | call setpos('.', save_cursor) 670 | call setreg('/', old_query) 671 | endfun 672 | map S :keepjumps call CleanExtraSpaces() 673 | 674 | -------------------------------------------------------------------------------- /README.rst: -------------------------------------------------------------------------------- 1 | Rick's Python Config 2 | ===================== 3 | 4 | I'm a Python web dev so lots of tweaks for that. 5 | 6 | I've recently done some heavy lifting to get it pathogen compatible so give me a 7 | bit to settle the dust while I finish cleaning/updating docs/testing things 8 | out. 9 | 10 | Install 11 | -------- 12 | Setup is handled by `install.py` which will do the symlinks, install the 13 | plugins, and copy them over to the `.vim/bundle` directory. 14 | 15 | ToDo 16 | ---- 17 | - need an upgrade script command to walk through the plugins and pull updates 18 | 19 | -------------------------------------------------------------------------------- /bundle/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitechie/pyvim/6efb331f2fbf61077b0385bf64d46b64861939b0/bundle/.gitignore -------------------------------------------------------------------------------- /bundle_list: -------------------------------------------------------------------------------- 1 | http://github.com/sukima/xmledit.git 2 | http://github.com/vim-scripts/mako.vim.git 3 | http://github.com/vim-scripts/LustyJuggler.git 4 | http://github.com/tomtom/tcomment_vim.git 5 | http://github.com/vim-scripts/pep8--Driessen.git 6 | http://github.com/vim-scripts/jpythonfold.vim.git 7 | http://github.com/vim-scripts/pydoc.vim.git 8 | http://github.com/tsaleh/vim-supertab.git 9 | http://github.com/msanders/snipmate.vim.git 10 | http://github.com/vim-scripts/surround.vim.git 11 | http://github.com/vim-scripts/Gist.vim.git 12 | http://github.com/scrooloose/nerdtree.git 13 | #http://github.com/vim-scripts/pylint.vim.git 14 | http://github.com/vim-scripts/nginx.vim.git 15 | #git://github.com/mitechie/pyflakes-pathogen.git 16 | #http://github.com/kevinw/pyflakes-vim.git 17 | #https://github.com/nvie/vim-flake8.git 18 | http://github.com/tomtom/tlib_vim.git 19 | https://github.com/ap/vim-css-color.git 20 | git://github.com/majutsushi/tagbar 21 | https://github.com/bolasblack/csslint.vim.git 22 | https://github.com/pangloss/vim-javascript.git 23 | https://github.com/yui/vim-yui3.git 24 | https://github.com/Lokaltog/vim-powerline 25 | http://github.com/depuracao/vim-darkdevel.git 26 | https://github.com/vim-scripts/jshint.vim.git 27 | https://github.com/kien/ctrlp.vim 28 | https://github.com/tpope/vim-fugitive 29 | https://github.com/evhan/tslime.vim.git 30 | https://github.com/kana/vim-smartinput.git 31 | https://github.com/mitechie/govim.git 32 | https://github.com/hallison/vim-markdown.git 33 | https://github.com/scrooloose/syntastic.git 34 | https://github.com/groenewege/vim-less 35 | https://github.com/nono/vim-handlebars.git 36 | -------------------------------------------------------------------------------- /custom_snippets/_-custom.snippets: -------------------------------------------------------------------------------- 1 | snippet merge 2 | = Summary = 3 | 4 | 5 | == Pre Implementation == 6 | 7 | 8 | == Implementation Notes == 9 | 10 | 11 | == Tests == 12 | 13 | 14 | == Lint == 15 | 16 | 17 | == LoC Qualification == 18 | -------------------------------------------------------------------------------- /custom_snippets/html-custom.snippets: -------------------------------------------------------------------------------- 1 | snippet yuib 2 | 3 | 4 | ${4:text} 5 | 6 | 7 | 8 | snippet wpcode 9 | [codeblock lang="${1:lang}"] 10 | ${2:code} 11 | [/codeblock] 12 | 13 | snippet a 14 | ${3:text} 15 | 16 | snippet lpjstest 17 | 19 | 23 | 24 | 25 | 26 | Test ${LIBRARY} 27 | 28 | 29 | 32 | 34 | 36 | 38 | 39 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 |
    59 | 60 |
  • lp.${LIBRARY}.test
  • 61 |
62 | 63 | 64 | -------------------------------------------------------------------------------- /custom_snippets/javascript-custom.snippets: -------------------------------------------------------------------------------- 1 | # dump out to console 2 | snippet dmp 3 | console.log(${1|somevar}); 4 | 5 | snippet deb 6 | debugger; 7 | 8 | snippet g 9 | get('${1|prop}') 10 | 11 | snippet doc 12 | /** 13 | * ${1|some_doc} 14 | * 15 | */ 16 | 17 | snippet jslint 18 | /*jslint eqeqeq: false, browser: true, debug: true, onevar: true, plusplus: false, newcap: false */ 19 | /*global $: false, window: false, self: false, escape: false, mor: false, sprintf: false */ 20 | 21 | snippet clos 22 | (function () { 23 | ${1|code} 24 | }()); 25 | 26 | snippet setup 27 | setUp: function () { 28 | 29 | }, 30 | 31 | tearDown: function () { 32 | 33 | }, 34 | 35 | snippet test 36 | test_${1|name}: function () { 37 | ${2|code} 38 | } 39 | 40 | snippet true 41 | Y.Assert.isTrue(${1|cond}, "${2|text}"); 42 | 43 | snippet false 44 | Y.Assert.isFalse(${1|cond}, "${2|text}"); 45 | 46 | snippet eq 47 | Y.Assert.areEqual(${1|cond1}, ${2|cond2}, "${3|text}"); 48 | 49 | snippet neq 50 | Y.Assert.areNotEqual(${1|cond1}, ${2|cond2}, "${3|text}"); 51 | 52 | snippet lpjstest 53 | /* Copyright (c) 2012, Canonical Ltd. All rights reserved. */ 54 | 55 | YUI.add('lp.${LIBRARY}.test', function (Y) { 56 | 57 | var tests = Y.namespace('lp.${LIBRARY}.test'); 58 | tests.suite = new Y.Test.Suite('${LIBRARY} Tests'); 59 | 60 | tests.suite.add(new Y.Test.Case({ 61 | name: '${LIBRARY}_tests', 62 | 63 | setUp: function () {}, 64 | tearDown: function () {}, 65 | 66 | test_library_exists: function () { 67 | Y.Assert.isObject(Y.lp.${LIBRARY}, 68 | "We should be able to locate the lp.${LIBRARY} module"); 69 | } 70 | 71 | })); 72 | 73 | }, '0.1', {'requires': ['test', 'console', 'lp.${LIBRARY}']}); 74 | 75 | snippet doc_attr 76 | /** 77 | * @attribute ${1|name} 78 | * @default ${2|default} 79 | * @type ${3|type} 80 | * 81 | */ 82 | 83 | snippet doc_method 84 | /** 85 | * ${1|description} 86 | * 87 | * @method ${2|name} 88 | * @param {${3|type}} ${4|description} 89 | * 90 | */ 91 | 92 | snippet doc_class 93 | /** 94 | * ${1|description} 95 | * 96 | * @class ${2|name} 97 | * @extends ${3|extends} 98 | * 99 | */ 100 | 101 | snippet doc_module 102 | /** 103 | * ${1|description} 104 | * 105 | * @namespace ${2|name} 106 | * @module ${3|module} 107 | * 108 | */ 109 | -------------------------------------------------------------------------------- /custom_snippets/mail-custom.snippets: -------------------------------------------------------------------------------- 1 | snippet translations 2 | Hello ${1|user}, 3 | 4 | You have translation templates awaiting review on 5 | https://translations.launchpad.net/${2|project}/${3|series}/+imports 6 | 7 | Are you aware that you can review these yourself? This is a recent 8 | change in Launchpad. 9 | 10 | The process is described here: 11 | https://help.launchpad.net/Translations/YourProject/ImportingTemplates#Manual_review 12 | 13 | (That's just one section of the page; you'll find more useful 14 | information on the rest of the page as well). 15 | 16 | I'll mark your entries as "Needs Information" so that the next person to 17 | look at this won't mail you about them again. The entries were 18 | originally marked "Needs Review," but you can approve them either way. 19 | 20 | 21 | Hope this helps! 22 | 23 | Rick Harding 24 | Launchpad development team 25 | 26 | snippet bmarkuser 27 | Welcome to Bookie on https://bmark.us 28 | 29 | Account details: 30 | username: ${1|username} 31 | password: ${2|password} 32 | api key: ${3|api} 33 | api url: https://bmark.us/${4|username} 34 | 35 | We also encourage you to sign up for our mailing list at: 36 | https://groups.google.com/forum/#!forum/bookie_bookmarks 37 | 38 | and our Twitter account: 39 | http://twitter.com/BookieBmarks 40 | 41 | We post weekly updates and encourage discussion of feature ideas via those 42 | channels. 43 | 44 | All calls to the site are over https. Please don't share your api key with 45 | anyone. It's used to verify you're you via the Chrome plugin and other 46 | automated calls. 47 | 48 | The database is based up twice a day and copied to S3 in case of disaster 49 | or my own stupidity. 50 | 51 | The readable parsing of your bookmarks takes place via a cron job at 4am 52 | very morning. If you've recently imported you should see the readable 53 | content (if available) the next morning. 54 | 55 | We currently support importing from Google Bookmarks and Delicious exports. 56 | Importing from a Chrome or Firefox export does work, however it reads the 57 | folder names in as tags. So be aware of that. 58 | 59 | Documentation on getting started is at: 60 | http://docs.bmark.us 61 | 62 | The Chrome latest development Chrome extension is at: 63 | http://docs.bmark.us/bookie_chrome.crx 64 | 65 | If you have any issues feel free to join #bookie on freenode.net or report 66 | the issue or idea on http://github.com/mitechie/Bookie/issues. 67 | -------------------------------------------------------------------------------- /custom_snippets/python-custom.snippets: -------------------------------------------------------------------------------- 1 | # dump out via log.debug 2 | snippet dmp 3 | log.debug(${1|somevar}) 4 | 5 | snippet testfile 6 | """${1|Dockblock}""" 7 | from unittest import TestCase 8 | 9 | class Test${2|class}(TestCase): 10 | """${3|TestGroup}""" 11 | 12 | def setUp(self): 13 | """Setup Tests""" 14 | pass 15 | 16 | def tearDown(self): 17 | """Tear down each test""" 18 | pass 19 | 20 | snippet testclass 21 | class Test${1|class}(TestCase): 22 | """${2|TestGroup}""" 23 | 24 | def setUp(self): 25 | """Setup Tests""" 26 | pass 27 | 28 | def tearDown(self): 29 | """Tear down each test""" 30 | pass 31 | 32 | 33 | snippet test 34 | def test_${1|method}(self): 35 | """${2|description}""" 36 | 37 | assert ${3|Something}, "${4|Output}" 38 | 39 | snippet ass 40 | assert ${1|condition}, "${2|explanation}" 41 | 42 | snippet pdb 43 | import pdb; pdb.set_trace() 44 | 45 | snippet ipdb 46 | import ipdb; ipdb.set_trace() 47 | 48 | snippet gu 49 | getUtility(I${1|interface}) 50 | -------------------------------------------------------------------------------- /custom_snippets/rst-custom.snippets: -------------------------------------------------------------------------------- 1 | snippet slide 2 | ${1|title} 3 | =================================== 4 | 5 | ${2|content} 6 | 7 | .. raw:: pdf 8 | 9 | Transition Dissolve 1 10 | PageBreak 11 | 12 | 13 | snippet image 14 | .. image:: {1|image} 15 | :height: {2|height}px 16 | :width: {3|height}px 17 | :alt: {4|alt} 18 | :align: center 19 | -------------------------------------------------------------------------------- /install.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | """ Install the files needed for this config to operate on the user's system 3 | correctly""" 4 | 5 | import os 6 | import subprocess 7 | 8 | # command to run: 9 | # ln -s /home/rharding/configs/vim/vimrc ~/.vimrc 10 | # ln -s /home/rharding/configs/vim/vim ~/.vim 11 | 12 | 13 | CONFIG_FILES = ['.vimrc', '.vim'] 14 | HOME_PATH = os.path.expanduser('~') 15 | 16 | 17 | def removefile(filename): 18 | removing_link = "%s/%s" % (HOME_PATH, filename) 19 | ret = subprocess.call(["rm", "-rf", removing_link]) 20 | print "%s is the status code for removing %s" % (ret, removing_link) 21 | 22 | return 23 | 24 | 25 | def linkfile(filename): 26 | link_location = "%s/%s" % (HOME_PATH, filename) 27 | is_located = "%s" % (os.path.abspath(filename)) 28 | 29 | ret = subprocess.call(["ln", "-s", is_located, link_location]) 30 | print "%s is the status code for linking %s to %s" % (ret, 31 | is_located, 32 | link_location) 33 | return 34 | 35 | 36 | def empty_bundles(): 37 | """Need to clear out the bundles to make this reusable""" 38 | subprocess.call('rm -rf bundle/*', shell=True) 39 | 40 | 41 | def remove_bundles(): 42 | """Remove the bundle dir from the .vim dir""" 43 | subprocess.call('rm -rf $HOME/.vim/bundle', shell=True) 44 | 45 | 46 | def install_bundles(): 47 | """Read bundles file and git clone each repo into .vim/bundle""" 48 | bundle_list = open('bundle_list') 49 | git_cmd = '/usr/bin/git clone {0} $HOME/configs/vim/bundle/{1}' 50 | for b in bundle_list: 51 | if not b.startswith('#'): 52 | dirname_idx = b.rfind('/') + 1 53 | dirname = b[dirname_idx:].strip() 54 | subprocess.call(git_cmd.format(b.strip(), dirname), shell=True) 55 | 56 | # and finally link to the .vim/bundle dir 57 | link_location = "%s/%s" % (HOME_PATH, '.vim/bundle') 58 | is_located = "%s" % (os.path.abspath('bundle')) 59 | 60 | ret = subprocess.call(["cp", "-r", is_located, link_location]) 61 | print "{0} is the status code for linking {1} to {2}".format(ret, 62 | is_located, link_location) 63 | return 64 | 65 | 66 | def fix_xmledit(): 67 | """In order xmledit in html you need to link the file to html.vim""" 68 | xmledit_path = "$HOME/.vim/bundle/xmledit.git/ftplugin" 69 | xml = os.path.join(xmledit_path, 'xml.vim') 70 | html = os.path.join(xmledit_path, 'html.vim') 71 | mako = os.path.join(xmledit_path, 'mako.vim') 72 | 73 | print xml 74 | print html 75 | print mako 76 | subprocess.call('ln -s {0} {1}'.format(xml, html), shell=True) 77 | subprocess.call('ln -s {0} {1}'.format(xml, mako), shell=True) 78 | 79 | 80 | def copy_custom_snippets(): 81 | """We need to add our custom snippets after the plugin is downloaded/setup 82 | 83 | """ 84 | import glob, shutil, os 85 | copy_to = os.path.expanduser('~/.vim/bundle/snipmate.vim.git/snippets') 86 | for file in glob.glob("custom_snippets/*.snippets"): 87 | shutil.copy(file, copy_to) 88 | 89 | 90 | for conf_file in CONFIG_FILES: 91 | removefile(conf_file) 92 | linkfile(conf_file) 93 | 94 | empty_bundles() 95 | remove_bundles() 96 | install_bundles() 97 | fix_xmledit() 98 | copy_custom_snippets() 99 | -------------------------------------------------------------------------------- /vimsync.sh: -------------------------------------------------------------------------------- 1 | #! /bin/zsh 2 | 3 | # add to ~/bin: ln -s ~/configs/pyvim/vimsync.sh ~/bin/vimsync.sh 4 | 5 | # Sync my vim config to a remote host specified. 6 | # Steps: 7 | # 1. cd ~/configs/pyvim 8 | # 2. git co portable 9 | # 3. rsync -avz --delete -e ssh ~/configs/pyvim dc:~ 10 | # 4. ln -s vim/vim .vim 11 | # 5. ln -s vim/.vimrc .vimrc 12 | 13 | # Notes: 14 | # Using a git branch since some stuff I run locally won't be on remote hosts 15 | # This setups the files in a directory on the host called vim and then it 16 | # symlinks the .vimrc and vim directory to the user's home dir 17 | # This currently syncs the git stuff as well, at some point should probably do 18 | # some fancy export to a tmp dir and rsync those files over instead 19 | 20 | VIMCONF="/home/rharding/configs/pyvim" 21 | VIMBRANCH="portable" 22 | 23 | cd $VIMCONF 24 | git checkout $VIMBRANCH 25 | 26 | # get the hostname 27 | if [ $# -ne 1 ] 28 | then 29 | echo "Usage: vimsync HOSTNAME" 30 | return 65 31 | fi 32 | 33 | HOSTNAME=$1 34 | 35 | rsync -avz --delete -e ssh ~/configs/pyvim $HOSTNAME:~/ 36 | 37 | ssh $HOSTNAME 'rm -r ~/.vimrc ~/.vim ; ln -s pyvim/vim .vim && ln -s pyvim/vimrc .vimrc' 38 | 39 | # make sure we restore our local vim config to master 40 | git checkout master 41 | 42 | # @todo move the above into a shell function, setup a list of hosts, and loop 43 | # through them to sync all hosts at once 44 | --------------------------------------------------------------------------------