" " ___ " " " - -_, ,, |\ " " " ( ~/|| || \\ ' " " " ( / || || / \\ \\ \\ \\ \\/\\ " " " \/==|| || || || || || || || || " " " /_ _|| || || || || || || || || " " " ( - \\, \\ \\/ \\/\\ \\ \\ \\ " " AUTHOR: Alessandro Yorba " SCRIPT URL: https://github.com/AlessandroYorba/Alduin " UPDATED: October 16th, 2017 " CHANGES MADE: Revised Search HL to Orange Background " MAINTAINER: Alessandro Yorba https://github.com/AlessandroYorba " Arch Linux Package: George Angelopoulos https://github.com/lathan " Design Inspiration: Karolis Koncevičius https://github.com/KKPMW " Design Inspiration: Romain Lafourcade https://github.com/romainl " UI Contributions: jiyyti https://github.com/jiyyt " Airline Theme: Danilo Augusto https://github.com/danilo-augusto " SUPPORTED ENVIRONMENTS: " 256 color terminals, Gui versions of vim, and Termguicolors versions of vim " INSTALL INSTRUCTIONS: " Unix users, place alduin.vim in ~/.vim/colors " Windows users, place alduin.vim in ~\vimfiles\colors " SETUP AND CUSTOMIZATION: " To enable Alduin as your default colorscheme add the following to your .vimrc: " colorscheme alduin " There are several settings for Alduin that you can enable from within your .vimrc " Here are some descriptions and examples on how to enable them: " " "Darker Background " let g:alduin_Shout_Dragon_Aspect = 1 " colorscheme alduin " "Black Background " let g:alduin_Shout_Become_Ethereal = 1 " colorscheme alduin " "Automatically cycles thru modes depending on time of night " let g:alduin_Contract_Vampirism = 1 " colorscheme alduin " "Dark Red Highlighting " let g:alduin_Shout_Fire_Breath = 1 " colorscheme alduin " "Remove background highlight from Strings " let g:alduin_Shout_Animal_Allegiance = 1 " colorscheme alduin " "Removes block MatchParen adds underline " let g:alduin_Shout_Aura_Whisper = 1 " colorscheme alduin " MATCHING TERMINAL: "-------------------------------------|----------------------------------------- " BASIC HEX | BASIC HEX | "-------------------------------------|----------------------------------------- " Foreground #dfdfaf | Selection #af8787 | " Background #1c1c1c | Selected Text #dfdfaf | " Bold #ffffff | | " Links #af0000 | | "-------------------------------------|----------------------------------------- "-------------------------------------|----------------------------------------- " CURSOR HEX | "-------------------------------------|----------------------------------------- " Cursor #dfdfaf | | " Cursor Text #1c1c1c | | "-------------------------------------|----------------------------------------- "-------------------------------------|----------------------------------------- " NORMAL HEX XTERM | BRIGHT HEX XTERM | "-------------------------------------|----------------------------------------- " Black #1c1c1c 0 | brBlack #878787 8 | " Red #af5f5f 1 | brRed #af5f5f 9 | " Green #87875f 2 | brGreen #87875f 10 | " Yellow #af875f 3 | brYellow #af875f 11 | " Blue #878787 4 | brBlue #878787 12 | " Magenta #af8787 5 | brMagenta #af8787 13 | " Cyan #87afaf 6 | brCyan #87afaf 14 | " White #dfdfaf 7 | brWhite #dfdfaf 15 | "-------------------------------------|----------------------------------------- set background=dark highlight clear if exists("syntax_on") syntax reset endif let g:colors_name="alduin" if !exists( "g:alduin_Shout_Aura_Whisper") let g:alduin_Shout_Aura_Whisper = 0 endif if !exists( "g:alduin_Shout_Fire_Breath" ) let g:alduin_Shout_Fire_Breath = 0 endif if !exists("g:alduin_Shout_Animal_Allegiance") let g:alduin_Shout_Animal_Allegiance = 0 endif if !exists("g:alduin_Shout_Dragon_Aspect" ) let g:alduin_Shout_Dragon_Aspect = 0 endif if !exists( "g:alduin_Shout_Become_Ethereal" ) let g:alduin_Shout_Become_Ethereal = 0 endif if !exists( "g:alduin_Contract_Vampirism") let g:alduin_Contract_Vampirism = 0 endif " CONTRACT VAMPIRISM: if g:alduin_Contract_Vampirism let alduin_Hour = strftime("%H") " 7am - 5pm " alduin UI if 7 <= alduin_Hour && alduin_Hour < 17 let g:alduin_Shout_Dragon_Aspect = 0 let g:alduin_Shout_Become_Ethereal = 0 " 5pm - 12am " alduin_Shout_Dragon_Aspect UI elseif 17 <= alduin_Hour && alduin_Hour < 24 let g:alduin_Shout_Dragon_Aspect = 1 let g:alduin_Shout_Become_Ethereal = 0 " 12am - 7am " alduin_Shout_Become_Ethereal UI else let g:alduin_Shout_Dragon_Aspect = 0 let g:alduin_Shout_Become_Ethereal = 1 endif endif " COMMON ALDUIN HIGHLIGHTING: highlight! Function guifg=#875f5f guibg=NONE gui=NONE ctermfg=95 ctermbg=NONE cterm=NONE highlight! StorageClass guifg=#875f5f guibg=NONE gui=NONE ctermfg=95 ctermbg=NONE cterm=NONE highlight! Structure guifg=#875f5f guibg=NONE gui=NONE ctermfg=95 ctermbg=NONE cterm=NONE highlight! Typedef guifg=#875f5f guibg=NONE gui=NONE ctermfg=95 ctermbg=NONE cterm=NONE highlight! htmlArg guifg=#875f5f guibg=NONE gui=NONE ctermfg=95 ctermbg=NONE cterm=NONE highlight! Question guifg=#875f5f guibg=NONE gui=NONE ctermfg=95 ctermbg=NONE cterm=NONE highlight! Statement guifg=#878787 guibg=NONE gui=NONE ctermfg=102 ctermbg=NONE cterm=NONE highlight! htmlStatement guifg=#878787 guibg=NONE gui=NONE ctermfg=102 ctermbg=NONE cterm=NONE highlight! Operator guifg=#878787 guibg=NONE gui=NONE ctermfg=102 ctermbg=NONE cterm=NONE highlight! Label guifg=#878787 guibg=NONE gui=NONE ctermfg=102 ctermbg=NONE cterm=NONE highlight! Conditional guifg=#878787 guibg=NONE gui=NONE ctermfg=102 ctermbg=NONE cterm=NONE highlight! Repeat guifg=#878787 guibg=NONE gui=NONE ctermfg=102 ctermbg=NONE cterm=NONE highlight! Keyword guifg=#878787 guibg=NONE gui=NONE ctermfg=102 ctermbg=NONE cterm=NONE highlight! Exception guifg=#878787 guibg=NONE gui=NONE ctermfg=102 ctermbg=NONE cterm=NONE highlight! VimCommentTitle guifg=#878787 guibg=NONE gui=reverse ctermfg=102 ctermbg=NONE cterm=reverse highlight! Number guifg=#af5f00 guibg=NONE gui=NONE ctermfg=130 ctermbg=NONE cterm=NONE highlight! Character guifg=#af5f00 guibg=NONE gui=NONE ctermfg=130 ctermbg=NONE cterm=NONE highlight! Boolean guifg=#af5f00 guibg=NONE gui=NONE ctermfg=130 ctermbg=NONE cterm=NONE highlight! Float guifg=#af5f00 guibg=NONE gui=NONE ctermfg=130 ctermbg=NONE cterm=NONE highlight! PreProc guifg=#dfaf87 guibg=NONE gui=NONE ctermfg=180 ctermbg=NONE cterm=NONE highlight! MoreMsg guifg=#dfaf87 guibg=NONE gui=NONE ctermfg=180 ctermbg=NONE cterm=NONE highlight! Title guifg=#dfaf87 guibg=NONE gui=NONE ctermfg=180 ctermbg=NONE cterm=NONE highlight! Include guifg=#dfaf87 guibg=NONE gui=NONE ctermfg=180 ctermbg=NONE cterm=NONE highlight! Define guifg=#dfaf87 guibg=NONE gui=NONE ctermfg=180 ctermbg=NONE cterm=NONE highlight! Macro guifg=#dfaf87 guibg=NONE gui=NONE ctermfg=180 ctermbg=NONE cterm=NONE highlight! PreCondit guifg=#dfaf87 guibg=NONE gui=NONE ctermfg=180 ctermbg=NONE cterm=NONE highlight! htmlItalic guifg=#dfaf87 guibg=NONE gui=NONE ctermfg=180 ctermbg=NONE cterm=NONE highlight! cssIdentifier guifg=#dfaf87 guibg=NONE gui=NONE ctermfg=180 ctermbg=NONE cterm=NONE highlight! cssClassName guifg=#dfaf87 guibg=NONE gui=NONE ctermfg=180 ctermbg=NONE cterm=NONE highlight! WildMenu guifg=#dfdfaf guibg=#875f5f gui=NONE ctermfg=187 ctermbg=95 cterm=NONE highlight! Visual guifg=#dfdfaf guibg=#875f5f gui=NONE ctermfg=187 ctermbg=95 cterm=NONE highlight! PmenuSel guifg=#dfdfaf guibg=#875f5f gui=NONE ctermfg=187 ctermbg=95 cterm=NONE highlight! Search guifg=#af5f00 guibg=NONE gui=reverse ctermfg=130 ctermbg=NONE cterm=reverse highlight! Special guifg=#af5f5f guibg=NONE gui=NONE ctermfg=131 ctermbg=NONE cterm=NONE highlight! Directory guifg=#af5f5f guibg=NONE gui=NONE ctermfg=131 ctermbg=NONE cterm=NONE highlight! WarningMsg guifg=#af5f5f guibg=NONE gui=NONE ctermfg=131 ctermbg=NONE cterm=NONE highlight! Error guifg=#af5f5f guibg=#121212 gui=reverse ctermfg=131 ctermbg=233 cterm=reverse highlight! ErrorMsg guifg=#af5f5f guibg=#121212 gui=reverse ctermfg=131 ctermbg=233 cterm=reverse highlight! CursorLineNR guifg=#5f8787 guibg=NONE gui=reverse ctermfg=66 ctermbg=NONE cterm=reverse highlight! ModeMsg guifg=#5f8787 guibg=NONE gui=NONE ctermfg=66 ctermbg=NONE cterm=NONE highlight! Comment guifg=#87875f guibg=NONE gui=NONE ctermfg=101 ctermbg=NONE cterm=NONE highlight! SpecialComment guifg=#87875f guibg=NONE gui=reverse ctermfg=101 ctermbg=NONE cterm=reverse highlight! MatchParen guifg=#dfdfaf guibg=#875f5f gui=NONE ctermfg=187 ctermbg=95 cterm=NONE highlight! Todo guifg=#af5f00 guibg=NONE gui=reverse ctermfg=130 ctermbg=NONE cterm=reverse highlight! IncSearch guifg=#af5f5f guibg=NONE gui=reverse ctermfg=131 ctermbg=NONE cterm=reverse highlight! Underlined guifg=#af5f5f guibg=NONE gui=NONE ctermfg=131 ctermbg=NONE cterm=NONE highlight! Type guifg=#af875f guibg=NONE gui=NONE ctermfg=137 ctermbg=NONE cterm=NONE highlight! Constant guifg=#af8787 guibg=NONE gui=NONE ctermfg=138 ctermbg=NONE cterm=NONE highlight! Identifier guifg=#87afaf guibg=NONE gui=NONE ctermfg=109 ctermbg=NONE cterm=NONE highlight! VisualNOS guifg=NONE guibg=NONE gui=underline ctermfg=NONE ctermbg=NONE cterm=underline highlight! DiffAdd guifg=#87af87 guibg=NONE gui=reverse ctermfg=108 ctermbg=NONE cterm=reverse highlight! DiffChange guifg=#5f5f87 guibg=NONE gui=reverse ctermfg=60 ctermbg=NONE cterm=reverse highlight! DiffText guifg=#8787af guibg=NONE gui=reverse ctermfg=103 ctermbg=NONE cterm=reverse highlight! DiffDelete guifg=#af5f5f guibg=NONE gui=reverse ctermfg=131 ctermbg=NONE cterm=reverse highlight! SpellBad guifg=#ff0000 guibg=NONE gui=undercurl ctermfg=196 ctermbg=NONE cterm=undercurl highlight! SpellLocal guifg=#5f875f guibg=NONE gui=undercurl ctermfg=65 ctermbg=NONE cterm=undercurl highlight! SpellCap guifg=#87afff guibg=NONE gui=undercurl ctermfg=111 ctermbg=NONE cterm=undercurl highlight! SpellRare guifg=#d75f00 guibg=NONE gui=undercurl ctermfg=166 ctermbg=NONE cterm=undercurl " ALDUIN DEFAULT UI: if 1 highlight! Normal guifg=#dfdfaf guibg=#1c1c1c gui=NONE ctermfg=187 ctermbg=234 cterm=NONE highlight! StatusLine guifg=#87875f guibg=#121212 gui=NONE ctermfg=101 ctermbg=233 cterm=NONE highlight! Pmenu guifg=#87875f guibg=#121212 gui=NONE ctermfg=101 ctermbg=233 cterm=NONE highlight! StatusLineNC guifg=#585858 guibg=#121212 gui=NONE ctermfg=240 ctermbg=233 cterm=NONE highlight! CursorLine guifg=NONE guibg=#262626 gui=NONE ctermfg=NONE ctermbg=235 cterm=NONE highlight! ColorColumn guifg=NONE guibg=#262626 gui=NONE ctermfg=NONE ctermbg=235 cterm=NONE highlight! LineNr guifg=#444444 guibg=#121212 gui=NONE ctermfg=238 ctermbg=233 cterm=NONE highlight! VertSplit guifg=#444444 guibg=#121212 gui=NONE ctermfg=238 ctermbg=233 cterm=NONE highlight! Folded guifg=#444444 guibg=#121212 gui=NONE ctermfg=238 ctermbg=233 cterm=NONE highlight! FoldColumn guifg=#87afaf guibg=#1c1c1c gui=NONE ctermfg=109 ctermbg=234 cterm=NONE highlight! String guifg=#ffdf87 guibg=#262626 gui=NONE ctermfg=222 ctermbg=235 cterm=NONE highlight! SignColumn guifg=#87875f guibg=#080808 gui=NONE ctermfg=101 ctermbg=233 cterm=NONE highlight! TabLine guifg=#87875f guibg=#080808 gui=NONE ctermfg=101 ctermbg=233 cterm=NONE highlight! TabLineFill guifg=#87875f guibg=#080808 gui=NONE ctermfg=101 ctermbg=233 cterm=NONE highlight! TabLineSel guifg=#1c1c1c guibg=#87875f gui=NONE ctermfg=234 ctermbg=101 cterm=NONE highlight! PmenuSbar guifg=#121212 guibg=#121212 gui=NONE ctermfg=233 ctermbg=233 cterm=NONE highlight! PmenuThumb guifg=#121212 guibg=#121212 gui=NONE ctermfg=233 ctermbg=233 cterm=NONE highlight! NonText guifg=#303030 guibg=NONE gui=NONE ctermfg=236 ctermbg=NONE cterm=NONE highlight! SpecialKey guifg=#303030 guibg=NONE gui=NONE ctermfg=236 ctermbg=NONE cterm=NONE endif " SHOUT_DRAGON_ASPECT UI: if g:alduin_Shout_Dragon_Aspect highlight! Normal guifg=#dfdfaf guibg=#121212 gui=NONE ctermfg=187 ctermbg=233 cterm=NONE highlight! StatusLine guifg=#87875f guibg=#080808 gui=NONE ctermfg=101 ctermbg=232 cterm=NONE highlight! Pmenu guifg=#87875f guibg=#080808 gui=NONE ctermfg=101 ctermbg=232 cterm=NONE highlight! StatusLineNC guifg=#444444 guibg=#080808 gui=NONE ctermfg=238 ctermbg=232 cterm=NONE highlight! CursorLine guifg=NONE guibg=#1c1c1c gui=NONE ctermfg=NONE ctermbg=234 cterm=NONE highlight! ColorColumn guifg=NONE guibg=#1c1c1c gui=NONE ctermfg=NONE ctermbg=234 cterm=NONE highlight! LineNr guifg=#444444 guibg=#080808 gui=NONE ctermfg=238 ctermbg=232 cterm=NONE highlight! VertSplit guifg=#444444 guibg=#080808 gui=NONE ctermfg=238 ctermbg=232 cterm=NONE highlight! Folded guifg=#444444 guibg=#080808 gui=NONE ctermfg=238 ctermbg=232 cterm=NONE highlight! FoldColumn guifg=#87afaf guibg=#121212 gui=NONE ctermfg=109 ctermbg=233 cterm=NONE highlight! String guifg=#ffdf87 guibg=#1c1c1c gui=NONE ctermfg=222 ctermbg=234 cterm=NONE highlight! SignColumn guifg=#87875f guibg=#080808 gui=NONE ctermfg=101 ctermbg=232 cterm=NONE highlight! TabLine guifg=#87875f guibg=#080808 gui=NONE ctermfg=101 ctermbg=232 cterm=NONE highlight! TabLineFill guifg=#87875f guibg=#080808 gui=NONE ctermfg=101 ctermbg=232 cterm=NONE highlight! TabLineSel guifg=#121212 guibg=#87875f gui=NONE ctermfg=233 ctermbg=101 cterm=NONE highlight! PmenuSbar guifg=#080808 guibg=#080808 gui=NONE ctermfg=232 ctermbg=232 cterm=NONE highlight! PmenuThumb guifg=#080808 guibg=#080808 gui=NONE ctermfg=232 ctermbg=232 cterm=NONE highlight! NonText guifg=#262626 guibg=NONE gui=NONE ctermfg=235 ctermbg=NONE cterm=NONE highlight! SpecialKey guifg=#262626 guibg=NONE gui=NONE ctermfg=235 ctermbg=NONE cterm=NONE endif " SHOUT_BECOME_ETHEREAL UI: if g:alduin_Shout_Become_Ethereal highlight! Normal guifg=#dfdfaf guibg=#080808 gui=NONE ctermfg=187 ctermbg=232 cterm=NONE highlight! StatusLine guifg=#87875f guibg=#1c1c1c gui=NONE ctermfg=101 ctermbg=234 cterm=NONE highlight! Pmenu guifg=#87875f guibg=#1c1c1c gui=NONE ctermfg=101 ctermbg=234 cterm=NONE highlight! StatusLineNC guifg=#444444 guibg=#1c1c1c gui=NONE ctermfg=238 ctermbg=234 cterm=NONE highlight! CursorLine guifg=NONE guibg=#121212 gui=NONE ctermfg=NONE ctermbg=233 cterm=NONE highlight! ColorColumn guifg=NONE guibg=#121212 gui=NONE ctermfg=NONE ctermbg=233 cterm=NONE highlight! LineNr guifg=#444444 guibg=#000000 gui=NONE ctermfg=238 ctermbg=16 cterm=NONE highlight! VertSplit guifg=#444444 guibg=#000000 gui=NONE ctermfg=238 ctermbg=16 cterm=NONE highlight! Folded guifg=#444444 guibg=#000000 gui=NONE ctermfg=238 ctermbg=16 cterm=NONE highlight! FoldColumn guifg=#87afaf guibg=#080808 gui=NONE ctermfg=109 ctermbg=232 cterm=NONE highlight! String guifg=#ffdf87 guibg=#121212 gui=NONE ctermfg=222 ctermbg=233 cterm=NONE highlight! SignColumn guifg=#87875f guibg=#000000 gui=NONE ctermfg=101 ctermbg=16 cterm=NONE highlight! TabLine guifg=#87875f guibg=#000000 gui=NONE ctermfg=101 ctermbg=16 cterm=NONE highlight! TabLineFill guifg=#87875f guibg=#000000 gui=NONE ctermfg=101 ctermbg=16 cterm=NONE highlight! TabLineSel guifg=#080808 guibg=#87875f gui=NONE ctermfg=232 ctermbg=101 cterm=NONE highlight! PmenuSbar guifg=#1c1c1c guibg=#1c1c1c gui=NONE ctermfg=234 ctermbg=234 cterm=NONE highlight! PmenuThumb guifg=#1c1c1c guibg=#1c1c1c gui=NONE ctermfg=234 ctermbg=234 cterm=NONE highlight! NonText guifg=#1c1c1c guibg=NONE gui=NONE ctermfg=234 ctermbg=NONE cterm=NONE highlight! SpecialKey guifg=#1c1c1c guibg=NONE gui=NONE ctermfg=234 ctermbg=NONE cterm=NONE endif " SHOUT_ANIMAL_ALLEGIANCE: if g:alduin_Shout_Animal_Allegiance highlight! String guifg=#ffdf87 guibg=NONE ctermfg=222 ctermbg=NONE cterm=NONE gui=NONE endif " SHOUT_AURA_WHISPER: if g:alduin_Shout_Aura_Whisper highlight! MatchParen guifg=#eeeeee guibg=#1c1c1c gui=underline ctermfg=255 ctermbg=234 cterm=underline endif " SHOUT_FIRE_BREATH: if g:alduin_Shout_Fire_Breath highlight! Search guifg=#dfdfaf guibg=#5f0000 gui=NONE ctermfg=187 ctermbg=52 cterm=NONE highlight! Special guifg=#af0000 guibg=NONE gui=NONE ctermfg=124 ctermbg=NONE cterm=NONE highlight! Title guifg=#af5f5f guibg=NONE gui=NONE ctermfg=131 ctermbg=NONE cterm=NONE endif " LICENSE: " Copyright (c) 2017 Alessandro Yorba " " Permission is hereby granted, free of charge, to any person obtaining a copy " of this software and associated documentation files (the "Software"), to deal " in the Software without restriction, including without limitation the rights " to use, copy, modify, merge, publish, distribute, sublicense, and/or sell " copies of the Software, and to permit persons to whom the Software is " furnished to do so, subject to the following conditions: " " The above copyright notice and this permission notice shall be included in " all copies or substantial portions of the Software. " " THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR " IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, " FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE " AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER " LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, " OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN " THE SOFTWARE.