├── LICENSE ├── README.md ├── autoload └── airline │ └── themes │ └── vimterial.vim ├── colors ├── colors.vim ├── colors_dark.vim ├── syntax │ ├── bash │ │ └── bash.vim │ ├── css │ │ ├── hail2u-vim-css3-syntax.vim │ │ └── juleswang-css.vim │ ├── html │ │ └── othree-html5.vim │ ├── javascript │ │ ├── pangloss-vim-javascript.vim │ │ └── vim-javascript-syntax.vim │ ├── jinja │ │ └── glench-vim-jinja2-syntax.vim │ ├── less │ │ ├── genoma-vim-less.vim │ │ └── groenewege-vim-less.vim │ ├── nerdtree │ │ └── nerdtree.vim │ └── xml │ │ └── xml.vim └── vimterial.vim └── screenshots ├── html.png ├── js1.png ├── js2.png ├── less.png └── py.png /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License 2 | 3 | Copyright (c) 2016 Lars Ruiz 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Vim Vimterial Colorscheme 2 | 3 | A vim color scheme based on [Material Theme](http://equinusocio.github.io/material-theme). Improved for web development. 4 | 5 | Currently, there is no support for terminal vim, however, it should arrive in the future. 6 | 7 | > See also a variation of this color scheme based on atom [vimtom](https://github.com/larsbs/vimtom) 8 | 9 | 10 | ## Target Syntax Highlighting Plugins 11 | 12 | This theme has been designed with the following syntax highlighting plugins in mind: 13 | 14 | * JavaScript: [pangloss/vim-javascript](http://equinusocio.github.io/material-theme) 15 | * JSX: [mxw/vim-jsx](https://github.com/mxw/vim-jsx) 16 | * HTML5: [othree/html5.vim](https://github.com/othree/html5.vim) 17 | * XML: [larsbs/vim-xmll](https://github.com/larsbs/vim-xmll) 18 | * Jinja: [Glench/Vim-Jinja2-Syntax](https://github.com/Glench/Vim-Jinja2-Syntax) 19 | * CSS: [JulesWang/css.vim](https://github.com/JulesWang/css.vim) 20 | * LESS: [genoma/vim-less](https://github.com/genoma/vim-less) 21 | * Handlebars: [mustache/vim-mustache-handlebars](https://github.com/mustache/vim-mustache-handlebars) 22 | 23 | Support for configure and extend the list of supported syntax highlighting plugins is planned. See [colors/syntax/](colors/syntax/) for reference. 24 | 25 | 26 | ## Installation 27 | 28 | ### Vundle (Recommended) 29 | 30 | Installation using [Vundle](https://github.com/VundleVim/Vundle.vim) mentioned for completeness, but it should be similar to the installation of other Vim plugins with whatever installation method you are used to. 31 | 32 | Install [Vundle](https://github.com/VundleVim/Vundle.vim) and add this theme as a plugin to your `.vimrc`: 33 | 34 | ```vim 35 | "... 36 | Plugin 'larsbs/vimterial' 37 | "... 38 | ``` 39 | 40 | Then save the file and run `vim +PluginInstall` 41 | 42 | 43 | ## Screenshots 44 | 45 | ### Javascript 46 | 47 | ![JavaScript screenshot](screenshots/js1.png) 48 | ![JavaScript screenshot](screenshots/js2.png) 49 | 50 | ### HTML 51 | 52 | ![HTML screenshot](screenshots/html.png) 53 | 54 | ### Python 55 | 56 | ![Python screenshot](screenshots/py.png) 57 | 58 | ### LESS 59 | 60 | ![LESS screenshot](screenshots/less.png) 61 | -------------------------------------------------------------------------------- /autoload/airline/themes/vimterial.vim: -------------------------------------------------------------------------------- 1 | " Vim airline theme 2 | " 3 | " This file is part of the vimterial colorschema by 4 | " Lars Ruiz . See full 5 | " LICENSE for details. 6 | " 7 | " Maintainer: Lars Ruiz 8 | " URL: http://github.com/larsbs/vimterial 9 | 10 | 11 | " Normal mode 12 | let s:N1 = [ '#cdd3de' , '#37474f' , 15 , 55 ] 13 | let s:N2 = [ '#cdd3de' , '#607d8b' , 15 , 98 ] 14 | let s:N3 = [ '#cdd3de' , '#182025' , 15 , 233 ] 15 | 16 | " Insert mode 17 | let s:I1 = [ '#263238' , '#82AAFF' , 15 , 33 ] 18 | let s:I2 = [ '#cdd3de' , '#607d8b' , 15 , 39 ] 19 | let s:I3 = [ '#cdd3de' , '#182025' , 15 , 233 ] 20 | 21 | " Visual mode 22 | let s:V1 = [ '#263238' , '#c3e88d' , 233 , 202 ] 23 | let s:V2 = [ '#cdd3de' , '#607d8b' , 233 , 214 ] 24 | let s:V3 = [ '#cdd3de' , '#182025' , 15 , 233 ] 25 | 26 | " Replace mode 27 | let s:R1 = [ '#263238' , '#F07178' , 15 , 196 ] 28 | let s:R2 = [ '#cdd3de' , '#607d8b' , 15 , 203 ] 29 | let s:R3 = [ '#cdd3de' , '#182025' , 15 , 233 ] 30 | 31 | let g:airline#themes#vimterial#palette = {} 32 | let g:airline#themes#vimterial#palette.normal = airline#themes#generate_color_map(s:N1, s:N2, s:N3) 33 | let g:airline#themes#vimterial#palette.insert = airline#themes#generate_color_map(s:I1, s:I2, s:I3) 34 | let g:airline#themes#vimterial#palette.visual = airline#themes#generate_color_map(s:V1, s:V2, s:V3) 35 | let g:airline#themes#vimterial#palette.replace = airline#themes#generate_color_map(s:R1, s:R2, s:R3) 36 | 37 | " Inactive mode 38 | let s:IN1 = [ '#9e9e9e' , '#626262' , 247 , 241 ] 39 | let s:IN2 = [ '#cdd3de' , '#182025' , 15 , 233 ] 40 | 41 | let s:IA = [ s:IN1[1] , s:IN2[1] , s:IN1[3] , s:IN2[3] , '' ] 42 | let g:airline#themes#vimterial#palette.inactive = airline#themes#generate_color_map(s:IA, s:IA, s:IA) 43 | 44 | " CtrlP 45 | if !get(g:, 'loaded_ctrlp', 0) 46 | finish 47 | endif 48 | 49 | let s:CP1 = [ '#cdd3de' , '#37474f' , 15 , 55 ] 50 | let s:CP2 = [ '#cdd3de' , '#607d8b' , 15 , 98 ] 51 | let s:CP3 = [ '#37474f' , '#cdd3de' , 55 , 15 ] 52 | 53 | let g:airline#themes#vimterial#palette.ctrlp = airline#extensions#ctrlp#generate_color_map(s:CP1, s:CP2, s:CP3) 54 | 55 | " Tabline 56 | let g:airline#themes#vimterial#palette.tabline = { 57 | \ 'airline_tab': [ '#cdd3de' , '#37474f' , 15 , 55 , '' ], 58 | \ 'airline_tabsel': [ '#cdd3de' , '#607d8b' , 15 , 98 , '' ], 59 | \ 'airline_tabtype': [ '#cdd3de' , '#607d8b' , 15 , 98 , '' ], 60 | \ 'airline_tabfill': [ '#cdd3de' , '#182025' , 15 , 233 , '' ], 61 | \ 'airline_tabmod': [ '#263238' , '#F07178' , 15 , 33 , '' ] 62 | \ } 63 | -------------------------------------------------------------------------------- /colors/colors.vim: -------------------------------------------------------------------------------- 1 | " Vim color file 2 | " 3 | " This file is part of the vimterial colorscheme by 4 | " Lorenzo Ruiz . See full 5 | " LICENSE for details. 6 | " 7 | " Maintainer: Lorenzo Ruiz 8 | " URL: https://github.com/larsbs/vimterial 9 | 10 | 11 | " COLORS "{{{ 12 | " ======= 13 | let g:none = 'NONE' 14 | let g:ignore = 'ignore' 15 | let g:testing = '#CDFF00' 16 | 17 | let g:darkest_grey_blue = '#1e282d' 18 | let g:darker_grey_blue = '#263238' 19 | let g:dark_grey_blue = '#37474f' 20 | let g:grey_blue = '#546e7a' 21 | let g:light_grey_blue = '#c0c5ce' 22 | let g:lighter_grey_blue = '#cdd3de' 23 | 24 | let g:accent_teal = '#80cbc4' 25 | let g:search_yellow = '#f8e71c' 26 | 27 | let g:light_blue = '#82b1ff' 28 | let g:soft_red = '#f77669' 29 | let g:red = '#FD2B45' 30 | let g:dark_soft_red = '#802920' 31 | let g:light_red = '#FF6775' 32 | let g:soft_green = '#c3e88d' 33 | let g:soft_violet = '#c792ea' 34 | let g:soft_lime_green = '#d9f5dd' 35 | let g:soft_orange = '#ffcb6b' 36 | 37 | let g:pmenu_bg = '#1e282d' " PMenu background 38 | " }}} 39 | -------------------------------------------------------------------------------- /colors/colors_dark.vim: -------------------------------------------------------------------------------- 1 | " Vim color file 2 | " 3 | " This file is part of the vimterial colorscheme by 4 | " Lorenzo Ruiz . See full 5 | " LICENSE for details. 6 | " 7 | " Maintainer: Lorenzo Ruiz 8 | " URL: https://github.com/larsbs/vimterial 9 | 10 | 11 | " COLORS "{{{ 12 | " ======= 13 | let g:none = 'NONE' 14 | let g:ignore = 'ignore' 15 | let g:testing = '#CDFF00' 16 | 17 | let g:darkest_grey_blue = '#1e282d' 18 | let g:darker_grey_blue = '#263238' 19 | let g:dark_grey_blue = '#37474f' 20 | let g:grey_blue = '#546e7a' 21 | let g:light_grey_blue = '#B2CCD6' 22 | let g:lighter_grey_blue = '#EEFFFF' 23 | 24 | let g:teal = '#009688' 25 | let g:accent_teal = '#73d1c8' 26 | let g:search_yellow = '#f8e71c' 27 | 28 | let g:light_blue = '#82AAFF' 29 | let g:soft_red = '#F07178' 30 | let g:red = '#FF5370' 31 | let g:dark_soft_red = '#802920' 32 | let g:light_red = '#F07178' 33 | let g:soft_green = '#C3E88D' 34 | let g:soft_violet = '#C792EA' 35 | let g:soft_lime_green = '#d9f5dd' 36 | let g:soft_orange = '#FFCB6B' 37 | let g:light_orange = '#FFE082' 38 | 39 | let g:pmenu_bg = '#1e282d' " PMenu background 40 | " }}} 41 | -------------------------------------------------------------------------------- /colors/syntax/bash/bash.vim: -------------------------------------------------------------------------------- 1 | " Vim color file 2 | " 3 | " This file is part of the vimterial colorscheme by 4 | " Lorenzo Ruiz . See full 5 | " LICENSE for details. 6 | " 7 | " Maintainer: Lorenzo Ruiz 8 | " URL: https://github.com/larsbs/vimterial 9 | 10 | 11 | " SH Highlighting "{{{ 12 | " =============== 13 | " Statements 14 | hi shStatement guifg=#c792ea gui=none ctermbg=none 15 | hi shTestOpr guifg=#d9f5dd gui=none ctermbg=none 16 | hi link shVariable Function 17 | " }}} 18 | -------------------------------------------------------------------------------- /colors/syntax/css/hail2u-vim-css3-syntax.vim: -------------------------------------------------------------------------------- 1 | " Vim color file 2 | " 3 | " This file is part of the vimterial colorscheme by 4 | " Lorenzo Ruiz . See full 5 | " LICENSE for details. 6 | " 7 | " Maintainer: Lorenzo Ruiz 8 | " URL: https://github.com/larsbs/vimterial 9 | 10 | 11 | " CSS Highlighting "{{{ 12 | " ================ 13 | " Common 14 | Hi cssProp g:accent_teal g:ignore 15 | "hi cssAttr 16 | hi link cssTagName Statement 17 | "hi cssIdentifier 18 | "hi cssDefinition 19 | Hi cssClassName g:soft_green g:ignore 20 | hi link cssPseudoClass cssClassName 21 | hi link cssPseudoClassId cssClassName 22 | hi link cssNoise Normal 23 | " Hail2u Plugin 24 | "hi cssUIAttr 25 | "hi cssBoxProp 26 | " }}} 27 | -------------------------------------------------------------------------------- /colors/syntax/css/juleswang-css.vim: -------------------------------------------------------------------------------- 1 | " Vim color file 2 | " 3 | " This file is part of the vimterial colorscheme by 4 | " Lorenzo Ruiz . See full 5 | " LICENSE for details. 6 | " 7 | " Maintainer: Lorenzo Ruiz 8 | " URL: https://github.com/larsbs/vimterial 9 | 10 | 11 | " CSS Highlighting "{{{ 12 | " ================ 13 | " Common 14 | Hi cssProp g:accent_teal g:ignore 15 | "hi cssAttr 16 | hi link cssTagName Statement 17 | "hi cssIdentifier 18 | "hi cssDefinition 19 | Hi cssClassName g:soft_green g:ignore 20 | hi link cssPseudoClass cssClassName 21 | hi link cssPseudoClassId cssClassName 22 | hi link cssNoise Normal 23 | " JulesWang plugin 24 | hi link cssBraces Normal 25 | " }}} 26 | -------------------------------------------------------------------------------- /colors/syntax/html/othree-html5.vim: -------------------------------------------------------------------------------- 1 | " Vim color file 2 | " 3 | " This file is part of the vimterial colorscheme by 4 | " Lorenzo Ruiz . See full 5 | " LICENSE for details. 6 | " 7 | " Maintainer: Lorenzo Ruiz 8 | " URL: https://github.com/larsbs/vimterial 9 | 10 | 11 | " HTML Highlighting "{{{ 12 | " ================= 13 | Hi htmlTag g:accent_teal g:ignore 14 | Hi htmlTagName g:light_red g:ignore 15 | 16 | hi link htmlEndTag htmlTag 17 | 18 | hi link htmlArg Normal 19 | Hi htmlArg g:soft_orange g:ignore 20 | hi htmlArg gui=italic 21 | 22 | hi link htmlTagN htmlTagName 23 | hi link htmlSpecialTagName htmlTagName 24 | " }}} 25 | -------------------------------------------------------------------------------- /colors/syntax/javascript/pangloss-vim-javascript.vim: -------------------------------------------------------------------------------- 1 | " Vim color file 2 | " 3 | " This file is part of the vimterial colorscheme by 4 | " Lorenzo Ruiz . See full 5 | " LICENSE for details. 6 | " 7 | " Maintainer: Lorenzo Ruiz 8 | " URL: https://github.com/larsbs/vimterial 9 | 10 | 11 | " JavaScript Highlighting "{{{ 12 | " ======================= 13 | hi link jsSpecial Statement 14 | 15 | hi link jsFuncArgRest jsSpecial 16 | hi link jsDocTags jsSpecial 17 | hi link jsStatic jsSpecial 18 | hi link jsSuper jsSpecial 19 | hi link jsPrototype jsSpecial 20 | hi link jsArgsObj jsSpecial 21 | "hi link jsTemplateVar jsSpecial 22 | hi link jsExceptions jsSpecial 23 | hi link jsFutureKeys jsSpecial 24 | hi link jsBuiltins jsSpecial 25 | hi link jsDecorator jsSpecial 26 | hi link jsHtmlEvents jsSpecial 27 | 28 | hi link jsObjectKey String 29 | 30 | hi link jsNull Constant 31 | hi link jsUndefined Constant 32 | 33 | hi link jsFunctionKey Function 34 | hi link jsFuncCall Function 35 | hi link jsFuncAssignExpr Function 36 | hi link jsFuncAssignIdent Function 37 | 38 | hi link jsClassProperty Normal 39 | 40 | Hi jsGlobalObjects g:soft_orange g:ignore 41 | Hi jsThis g:light_red g:ignore 42 | hi jsThis gui=italic 43 | " }}} 44 | -------------------------------------------------------------------------------- /colors/syntax/javascript/vim-javascript-syntax.vim: -------------------------------------------------------------------------------- 1 | " Vim color file 2 | " 3 | " This file is part of the vimterial colorscheme by 4 | " Lorenzo Ruiz . See full 5 | " LICENSE for details. 6 | " 7 | " Maintainer: Lorenzo Ruiz 8 | " URL: https://github.com/larsbs/vimterial 9 | 10 | 11 | " JavaScript Highlighting "{{{ 12 | " ======================= 13 | " Statement Keywords 14 | Hi javaScriptMessage g:accent_teal g:ignore 15 | hi link javaScriptNull Constant 16 | hi link javaScriptEventListenerKeywords javaScriptMessage 17 | Hi javaScriptGlobalObjects g:soft_orange g:ignore 18 | " Function and arguments highlighting 19 | hi link javaScriptFuncKeyword Identifier 20 | hi link javaScriptFuncDef Function 21 | hi link javaScriptFuncExp javaScriptFuncDef 22 | hi link javaScriptFunctionKey javaScriptFuncDef 23 | " Braces, Parens, symbols, colons 24 | hi link javaScriptBraces Normal 25 | hi link javaScriptParens Normal 26 | hi link javaScriptOpSymbols Operator 27 | hi link javaScriptEndColons Normal 28 | hi link javaScriptLogicSymbols Operator 29 | " }}} 30 | -------------------------------------------------------------------------------- /colors/syntax/jinja/glench-vim-jinja2-syntax.vim: -------------------------------------------------------------------------------- 1 | " Vim color file 2 | " 3 | " This file is part of the vimterial colorscheme by 4 | " Lorenzo Ruiz . See full 5 | " LICENSE for details. 6 | " 7 | " Maintainer: Lorenzo Ruiz 8 | " URL: https://github.com/larsbs/vimterial 9 | 10 | 11 | " Jinja Highlighting "{{{ 12 | " ================== 13 | " Statements 14 | hi link jinjaStatement Statement 15 | Hi jinjaVariable g:light_blue g:ignore 16 | hi link jinjaString String 17 | " }}} 18 | -------------------------------------------------------------------------------- /colors/syntax/less/genoma-vim-less.vim: -------------------------------------------------------------------------------- 1 | " Vim color file 2 | " 3 | " This file is part of the vimterial colorscheme by 4 | " Lorenzo Ruiz . See full 5 | " LICENSE for details. 6 | " 7 | " Maintainer: Lorenzo Ruiz 8 | " URL: https://github.com/larsbs/vimterial 9 | 10 | 11 | " LESS Highlighting "{{{ 12 | " ================= 13 | hi lessAmpersand guifg=#d9f5dd gui=none ctermbg=none 14 | hi lessClassChar guifg=#c3e88d gui=none ctermbg=none 15 | hi lessFunction guifg=#c3e88d gui=none ctermbg=none 16 | " }}} 17 | -------------------------------------------------------------------------------- /colors/syntax/less/groenewege-vim-less.vim: -------------------------------------------------------------------------------- 1 | " Vim color file 2 | " 3 | " This file is part of the vimterial colorscheme by 4 | " Lorenzo Ruiz . See full 5 | " LICENSE for details. 6 | " 7 | " Maintainer: Lorenzo Ruiz 8 | " URL: https://github.com/larsbs/vimterial 9 | 10 | 11 | " LESS Highlighting "{{{ 12 | " ================= 13 | hi lessVariable guifg=#ff5370 gui=none ctermbg=none 14 | hi lessDefinition guifg=#80cbc4 gui=none ctermbg=none 15 | hi lessClass guifg=#c3e88d gui=none ctermbg=none 16 | hi lessAmpersandChar guifg=#d9f5dd gui=none ctermbg=none 17 | " }}} 18 | -------------------------------------------------------------------------------- /colors/syntax/nerdtree/nerdtree.vim: -------------------------------------------------------------------------------- 1 | " Vim color file 2 | " 3 | " This file is part of the vimterial colorscheme by 4 | " Lorenzo Ruiz . See full 5 | " LICENSE for details. 6 | " 7 | " Maintainer: Lorenzo Ruiz 8 | " URL: https://github.com/larsbs/vimterial 9 | 10 | 11 | " NERDTree Highlighting "{{{ 12 | " ===================== 13 | " Highlighting for directory nodes and file nodes 14 | hi NERDTreeDirSlash guifg=#afbdc4 gui=none ctermbg=none 15 | hi NERDTreeDir guifg=#afbdc4 gui=bold ctermbg=none 16 | hi NERDTreeUp guifg=#ff0000 gui=none ctermbg=none 17 | hi NERDTreeFile guifg=#607d8b gui=none ctermbg=none 18 | hi NERDTreeCWD guifg=#80cbc4 gui=none ctermbg=none 19 | hi NERDTreeOpenable guifg=#80cbc4 gui=none ctermbg=none 20 | hi NERDTreeClosable guifg=#80cbc4 gui=none ctermbg=none 21 | " }}} 22 | -------------------------------------------------------------------------------- /colors/syntax/xml/xml.vim: -------------------------------------------------------------------------------- 1 | " Vim color file 2 | " 3 | " This file is part of the vimterial colorscheme by 4 | " Lorenzo Ruiz . See full 5 | " LICENSE for details. 6 | " 7 | " Maintainer: Lorenzo Ruiz 8 | " URL: https://github.com/larsbs/vimterial 9 | 10 | 11 | " XML Highlighting "{{{ 12 | " ================= 13 | hi link xmlTag htmlTag 14 | hi link xmlEqual htmlTag 15 | 16 | hi link xmlTagName htmlTagName 17 | hi link xmlEndTag htmlTagName 18 | 19 | hi link xmlAttrib htmlArg 20 | " }}} 21 | -------------------------------------------------------------------------------- /colors/vimterial.vim: -------------------------------------------------------------------------------- 1 | " Vim color file 2 | " 3 | " This file is part of the vimterial colorscheme by 4 | " Lorenzo Ruiz . See full 5 | " LICENSE for details. 6 | " 7 | " Maintainer: Lorenzo Ruiz 8 | " URL: httpg://github.com/larsbs/vimterial 9 | 10 | 11 | " CONFIGURATION "{{{ 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="vimterial" 22 | " }}} 23 | 24 | " UTILS "{{{ 25 | " ============= 26 | function! RemoveNewlines(string) 27 | return substitute(a:string, '\n', '', 'g') 28 | endfunction 29 | 30 | " Custom Hi command that accepts colors as variables. 31 | " Usage -> Hi [group] [guifg_color] [guibg_colors] 32 | command! -nargs=+ Hi call CustomHighlighter() 33 | function! CustomHighlighter(name, ...) 34 | let colour_order = ['guifg', 'guibg'] 35 | let command = 'hi! ' . a:name 36 | if (len(a:000) < 1) || (len(a:000) > (len(colour_order))) 37 | echoerr "No colour or too many colours specified" 38 | else 39 | for i in range(0, len(a:000) - 1) 40 | " Extract the color from the variable. If we don't do 41 | " this, then, the variable is parsed as a string and 42 | " we get a color asignation error. 43 | redir => g:color 44 | silent exe 'echo '.a:000[i] 45 | redir END 46 | let g:color = RemoveNewlines(g:color) 47 | if g:color != 'ignore' 48 | let command .= ' ' . colour_order[i] . '=' . g:color 49 | endif 50 | endfor 51 | exe command 52 | endif 53 | endfunc 54 | " }}} 55 | 56 | " COLORS "{{{ 57 | " ======= 58 | execute 'source ' . expand(":p:h") . "/colors_dark.vim" 59 | " }}} 60 | 61 | " GENERAL "{{{ 62 | " ======= 63 | Hi Normal g:lighter_grey_blue g:darker_grey_blue 64 | Hi Noise g:accent_teal g:darker_grey_blue 65 | "Hi ColorColumn g:testing g:testing 66 | Hi Cursor g:darker_grey_blue g:light_grey_blue 67 | "hi CursorIM 68 | Hi CursorColumn g:ignore g:darkest_grey_blue 69 | Hi CursorLine g:ignore g:darkest_grey_blue 70 | Hi Directory g:accent_teal g:ignore 71 | Hi DiffAdd g:soft_green g:darkest_grey_blue 72 | hi DiffAdd gui=bold 73 | Hi DiffChange g:soft_orange g:darkest_grey_blue 74 | hi DiffChange gui=bold 75 | Hi DiffDelete g:soft_red g:darkest_grey_blue 76 | Hi DiffText g:light_blue g:darkest_grey_blue 77 | Hi ErrorMsg g:darker_grey_blue g:soft_red 78 | hi ErrorMsg gui=none 79 | Hi VertSplit g:darker_grey_blue g:dark_grey_blue 80 | Hi Folded g:darker_grey_blue g:grey_blue 81 | Hi FoldedColumn g:darker_grey_blue g:grey_blue 82 | Hi SignColumn g:dark_grey_blue g:ignore 83 | Hi IncSearch g:search_yellow g:darkest_grey_blue 84 | Hi LineNr g:dark_grey_blue g:ignore 85 | Hi MatchParen g:darkest_grey_blue g:grey_blue 86 | Hi ModeMsg g:light_grey_blue g:none 87 | "Hi MoreMsg g:testing g:testing 88 | Hi NonText g:dark_grey_blue g:ignore 89 | Hi Question g:light_grey_blue g:none 90 | hi Question gui=none 91 | Hi Search g:darkest_grey_blue g:search_yellow 92 | "Hi SpecialKey g:testing g:testing 93 | "Hi StatusLine g:testing g:testing 94 | "Hi StatusLineNC g:testing g:testing 95 | Hi Title g:light_blue g:ignore 96 | Hi Visual g:darker_grey_blue g:light_grey_blue 97 | "Hi VisualNOS g:testing g:testing 98 | Hi WarningMsg g:soft_red g:ignore 99 | Hi WildMenu g:testing g:testing 100 | Hi Menu g:testing g:testing 101 | Hi Scrollbar g:testing g:testing 102 | Hi Tooltip g:testing g:testing 103 | Hi Pmenu g:lighter_grey_blue g:pmenu_bg 104 | Hi PmenuSel g:pmenu_bg g:light_grey_blue 105 | Hi PmenuSbar g:ignore g:grey_blue 106 | Hi PmenuThumb g:ignore g:lighter_grey_blue 107 | " }}} 108 | 109 | 110 | " Syntax Highlighting Groups (see :he group-name) 111 | 112 | " COMMENTS "{{{ 113 | " ======== 114 | " Any comment 115 | Hi Comment g:grey_blue g:ignore 116 | hi comment gui=italic 117 | " }}} 118 | 119 | " CONSTANTS "{{{ 120 | " ========= 121 | " Any constant 122 | Hi Constant g:soft_red g:ignore 123 | " A string constant 124 | Hi String g:soft_green g:ignore 125 | " }}} 126 | 127 | " IDENTIFIERS "{{{ 128 | " =========== 129 | " Any variable name 130 | Hi Identifier g:soft_violet g:ignore 131 | hi Identifier gui=none 132 | " Function name (also: methods for classes) 133 | Hi Function g:light_blue g:ignore 134 | " }}} 135 | 136 | " STATEMENTS "{{{ 137 | " ========== 138 | " Any statement 139 | Hi Statement g:soft_violet g:ignore 140 | hi Statement gui=none 141 | " if, then, else, endif, switch, etc. 142 | "hi Conditional 143 | " for, do, while, etc. 144 | "hi Repeat 145 | " case, default, etc. 146 | "hi Label 147 | " sizeof, +, *, etc. 148 | Hi Operator g:soft_lime_green g:ignore 149 | " Any other keyword 150 | "hi Keyword 151 | " Try, catch, throw 152 | "hi Exception 153 | " }}} 154 | 155 | " PREPROCS "{{{ 156 | " ======== 157 | " Generic preprocessor 158 | Hi PreProc g:soft_violet g:ignore 159 | " Preprocessor #include 160 | "hi Include 161 | " Preprocessor #define 162 | "hi Define 163 | " Same as define 164 | "hi Macro 165 | " Preprocessor #if, #else, #endif, etc. 166 | "hi PreCondit 167 | " }}} 168 | 169 | " TYPES "{{{ 170 | " ===== 171 | " int, long, char, etc. 172 | Hi Type g:soft_violet g:ignore 173 | hi Type gui=none 174 | " static, register, volatile, etc. 175 | "hi StorageClass 176 | " struct, union, enum, etc. 177 | "hi Structure 178 | " a typedef 179 | "hi Typedef 180 | " }}} 181 | 182 | " SPECIALS "{{{ 183 | " ======== 184 | " Any special symbol (ex: [, ], (, ), etc.) 185 | Hi Special g:lighter_grey_blue g:ignore 186 | " Special character in a constant (ex: \n, %s, etc.) 187 | Hi SpecialChar g:accent_teal g:ignore 188 | " You can use CTRL-] on this 189 | "hi Tag 190 | " Character that needs attention 191 | "hi Delimiter 192 | " Special things inside a comment 193 | "hi SpecialComment 194 | " Debugging statements 195 | "hi Debug 196 | " }}} 197 | 198 | " UNDERLINEDS "{{{ 199 | " =========== 200 | " Text that stands out, HTML links 201 | "hi Underlined 202 | " }}} 203 | 204 | " IGNORES "{{{ 205 | " ======= 206 | " Left blank, hidden hl-Ignore 207 | "hi Ignore 208 | " }}} 209 | 210 | " ERRORS "{{{ 211 | " ====== 212 | " Any erroneous construct 213 | "hi Error 214 | " }}} 215 | 216 | " TODOS "{{{ 217 | " ===== 218 | " Anything that needs extra attention; mostly the kewords 219 | " TODO FIXME and XXX 220 | Hi Todo g:accent_teal g:none 221 | hi Todo gui=bold 222 | " }}} 223 | 224 | 225 | " JavaScript Highlighting "{{{ 226 | " ======================= 227 | execute 'source ' . expand(":p:h") . "/syntax/javascript/pangloss-vim-javascript.vim" 228 | " }}} 229 | " HTML Highlighting "{{{ 230 | " ================= 231 | execute 'source ' . expand(":p:h") . "/syntax/html/othree-html5.vim" 232 | " }}} 233 | " XML Highlighting "{{{ 234 | " ================= 235 | execute 'source ' . expand(":p:h") . "/syntax/xml/xml.vim" 236 | " }}} 237 | " Jinja Highlighting "{{{ 238 | " ================== 239 | execute 'source ' . expand(":p:h") . "/syntax/jinja/glench-vim-jinja2-syntax.vim" 240 | " }}} 241 | " CSS Highlighting "{{{ 242 | " ================ 243 | execute 'source ' . expand(":p:h") . "/syntax/css/juleswang-css.vim" 244 | " }}} 245 | " LESS Highlighting "{{{ 246 | " ================= 247 | execute 'source ' . expand(":p:h") . "/syntax/less/genoma-vim-less.vim" 248 | " }}} 249 | " SH Highlighting "{{{ 250 | " =============== 251 | execute 'source ' . expand(":p:h") . "/syntax/bash/bash.vim" 252 | " }}} 253 | " NERDTree Highlighting "{{{ 254 | " ===================== 255 | execute 'source ' . expand(":p:h") . "/syntax/nerdtree/nerdtree.vim" 256 | " }}} 257 | -------------------------------------------------------------------------------- /screenshots/html.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/larsbs/vimterial/0457b7f4695162419d388ba6b635abac8f8e9289/screenshots/html.png -------------------------------------------------------------------------------- /screenshots/js1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/larsbs/vimterial/0457b7f4695162419d388ba6b635abac8f8e9289/screenshots/js1.png -------------------------------------------------------------------------------- /screenshots/js2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/larsbs/vimterial/0457b7f4695162419d388ba6b635abac8f8e9289/screenshots/js2.png -------------------------------------------------------------------------------- /screenshots/less.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/larsbs/vimterial/0457b7f4695162419d388ba6b635abac8f8e9289/screenshots/less.png -------------------------------------------------------------------------------- /screenshots/py.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/larsbs/vimterial/0457b7f4695162419d388ba6b635abac8f8e9289/screenshots/py.png --------------------------------------------------------------------------------