Added files

This commit is contained in:
Platvoeten 2017-05-10 13:18:14 +02:00
parent 121268b642
commit bf566dc648
9 changed files with 2957 additions and 0 deletions

43
tmux/.tmux.conf Normal file
View file

@ -0,0 +1,43 @@
# split panes using | and -
bind | split-window -h
bind - split-window -v
unbind '"'
unbind %
# reload config file (change file location to your the tmux.conf you want to use)
bind r source-file ~/.tmux.conf
# Panes
set -g pane-border-fg black
set -g pane-active-border-fg blue
## Status bar design
set -g status-position bottom
set -g status-bg colour24
set -g status-attr dim
set -g status-right '#[fg=colour233,bg=colour102,bold] %d/%m #[fg=colour233,bg=colour102,bold] %H:%M:%S '
set -g status-right-length 50
set -g status-left-length 20
# Current session name
set-window-option -g status-left '#[fg=colour0,bg=colour102,bold] #S '
# Current window
setw -g window-status-current-fg colour0
setw -g window-status-current-bg colour102
setw -g window-status-current-attr bold
setw -g window-status-current-format ' #I#[fg=colour0] #[fg=colour0]#W '
# Background windows
setw -g window-status-fg colour0
setw -g window-status-bg colour10
setw -g window-status-attr none
setw -g window-status-format ' #I#[fg=colour0] #[fg=colour0]#W '
# Scrollback history
set -g mouse on
# Terminal colors
set -g default-terminal "xterm-256color"
set-option -ga update-environment ' DISPLAY SSH_ASKPASS SSH_AUTH_SOCK SSH_AGENT_PID SSH_CONNECTION WINDOWID XAUTHORITY'

134
vim/.vimrc Executable file
View file

@ -0,0 +1,134 @@
call plug#begin('~/.vim/plugged')
Plug 'https://github.com/scrooloose/nerdtree.git'
Plug 'https://github.com/vim-airline/vim-airline'
Plug 'https://github.com/vim-airline/vim-airline-themes'
Plug 'https://github.com/powerline/fonts'
Plug 'https://github.com/tpope/vim-fugitive'
"Indent automiatically depending on filetype
filetype plugin on
set autoindent
filetype indent on
"Set syntax on
syntax enable
" Create the `tags` file (may need to install ctags first)
command! MakeTags !ctags -R .
" Tab indentation
set shiftwidth=4 tabstop=4 softtabstop=4 expandtab
"End IDE specific options
"<-------------------------------------------------------------------------->
" FINDING FILES
" Search down into subfolders
" Provides tab-completion for all file-related tasks
" " - Hit tab to :find by partial match
" - Use * to make it fuzzy
set path+=**
" Display all matching files when we tab complete
set wildmenu
set backspace=2
set background=dark
" Terminal colors
"Colorscheme
colorscheme solarized
"Automatically source vimrc on save.
autocmd! bufwritepost $MYVIMRC source $MYVIMRC
"Line numbers
set number
"Changes to current directory when creating new files
set autochdir
"Higlhight search
set hls
"Search as characters are entered
set incsearch
"Line for linewrapping
set colorcolumn=80
set textwidth=80
"Remove temporary swap file
set nobackup
set noswapfile
"Wrap text instead of being on one line
set lbr
"Paste mode toggle
set pastetoggle=<F2>
:map <F5> :e <CR>
"Default Colors for CursorLine
set cursorline
"hi CursorLine cterm=NONE ctermbg=235
"Activate statusbar
set laststatus=2
"Space in toolbar is "%=\
"set statusline=
"set statusline+=%1*\ %n\ "Buffernr
"set statusline+=%1*\ %F\ %m%r%w "File + modified/readonly
"set statusline+=%1*\ %= "Space between filename
"set statusline+=%1*\ %{hostname()}\ "Hostname
"set statusline+=%1*\ %{strlen(&ft)?&ft:'none'}\ "Filetype
"set statusline+=%1*\ %{''.(&fenc!=''?&fenc:&enc).''} "Encoding
"set statusline+=%1*\ %{(&bomb?\",BOM\":\"\")}\ "Encoding2
"set statusline+=%1*\ %{&ff}\ "FileFormat (dos/unix..)
"set statusline+=%1*\ %l/%L\ \ "Rownumber/total (%)
"set statusline+=%1*\ %P\ "Readonly? Top/bot
"Statusbar colors
"hi User1 ctermbg=237
"Copy to clipboard
vnoremap y "+y
vnoremap x "+x
vnoremap c "+c
"Built-in completion
function! Smart_TabComplete()
let line = getline('.') " current line
let substr = strpart(line, -1, col('.')+1) " from the start of the current
" of the cursor
let substr = matchstr(substr, "[^ \t]*$") " word till cursor
if (strlen(substr)==0) " nothing to match on empty string
return "\<tab>"
endif
let has_period = match(substr, '\.') != -1 " position of period, if any
let has_slash = match(substr, '\/') != -1 " position of slash, if any
if (!has_period && !has_slash)
return "\<C-X>\<C-P>" " existing text matching
elseif ( has_slash )
return "\<C-X>\<C-F>" " file matching
else
return "\<C-X>\<C-O>" " plugin matching
endif
endfunction
inoremap <tab> <c-r>=Smart_TabComplete()<CR>
" Plugins
"
" Nerdtree
map <C-e> :NERDTreeToggle<CR>
" Airline
let g:airline_theme = 'solarized'
let g:airline_section_y = '%{hostname()}'
let g:airline_section_b = '%{fugitive#statusline()}'
let g:airline_powerline_fonts = 1
call plug#end()

View file

@ -0,0 +1,383 @@
" Tomorrow Night - Full Colour and 256 Colour
" http://chriskempson.com
"
" Hex colour conversion functions borrowed from the theme "Desert256""
" Default GUI Colours
let s:foreground = "c5c8c6"
let s:background = "1d1f21"
let s:selection = "373b41"
let s:line = "282a2e"
let s:comment = "969896"
let s:red = "cc6666"
let s:orange = "de935f"
let s:yellow = "f0c674"
let s:green = "b5bd68"
let s:aqua = "8abeb7"
let s:blue = "81a2be"
let s:purple = "b294bb"
let s:window = "4d5057"
" Console 256 Colours tst
if !has("gui_running")
let s:background = "303030"
let s:window = "5e5e5e"
let s:line = "3a3a3a"
let s:selection = "585858"
end
set background=dark
hi clear
syntax reset
let g:colors_name = "Tomorrow-Night"
if has("gui_running") || &t_Co == 88 || &t_Co == 256
" Returns an approximate grey index for the given grey level
fun <SID>grey_number(x)
if &t_Co == 88
if a:x < 23
return 0
elseif a:x < 69
return 1
elseif a:x < 103
return 2
elseif a:x < 127
return 3
elseif a:x < 150
return 4
elseif a:x < 173
return 5
elseif a:x < 196
return 6
elseif a:x < 219
return 7
elseif a:x < 243
return 8
else
return 9
endif
else
if a:x < 14
return 0
else
let l:n = (a:x - 8) / 10
let l:m = (a:x - 8) % 10
if l:m < 5
return l:n
else
return l:n + 1
endif
endif
endif
endfun
" Returns the actual grey level represented by the grey index
fun <SID>grey_level(n)
if &t_Co == 88
if a:n == 0
return 0
elseif a:n == 1
return 46
elseif a:n == 2
return 92
elseif a:n == 3
return 115
elseif a:n == 4
return 139
elseif a:n == 5
return 162
elseif a:n == 6
return 185
elseif a:n == 7
return 208
elseif a:n == 8
return 231
else
return 255
endif
else
if a:n == 0
return 0
else
return 8 + (a:n * 10)
endif
endif
endfun
" Returns the palette index for the given grey index
fun <SID>grey_colour(n)
if &t_Co == 88
if a:n == 0
return 16
elseif a:n == 9
return 79
else
return 79 + a:n
endif
else
if a:n == 0
return 16
elseif a:n == 25
return 231
else
return 231 + a:n
endif
endif
endfun
" Returns an approximate colour index for the given colour level
fun <SID>rgb_number(x)
if &t_Co == 88
if a:x < 69
return 0
elseif a:x < 172
return 1
elseif a:x < 230
return 2
else
return 3
endif
else
if a:x < 75
return 0
else
let l:n = (a:x - 55) / 40
let l:m = (a:x - 55) % 40
if l:m < 20
return l:n
else
return l:n + 1
endif
endif
endif
endfun
" Returns the actual colour level for the given colour index
fun <SID>rgb_level(n)
if &t_Co == 88
if a:n == 0
return 0
elseif a:n == 1
return 139
elseif a:n == 2
return 205
else
return 255
endif
else
if a:n == 0
return 0
else
return 55 + (a:n * 40)
endif
endif
endfun
" Returns the palette index for the given R/G/B colour indices
fun <SID>rgb_colour(x, y, z)
if &t_Co == 88
return 16 + (a:x * 16) + (a:y * 4) + a:z
else
return 16 + (a:x * 36) + (a:y * 6) + a:z
endif
endfun
" Returns the palette index to approximate the given R/G/B colour levels
fun <SID>colour(r, g, b)
" Get the closest grey
let l:gx = <SID>grey_number(a:r)
let l:gy = <SID>grey_number(a:g)
let l:gz = <SID>grey_number(a:b)
" Get the closest colour
let l:x = <SID>rgb_number(a:r)
let l:y = <SID>rgb_number(a:g)
let l:z = <SID>rgb_number(a:b)
if l:gx == l:gy && l:gy == l:gz
" There are two possibilities
let l:dgr = <SID>grey_level(l:gx) - a:r
let l:dgg = <SID>grey_level(l:gy) - a:g
let l:dgb = <SID>grey_level(l:gz) - a:b
let l:dgrey = (l:dgr * l:dgr) + (l:dgg * l:dgg) + (l:dgb * l:dgb)
let l:dr = <SID>rgb_level(l:gx) - a:r
let l:dg = <SID>rgb_level(l:gy) - a:g
let l:db = <SID>rgb_level(l:gz) - a:b
let l:drgb = (l:dr * l:dr) + (l:dg * l:dg) + (l:db * l:db)
if l:dgrey < l:drgb
" Use the grey
return <SID>grey_colour(l:gx)
else
" Use the colour
return <SID>rgb_colour(l:x, l:y, l:z)
endif
else
" Only one possibility
return <SID>rgb_colour(l:x, l:y, l:z)
endif
endfun
" Returns the palette index to approximate the 'rrggbb' hex string
fun <SID>rgb(rgb)
let l:r = ("0x" . strpart(a:rgb, 0, 2)) + 0
let l:g = ("0x" . strpart(a:rgb, 2, 2)) + 0
let l:b = ("0x" . strpart(a:rgb, 4, 2)) + 0
return <SID>colour(l:r, l:g, l:b)
endfun
" Sets the highlighting for the given group
fun <SID>X(group, fg, bg, attr)
if a:fg != ""
exec "hi " . a:group . " guifg=#" . a:fg . " ctermfg=" . <SID>rgb(a:fg)
endif
if a:bg != ""
exec "hi " . a:group . " guibg=#" . a:bg . " ctermbg=" . <SID>rgb(a:bg)
endif
if a:attr != ""
exec "hi " . a:group . " gui=" . a:attr . " cterm=" . a:attr
endif
endfun
" Vim Highlighting
call <SID>X("Normal", s:foreground, s:background, "")
call <SID>X("LineNr", s:selection, "", "")
call <SID>X("NonText", s:selection, "", "")
call <SID>X("SpecialKey", s:selection, "", "")
call <SID>X("Search", s:background, s:yellow, "")
call <SID>X("TabLine", s:foreground, s:background, "reverse")
call <SID>X("StatusLine", s:window, s:yellow, "reverse")
call <SID>X("StatusLineNC", s:window, s:foreground, "reverse")
call <SID>X("VertSplit", s:window, s:window, "none")
call <SID>X("Visual", "", s:selection, "")
call <SID>X("Directory", s:blue, "", "")
call <SID>X("ModeMsg", s:green, "", "")
call <SID>X("MoreMsg", s:green, "", "")
call <SID>X("Question", s:green, "", "")
call <SID>X("WarningMsg", s:red, "", "")
call <SID>X("MatchParen", "", s:selection, "")
call <SID>X("Folded", s:comment, s:background, "")
call <SID>X("FoldColumn", "", s:background, "")
if version >= 700
call <SID>X("CursorLine", "", s:line, "none")
call <SID>X("CursorColumn", "", s:line, "none")
call <SID>X("PMenu", s:foreground, s:selection, "none")
call <SID>X("PMenuSel", s:foreground, s:selection, "reverse")
call <SID>X("SignColumn", "", s:background, "none")
end
if version >= 703
call <SID>X("ColorColumn", "", s:line, "none")
end
" Standard Highlighting
call <SID>X("Comment", s:comment, "", "")
call <SID>X("Todo", s:comment, s:background, "")
call <SID>X("Title", s:comment, "", "")
call <SID>X("Identifier", s:red, "", "none")
call <SID>X("Statement", s:foreground, "", "")
call <SID>X("Conditional", s:foreground, "", "")
call <SID>X("Repeat", s:foreground, "", "")
call <SID>X("Structure", s:purple, "", "")
call <SID>X("Function", s:blue, "", "")
call <SID>X("Constant", s:orange, "", "")
call <SID>X("String", s:green, "", "")
call <SID>X("Special", s:foreground, "", "")
call <SID>X("PreProc", s:purple, "", "")
call <SID>X("Operator", s:aqua, "", "none")
call <SID>X("Type", s:blue, "", "none")
call <SID>X("Define", s:purple, "", "none")
call <SID>X("Include", s:blue, "", "")
"call <SID>X("Ignore", "666666", "", "")
" Vim Highlighting
call <SID>X("vimCommand", s:red, "", "none")
" C Highlighting
call <SID>X("cType", s:yellow, "", "")
call <SID>X("cStorageClass", s:purple, "", "")
call <SID>X("cConditional", s:purple, "", "")
call <SID>X("cRepeat", s:purple, "", "")
" PHP Highlighting
call <SID>X("phpVarSelector", s:red, "", "")
call <SID>X("phpKeyword", s:purple, "", "")
call <SID>X("phpRepeat", s:purple, "", "")
call <SID>X("phpConditional", s:purple, "", "")
call <SID>X("phpStatement", s:purple, "", "")
call <SID>X("phpMemberSelector", s:foreground, "", "")
" Ruby Highlighting
call <SID>X("rubySymbol", s:green, "", "")
call <SID>X("rubyConstant", s:yellow, "", "")
call <SID>X("rubyAttribute", s:blue, "", "")
call <SID>X("rubyInclude", s:blue, "", "")
call <SID>X("rubyLocalVariableOrMethod", s:orange, "", "")
call <SID>X("rubyCurlyBlock", s:orange, "", "")
call <SID>X("rubyStringDelimiter", s:green, "", "")
call <SID>X("rubyInterpolationDelimiter", s:orange, "", "")
call <SID>X("rubyConditional", s:purple, "", "")
call <SID>X("rubyRepeat", s:purple, "", "")
" Python Highlighting
call <SID>X("pythonInclude", s:purple, "", "")
call <SID>X("pythonStatement", s:purple, "", "")
call <SID>X("pythonConditional", s:purple, "", "")
call <SID>X("pythonRepeat", s:purple, "", "")
call <SID>X("pythonException", s:purple, "", "")
call <SID>X("pythonFunction", s:blue, "", "")
" Go Highlighting
call <SID>X("goStatement", s:purple, "", "")
call <SID>X("goConditional", s:purple, "", "")
call <SID>X("goRepeat", s:purple, "", "")
call <SID>X("goException", s:purple, "", "")
call <SID>X("goDeclaration", s:blue, "", "")
call <SID>X("goConstants", s:yellow, "", "")
call <SID>X("goBuiltins", s:orange, "", "")
" CoffeeScript Highlighting
call <SID>X("coffeeKeyword", s:purple, "", "")
call <SID>X("coffeeConditional", s:purple, "", "")
" JavaScript Highlighting
call <SID>X("javaScriptBraces", s:foreground, "", "")
call <SID>X("javaScriptFunction", s:purple, "", "")
call <SID>X("javaScriptConditional", s:purple, "", "")
call <SID>X("javaScriptRepeat", s:purple, "", "")
call <SID>X("javaScriptNumber", s:orange, "", "")
call <SID>X("javaScriptMember", s:orange, "", "")
" HTML Highlighting
call <SID>X("htmlTag", s:red, "", "")
call <SID>X("htmlTagName", s:red, "", "")
call <SID>X("htmlArg", s:red, "", "")
call <SID>X("htmlScriptTag", s:red, "", "")
" Diff Highlighting
let s:diffbackground = "494e56"
call <SID>X("diffAdded", s:green, "", "")
call <SID>X("diffRemoved", s:red, "", "")
call <SID>X("DiffAdd", s:green, s:diffbackground, "")
call <SID>X("DiffDelete", s:red, s:diffbackground, "")
call <SID>X("DiffChange", s:yellow, s:diffbackground, "")
call <SID>X("DiffText", s:diffbackground, s:orange, "")
" ShowMarks Highlighting
call <SID>X("ShowMarksHLl", s:orange, s:background, "none")
call <SID>X("ShowMarksHLo", s:purple, s:background, "none")
call <SID>X("ShowMarksHLu", s:yellow, s:background, "none")
call <SID>X("ShowMarksHLm", s:aqua, s:background, "none")
" Delete Functions
delf <SID>X
delf <SID>rgb
delf <SID>colour
delf <SID>rgb_colour
delf <SID>rgb_level
delf <SID>rgb_number
delf <SID>grey_colour
delf <SID>grey_level
delf <SID>grey_number
endif

538
vim/colors/afterglow.vim Normal file
View file

@ -0,0 +1,538 @@
" File: afterglow.vim
" Author: Danilo Augusto <daniloaugusto.ita16@gmail.com>
" Date: 2017-02-27
" Vim color file - Afterglow (monokai version)
"
" Hex color conversion functions borrowed from the theme 'Desert256'
set background=dark
if version > 580
hi clear
if exists("syntax_on")
syntax reset
endif
endif
let g:colors_name = "afterglow"
" Default GUI Colours
let s:foreground = "d6d6d6"
let s:background = "1e1e1e"
let s:selection = "5a647e"
let s:line = "393939"
let s:comment = "797979"
let s:red = "ac4142"
let s:orange = "e87d3e"
let s:yellow = "e5b567"
let s:green = "b4c973"
let s:blue = "6c99bb"
let s:wine = "b05279"
let s:purple = "9e86c8"
let s:window = "4d5057"
if has("gui_running") || &t_Co == 88 || &t_Co == 256
" Returns an approximate grey index for the given grey level
fun <SID>grey_number(x)
if &t_Co == 88
if a:x < 23
return 0
elseif a:x < 69
return 1
elseif a:x < 103
return 2
elseif a:x < 127
return 3
elseif a:x < 150
return 4
elseif a:x < 173
return 5
elseif a:x < 196
return 6
elseif a:x < 219
return 7
elseif a:x < 243
return 8
else
return 9
endif
else
if a:x < 14
return 0
else
let l:n = (a:x - 8) / 10
let l:m = (a:x - 8) % 10
if l:m < 5
return l:n
else
return l:n + 1
endif
endif
endif
endfun
" Returns the actual grey level represented by the grey index
fun <SID>grey_level(n)
if &t_Co == 88
if a:n == 0
return 0
elseif a:n == 1
return 46
elseif a:n == 2
return 92
elseif a:n == 3
return 115
elseif a:n == 4
return 139
elseif a:n == 5
return 162
elseif a:n == 6
return 185
elseif a:n == 7
return 208
elseif a:n == 8
return 231
else
return 255
endif
else
if a:n == 0
return 0
else
return 8 + (a:n * 10)
endif
endif
endfun
" Returns the palette index for the given grey index
fun <SID>grey_colour(n)
if &t_Co == 88
if a:n == 0
return 16
elseif a:n == 9
return 79
else
return 79 + a:n
endif
else
if a:n == 0
return 16
elseif a:n == 25
return 231
else
return 231 + a:n
endif
endif
endfun
" Returns an approximate colour index for the given colour level
fun <SID>rgb_number(x)
if &t_Co == 88
if a:x < 69
return 0
elseif a:x < 172
return 1
elseif a:x < 230
return 2
else
return 3
endif
else
if a:x < 75
return 0
else
let l:n = (a:x - 55) / 40
let l:m = (a:x - 55) % 40
if l:m < 20
return l:n
else
return l:n + 1
endif
endif
endif
endfun
" Returns the actual colour level for the given colour index
fun <SID>rgb_level(n)
if &t_Co == 88
if a:n == 0
return 0
elseif a:n == 1
return 139
elseif a:n == 2
return 205
else
return 255
endif
else
if a:n == 0
return 0
else
return 55 + (a:n * 40)
endif
endif
endfun
" Returns the palette index for the given R/G/B colour indices
fun <SID>rgb_colour(x, y, z)
if &t_Co == 88
return 16 + (a:x * 16) + (a:y * 4) + a:z
else
return 16 + (a:x * 36) + (a:y * 6) + a:z
endif
endfun
" Returns the palette index to approximate the given R/G/B colour levels
fun <SID>colour(r, g, b)
" Get the closest grey
let l:gx = <SID>grey_number(a:r)
let l:gy = <SID>grey_number(a:g)
let l:gz = <SID>grey_number(a:b)
" Get the closest colour
let l:x = <SID>rgb_number(a:r)
let l:y = <SID>rgb_number(a:g)
let l:z = <SID>rgb_number(a:b)
if l:gx == l:gy && l:gy == l:gz
" There are two possibilities
let l:dgr = <SID>grey_level(l:gx) - a:r
let l:dgg = <SID>grey_level(l:gy) - a:g
let l:dgb = <SID>grey_level(l:gz) - a:b
let l:dgrey = (l:dgr * l:dgr) + (l:dgg * l:dgg) + (l:dgb * l:dgb)
let l:dr = <SID>rgb_level(l:gx) - a:r
let l:dg = <SID>rgb_level(l:gy) - a:g
let l:db = <SID>rgb_level(l:gz) - a:b
let l:drgb = (l:dr * l:dr) + (l:dg * l:dg) + (l:db * l:db)
if l:dgrey < l:drgb
" Use the grey
return <SID>grey_colour(l:gx)
else
" Use the colour
return <SID>rgb_colour(l:x, l:y, l:z)
endif
else
" Only one possibility
return <SID>rgb_colour(l:x, l:y, l:z)
endif
endfun
" Returns the palette index to approximate the 'rrggbb' hex string
fun <SID>rgb(rgb)
let l:r = ("0x" . strpart(a:rgb, 0, 2)) + 0
let l:g = ("0x" . strpart(a:rgb, 2, 2)) + 0
let l:b = ("0x" . strpart(a:rgb, 4, 2)) + 0
return <SID>colour(l:r, l:g, l:b)
endfun
" Sets the highlighting for the given group
fun <SID>X(group, fg, bg, attr)
if a:fg != ""
exec "hi " . a:group . " guifg=#" . a:fg . " ctermfg=" . <SID>rgb(a:fg)
endif
if a:bg != ""
exec "hi " . a:group . " guibg=#" . a:bg . " ctermbg=" . <SID>rgb(a:bg)
endif
if a:attr != ""
exec "hi " . a:group . " gui=" . a:attr . " cterm=" . a:attr
endif
endfun
" Vim Highlighting
call <SID>X("Normal", s:foreground, s:background, "")
call <SID>X("LineNr", s:comment, "", "")
call <SID>X("NonText", s:selection, "", "")
call <SID>X("SpecialKey", s:selection, "", "")
call <SID>X("Search", s:background, s:yellow, "")
call <SID>X("TabLine", s:window, s:foreground, "reverse")
call <SID>X("TabLineFill", s:window, s:foreground, "reverse")
call <SID>X("StatusLine", s:window, s:yellow, "reverse")
call <SID>X("StatusLineNC", s:window, s:foreground, "reverse")
call <SID>X("VertSplit", s:window, s:window, "none")
call <SID>X("Visual", "", s:selection, "")
call <SID>X("Directory", s:blue, "", "")
call <SID>X("ModeMsg", s:green, "", "")
call <SID>X("MoreMsg", s:green, "", "")
call <SID>X("Question", s:green, "", "")
call <SID>X("WarningMsg", s:red, "", "")
call <SID>X("MatchParen", "", s:selection, "")
call <SID>X("Folded", s:comment, s:background, "")
call <SID>X("FoldColumn", "", s:background, "")
if version >= 700
call <SID>X("CursorLine", "", s:line, "none")
call <SID>X("CursorLineNR", s:orange, "", "none")
call <SID>X("CursorColumn", "", s:line, "none")
call <SID>X("PMenu", s:foreground, s:selection, "none")
call <SID>X("PMenuSel", s:foreground, s:selection, "reverse")
call <SID>X("SignColumn", "", s:background, "none")
end
if version >= 703
call <SID>X("ColorColumn", "", s:line, "none")
end
" Standard Highlighting
call <SID>X("Comment", s:comment, "", "")
call <SID>X("Todo", s:red, s:background, "")
call <SID>X("Title", s:comment, "", "")
call <SID>X("Identifier", s:foreground, "", "none")
call <SID>X("Statement", s:wine, "", "")
call <SID>X("Conditional", s:wine, "", "")
call <SID>X("Repeat", s:wine, "", "")
call <SID>X("Structure", s:wine, "", "")
call <SID>X("Function", s:blue, "", "")
call <SID>X("Constant", s:purple, "", "")
call <SID>X("Keyword", s:orange, "", "")
call <SID>X("String", s:yellow, "", "")
call <SID>X("Special", s:orange, "", "")
call <SID>X("PreProc", s:green, "", "")
call <SID>X("Operator", s:purple, "", "none")
call <SID>X("Type", s:wine, "", "none")
call <SID>X("Define", s:wine, "", "none")
call <SID>X("Include", s:wine, "", "")
syntax match commonOperator "\(+\|=\|-\|*\|\^\|\/\)"
hi link commonOperator Operator
" Vim Highlighting
call <SID>X("vimCommand", s:wine, "", "none")
" C Highlighting
call <SID>X("cType", s:wine, "", "")
call <SID>X("cStorageClass", s:orange, "", "")
call <SID>X("cConditional", s:wine, "", "")
call <SID>X("cRepeat", s:wine, "", "")
" PHP Highlighting
call <SID>X("phpVarSelector", s:wine, "", "")
call <SID>X("phpKeyword", s:wine, "", "")
call <SID>X("phpRepeat", s:wine, "", "")
call <SID>X("phpConditional", s:wine, "", "")
call <SID>X("phpStatement", s:wine, "", "")
call <SID>X("phpMemberSelector", s:foreground, "", "")
" Ruby Highlighting
call <SID>X("rubySymbol", s:blue, "", "")
call <SID>X("rubyConstant", s:green, "", "")
call <SID>X("rubyAccess", s:yellow, "", "")
call <SID>X("rubyAttribute", s:blue, "", "")
call <SID>X("rubyInclude", s:blue, "", "")
call <SID>X("rubyLocalVariableOrMethod", s:orange, "", "")
call <SID>X("rubyCurlyBlock", s:orange, "", "")
call <SID>X("rubyStringDelimiter", s:yellow, "", "")
call <SID>X("rubyInterpolationDelimiter", s:orange, "", "")
call <SID>X("rubyConditional", s:wine, "", "")
call <SID>X("rubyRepeat", s:wine, "", "")
call <SID>X("rubyControl", s:wine, "", "")
call <SID>X("rubyException", s:wine, "", "")
" Crystal Highlighting
call <SID>X("crystalSymbol", s:green, "", "")
call <SID>X("crystalConstant", s:yellow, "", "")
call <SID>X("crystalAccess", s:yellow, "", "")
call <SID>X("crystalAttribute", s:blue, "", "")
call <SID>X("crystalInclude", s:blue, "", "")
call <SID>X("crystalLocalVariableOrMethod", s:orange, "", "")
call <SID>X("crystalCurlyBlock", s:orange, "", "")
call <SID>X("crystalStringDelimiter", s:green, "", "")
call <SID>X("crystalInterpolationDelimiter", s:orange, "", "")
call <SID>X("crystalConditional", s:wine, "", "")
call <SID>X("crystalRepeat", s:wine, "", "")
call <SID>X("crystalControl", s:wine, "", "")
call <SID>X("crystalException", s:wine, "", "")
" Python Highlighting
call <SID>X("pythonInclude", s:wine, "", "")
call <SID>X("pythonStatement", s:blue, "", "")
call <SID>X("pythonConditional", s:wine, "", "")
call <SID>X("pythonRepeat", s:wine, "", "")
call <SID>X("pythonException", s:wine, "", "")
call <SID>X("pythonFunction", s:green, "", "italic")
call <SID>X("pythonPreCondit", s:wine, "", "")
call <SID>X("pythonExClass", s:orange, "", "")
call <SID>X("pythonBuiltin", s:purple, "", "")
call <SID>X("pythonOperator", s:wine, "", "")
call <SID>X("pythonNumber", s:purple, "", "")
call <SID>X("pythonString", s:yellow, "", "")
call <SID>X("pythonRawString", s:yellow, "", "")
call <SID>X("pythonDecorator", s:wine, "", "")
call <SID>X("pythonDoctest", s:yellow, "", "")
" JavaScript Highlighting
call <SID>X("javaScriptEndColons", s:foreground, "", "")
call <SID>X("javaScriptOpSymbols", s:foreground, "", "")
call <SID>X("javaScriptLogicSymbols", s:foreground, "", "")
call <SID>X("javaScriptBraces", s:foreground, "", "")
call <SID>X("javaScriptParens", s:foreground, "", "")
call <SID>X("javaScriptFunction", s:green, "", "")
call <SID>X("javaScriptComment", s:comment, "", "")
call <SID>X("javaScriptLineComment", s:comment, "", "")
call <SID>X("javaScriptDocComment", s:comment, "", "")
call <SID>X("javaScriptCommentTodo", s:red, "", "")
call <SID>X("javaScriptString", s:yellow, "", "")
call <SID>X("javaScriptRegexpString", s:yellow, "", "")
call <SID>X("javaScriptTemplateString", s:yellow, "", "")
call <SID>X("javaScriptNumber", s:purple, "", "")
call <SID>X("javaScriptFloat", s:purple, "", "")
call <SID>X("javaScriptGlobal", s:purple, "", "")
call <SID>X("javaScriptCharacter", s:blue, "", "")
call <SID>X("javaScriptPrototype", s:blue, "", "")
call <SID>X("javaScriptConditional", s:blue, "", "")
call <SID>X("javaScriptBranch", s:blue, "", "")
call <SID>X("javaScriptIdentifier", s:orange, "", "")
call <SID>X("javaScriptRepeat", s:blue, "", "")
call <SID>X("javaScriptStatement", s:blue, "", "")
call <SID>X("javaScriptMessage", s:blue, "", "")
call <SID>X("javaScriptReserved", s:blue, "", "")
call <SID>X("javaScriptOperator", s:blue, "", "")
call <SID>X("javaScriptNull", s:purple, "", "")
call <SID>X("javaScriptBoolean", s:purple, "", "")
call <SID>X("javaScriptLabel", s:blue, "", "")
call <SID>X("javaScriptSpecial", s:blue, "", "")
call <SID>X("javaScriptExceptions", s:red, "", "")
call <SID>X("javaScriptDeprecated", s:red, "", "")
call <SID>X("javaScriptError", s:red, "", "")
" LaTeX
call <SID>X("texStatement",s:blue, "", "")
call <SID>X("texMath", s:wine, "", "none")
call <SID>X("texMathMacher", s:yellow, "", "none")
call <SID>X("texRefLabel", s:wine, "", "none")
call <SID>X("texRefZone", s:blue, "", "none")
call <SID>X("texComment", s:comment, "", "none")
call <SID>X("texDelimiter", s:purple, "", "none")
call <SID>X("texMathZoneX", s:purple, "", "none")
" CoffeeScript Highlighting
call <SID>X("coffeeRepeat", s:wine, "", "")
call <SID>X("coffeeConditional", s:wine, "", "")
call <SID>X("coffeeKeyword", s:wine, "", "")
call <SID>X("coffeeObject", s:yellow, "", "")
" HTML Highlighting
call <SID>X("htmlTag", s:foreground, "", "")
call <SID>X("htmlEndTag", s:foreground, "", "")
call <SID>X("htmlTagName", s:wine, "", "")
call <SID>X("htmlArg", s:green, "", "")
call <SID>X("htmlScriptTag", s:wine, "", "")
" Diff Highlighting
call <SID>X("diffAdd", "", "4c4e39", "")
call <SID>X("diffDelete", s:background, s:red, "")
call <SID>X("diffChange", "", "2B5B77", "")
call <SID>X("diffText", s:line, s:blue, "")
" ShowMarks Highlighting
call <SID>X("ShowMarksHLl", s:orange, s:background, "none")
call <SID>X("ShowMarksHLo", s:wine, s:background, "none")
call <SID>X("ShowMarksHLu", s:yellow, s:background, "none")
call <SID>X("ShowMarksHLm", s:wine, s:background, "none")
" Lua Highlighting
call <SID>X("luaStatement", s:wine, "", "")
call <SID>X("luaRepeat", s:wine, "", "")
call <SID>X("luaCondStart", s:wine, "", "")
call <SID>X("luaCondElseif", s:wine, "", "")
call <SID>X("luaCond", s:wine, "", "")
call <SID>X("luaCondEnd", s:wine, "", "")
" Cucumber Highlighting
call <SID>X("cucumberGiven", s:blue, "", "")
call <SID>X("cucumberGivenAnd", s:blue, "", "")
" Go Highlighting
call <SID>X("goDirective", s:wine, "", "")
call <SID>X("goDeclaration", s:wine, "", "")
call <SID>X("goStatement", s:wine, "", "")
call <SID>X("goConditional", s:wine, "", "")
call <SID>X("goConstants", s:orange, "", "")
call <SID>X("goTodo", s:red, "", "")
call <SID>X("goDeclType", s:blue, "", "")
call <SID>X("goBuiltins", s:wine, "", "")
call <SID>X("goRepeat", s:wine, "", "")
call <SID>X("goLabel", s:wine, "", "")
" Clojure Highlighting
call <SID>X("clojureConstant", s:orange, "", "")
call <SID>X("clojureBoolean", s:orange, "", "")
call <SID>X("clojureCharacter", s:orange, "", "")
call <SID>X("clojureKeyword", s:green, "", "")
call <SID>X("clojureNumber", s:orange, "", "")
call <SID>X("clojureString", s:green, "", "")
call <SID>X("clojureRegexp", s:green, "", "")
call <SID>X("clojureParen", s:wine, "", "")
call <SID>X("clojureVariable", s:yellow, "", "")
call <SID>X("clojureCond", s:blue, "", "")
call <SID>X("clojureDefine", s:wine, "", "")
call <SID>X("clojureException", s:red, "", "")
call <SID>X("clojureFunc", s:blue, "", "")
call <SID>X("clojureMacro", s:blue, "", "")
call <SID>X("clojureRepeat", s:blue, "", "")
call <SID>X("clojureSpecial", s:wine, "", "")
call <SID>X("clojureQuote", s:blue, "", "")
call <SID>X("clojureUnquote", s:blue, "", "")
call <SID>X("clojureMeta", s:blue, "", "")
call <SID>X("clojureDeref", s:blue, "", "")
call <SID>X("clojureAnonArg", s:blue, "", "")
call <SID>X("clojureRepeat", s:blue, "", "")
call <SID>X("clojureDispatch", s:blue, "", "")
" Scala Highlighting
call <SID>X("scalaKeyword", s:wine, "", "")
call <SID>X("scalaKeywordModifier", s:wine, "", "")
call <SID>X("scalaOperator", s:blue, "", "")
call <SID>X("scalaPackage", s:wine, "", "")
call <SID>X("scalaFqn", s:foreground, "", "")
call <SID>X("scalaFqnSet", s:foreground, "", "")
call <SID>X("scalaImport", s:wine, "", "")
call <SID>X("scalaBoolean", s:orange, "", "")
call <SID>X("scalaDef", s:wine, "", "")
call <SID>X("scalaVal", s:wine, "", "")
call <SID>X("scalaVar", s:wine, "", "")
call <SID>X("scalaClass", s:wine, "", "")
call <SID>X("scalaObject", s:wine, "", "")
call <SID>X("scalaTrait", s:wine, "", "")
call <SID>X("scalaDefName", s:blue, "", "")
call <SID>X("scalaValName", s:foreground, "", "")
call <SID>X("scalaVarName", s:foreground, "", "")
call <SID>X("scalaClassName", s:foreground, "", "")
call <SID>X("scalaType", s:yellow, "", "")
call <SID>X("scalaTypeSpecializer", s:yellow, "", "")
call <SID>X("scalaAnnotation", s:orange, "", "")
call <SID>X("scalaNumber", s:orange, "", "")
call <SID>X("scalaDefSpecializer", s:yellow, "", "")
call <SID>X("scalaClassSpecializer", s:yellow, "", "")
call <SID>X("scalaBackTick", s:green, "", "")
call <SID>X("scalaRoot", s:foreground, "", "")
call <SID>X("scalaMethodCall", s:blue, "", "")
call <SID>X("scalaCaseType", s:yellow, "", "")
call <SID>X("scalaLineComment", s:comment, "", "")
call <SID>X("scalaComment", s:comment, "", "")
call <SID>X("scalaDocComment", s:comment, "", "")
call <SID>X("scalaDocTags", s:comment, "", "")
call <SID>X("scalaEmptyString", s:green, "", "")
call <SID>X("scalaMultiLineString", s:green, "", "")
call <SID>X("scalaUnicode", s:orange, "", "")
call <SID>X("scalaString", s:green, "", "")
call <SID>X("scalaStringEscape", s:green, "", "")
call <SID>X("scalaSymbol", s:orange, "", "")
call <SID>X("scalaChar", s:orange, "", "")
call <SID>X("scalaXml", s:green, "", "")
call <SID>X("scalaConstructorSpecializer", s:yellow, "", "")
call <SID>X("scalaBackTick", s:blue, "", "")
" Git
call <SID>X("diffAdded", s:green, "", "")
call <SID>X("diffRemoved", s:red, "", "")
call <SID>X("gitcommitSummary", "", "", "bold")
" Delete Functions
delf <SID>X
delf <SID>rgb
delf <SID>colour
delf <SID>rgb_colour
delf <SID>rgb_level
delf <SID>rgb_number
delf <SID>grey_colour
delf <SID>grey_level
delf <SID>grey_number
endif

284
vim/colors/alduin.vim Executable file
View file

@ -0,0 +1,284 @@
" " ___ "
" " - -_, ,, |\ "
" " ( ~/|| || \\ ' "
" " ( / || || / \\ \\ \\ \\ \\/\\ "
" " \/==|| || || || || || || || || "
" " /_ _|| || || || || || || || || "
" " ( - \\, \\ \\/ \\/\\ \\ \\ \\ "
" SKYRIM BELONGS TO THE NORDS:
" A Vim colorscheme
" Author: Alessandro Yorba
" Script URL: https://github.com/AlessandroYorba/Alduin
" 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.
"=================================================================================
" BASIC COLORS:
"=================================================================================
" Foreground #dfdfaf | Selection #875f5f |
" Background #121212 | Selected Text #dfdfaf |
" CursorColor #dfdfaf | |
" Bold #ffffff | |
" Links #af0000 | |
"=================================================================================
" ANSI COLORS ALDUIN:
"=================================================================================
"---------------------------------------|-----------------------------------------
" NORMAL Hex xterm | "BRIGHT Hex xterm |
"---------------------------------------|-----------------------------------------
" Black #1c1c1c 0 | brBlack #87875f 8 |
" Red #af1600 1 | brRed #af5f5f 9 |
" Green #af5f00 2 | brGreen #d75f00 10 |
" Yellow #878787 3 | brYellow #5f5f87 11 |
" Blue #af875f 4 | brBlue #dfaf87 12 |
" Magenta #875f5f 5 | brMagenta #af8787 13 |
" Cyan #87afaf 6 | brCyan #afd7d7 14 |
" White #dfdfaf 7 | brWhite #ffdf87 15 |
"---------------------------------------|-----------------------------------------
"=================================================================================
" SETUP:
"=================================================================================
set background=dark
highlight clear
if exists("syntax_on")
syntax reset
endif
let g:colors_name="alduin"
if !exists("g:alduin_Shout_Clear_Skies")
let g:alduin_Shout_Clear_Skies = 0
endif
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")
"Alduin: 7am - 5pm
if 7 <= alduin_Hour && alduin_Hour < 17
let g:alduin_Shout_Dragon_Aspect = 0
let g:alduin_Shout_Become_Ethereal = 0
"Shout_Dragon_Aspect: 5pm - 12am
elseif 17 <= alduin_Hour && alduin_Hour < 24
let g:alduin_Shout_Dragon_Aspect = 1
let g:alduin_Shout_Become_Ethereal = 0
"Shout_Become_Ethereal: 12am - 7am
else
let g:alduin_Shout_Dragon_Aspect = 0
let g:alduin_Shout_Become_Ethereal = 1
endif
endif
"===================================================================================================================
" ALDUIN HIGHLIGHTING:
"===================================================================================================================
highlight! Number guifg=#af5f00 guibg=NONE gui=NONE ctermfg=130 ctermbg=NONE cterm=NONE
highlight! Constant guifg=#af8787 guibg=NONE gui=NONE ctermfg=138 ctermbg=NONE cterm=NONE
highlight! Statement guifg=#878787 guibg=NONE gui=NONE ctermfg=102 ctermbg=NONE cterm=NONE
highlight! PreProc guifg=#dfaf87 guibg=NONE gui=NONE ctermfg=180 ctermbg=NONE cterm=NONE
highlight! Search guifg=#dfdfaf guibg=#875f5f gui=NONE ctermfg=187 ctermbg=95 cterm=NONE
highlight! MatchParen guifg=#dfdfaf guibg=#875f5f gui=NONE ctermfg=187 ctermbg=95 cterm=NONE
highlight! ModeMsg guifg=#afaf87 guibg=NONE gui=NONE ctermfg=144 ctermbg=NONE cterm=NONE
highlight! Function guifg=#875f5f guibg=NONE gui=NONE ctermfg=95 ctermbg=NONE cterm=NONE
highlight! Identifier guifg=#87afaf guibg=NONE gui=NONE ctermfg=109 ctermbg=NONE cterm=NONE
highlight! Special guifg=#af5f5f guibg=NONE gui=NONE ctermfg=131 ctermbg=NONE cterm=NONE
highlight! Underlined guifg=#afd7d7 guibg=NONE gui=NONE ctermfg=152 ctermbg=NONE cterm=NONE
highlight! NonText guifg=#87875f guibg=NONE gui=NONE ctermfg=101 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! IncSearch guifg=#af5f5f guibg=NONE gui=reverse ctermfg=131 ctermbg=NONE cterm=reverse
highlight! Todo guifg=#af5f00 guibg=NONE gui=reverse ctermfg=130 ctermbg=NONE cterm=reverse
highlight! Error guifg=#af5f5f guibg=#121212 gui=reverse ctermfg=131 ctermbg=233 cterm=reverse
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
highlight! VisualNOS guifg=NONE guibg=NONE gui=underline ctermfg=NONE ctermbg=NONE cterm=underline
highlight! PmenuSbar guifg=NONE guibg=NONE gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE
highlight! link PmenuThumb PmenuSbar
highlight! link VertSplit LineNr
highlight! link WildMenu Search
highlight! link Visual Search
highlight! link PmenuSel Search
highlight! link MoreMsg PreProc
highlight! link Title PreProc
highlight! link Include PreProc
highlight! link Define PreProc
highlight! link Macro PreProc
highlight! link PreCondit PreProc
highlight! link htmlItalic PreProc
highlight! link cssIdentifier PreProc
highlight! link cssClassName PreProc
highlight! link SpecialKey Identifier
highlight! link Directory Special
highlight! link WarningMsg Special
highlight! link ErrorMsg Error
highlight! link storageclass Function
highlight! link structure Function
highlight! link typedef Function
highlight! link htmlArg Function
highlight! link Question Function
highlight! link Type Function
highlight! link Operator Statement
highlight! link Label Statement
highlight! link Conditional Statement
highlight! link Repeat Statement
highlight! link Keyword Statement
highlight! link Exception Statement
highlight! link Character Number
highlight! link Boolean Number
highlight! link Float Number
highlight! link VimCommentTitle SpecialComment
"===================================================================================================================
" ALDUIN 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! 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! LineNr guifg=#444444 guibg=#121212 gui=NONE ctermfg=238 ctermbg=233 cterm=NONE
highlight! CursorLineNR guifg=#1c1c1c guibg=#87875f gui=NONE ctermfg=234 ctermbg=101 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! ColorColumn guifg=NONE guibg=#262626 gui=NONE ctermfg=NONE ctermbg=235 cterm=NONE
highlight! link SignColumn TabLine
highlight! link TabLineFill TabLine
highlight! link Pmenu StatusLine
highlight! link TabLineSel StatusLine
highlight! link TabLine LineNr
highlight! link Folded LineNr
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! 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! LineNr guifg=#444444 guibg=#080808 gui=NONE ctermfg=238 ctermbg=232 cterm=NONE
highlight! CursorLineNR guifg=#121212 guibg=#87875f gui=NONE ctermfg=233 ctermbg=101 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! TabLine 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! ColorColumn guifg=NONE guibg=#1c1c1c gui=NONE ctermfg=NONE ctermbg=234 cterm=NONE
highlight! link SignColumn TabLine
highlight! link TabLineFill TabLine
highlight! link Pmenu StatusLine
highlight! link TabLineSel StatusLine
highlight! link TabLine LineNr
highlight! link Folded LineNr
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! 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! LineNr guifg=#444444 guibg=#000000 gui=NONE ctermfg=238 ctermbg=16 cterm=NONE
highlight! CursorLineNR guifg=#080808 guibg=#87875f gui=NONE ctermfg=232 ctermbg=101 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! TabLine 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! ColorColumn guifg=NONE guibg=#121212 gui=NONE ctermfg=NONE ctermbg=233 cterm=NONE
highlight! link SignColumn TabLine
highlight! link TabLineFill TabLine
highlight! link Pmenu StatusLine
highlight! link TabLineSel StatusLine
highlight! link TabLine LineNr
highlight! link Folded LineNr
endif
"===================================================================================================================
" SHOUT_CLEAR_SKIES:
"===================================================================================================================
if g:alduin_Shout_Clear_Skies
highlight! CursorLine guifg=NONE guibg=NONE gui=NONE ctermfg=NONE 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

181
vim/colors/breezy.vim Normal file
View file

@ -0,0 +1,181 @@
set background=dark
highlight clear
if exists('syntax_on')
syntax reset
endif
let g:colors_name = 'breezy'
hi Normal guibg=#232629 guifg=#cfcfc2 gui=NONE
hi LineNr guibg=#31363b guifg=#7a7c7d gui=NONE
hi FoldColumn guibg=#31363b guifg=#7a7c7d gui=NONE
hi Folded guibg=#31363b guifg=#7a7c7d gui=NONE
hi MatchParen guibg=#8e44ad guifg=#cfcfc2 gui=NONE
hi signColumn guibg=#31363b guifg=#7a7c7d gui=NONE
hi Comment guibg=NONE guifg=#7a7c7d gui=NONE
hi Conceal guibg=NONE guifg=#cfcfc2 gui=NONE
hi Constant guibg=NONE guifg=#f67400 gui=NONE
hi Boolean guibg=NONE guifg=#27aeae gui=NONE
hi Debug guibg=NONE guifg=#a5a6a8 gui=bold
hi Error guibg=#4d1f24 guifg=#95da4c gui=bold
hi Identifier guibg=NONE guifg=#8e44ad gui=NONE
hi Ignore guibg=NONE guifg=NONE gui=NONE
hi Operator guibg=NONE guifg=NONE gui=bold
hi PreProc guibg=NONE guifg=#27ae60 gui=NONE
hi Special guibg=NONE guifg=#3daee9 gui=NONE
hi SpecialComment guibg=NONE guifg=#a5a6a8 gui=NONE
hi Statement guibg=NONE guifg=#fdbc4b gui=bold
hi String guibg=NONE guifg=#f44f4f gui=NONE
hi Todo guibg=#451e1a guifg=#ca9219 gui=NONE
hi Type guibg=NONE guifg=#2980b9 gui=NONE
hi Underlined guibg=NONE guifg=#27ae60 gui=underline
hi NonText guibg=NONE guifg=#7a7c7d gui=NONE
hi Pmenu guibg=#31363b guifg=#cfcfc2 gui=NONE
hi PmenuSbar guibg=#606365 guifg=NONE gui=NONE
hi PmenuSel guibg=#2d5c76 guifg=#cfcfc2 gui=NONE
hi PmenuThumb guibg=#a8a9ab guifg=#a8a9ab gui=NONE
hi ErrorMsg guibg=#4d1f24 guifg=#95da4c gui=bold
hi ModeMsg guibg=NONE guifg=NONE gui=bold
hi MoreMsg guibg=NONE guifg=#fdbc4b gui=bold
hi Question guibg=NONE guifg=#fdbc4b gui=bold
hi WarningMsg guibg=NONE guifg=#ffffff gui=NONE
hi TabLine guibg=#31363b guifg=#7a7c7d gui=NONE
hi TabLineFill guibg=#31363b guifg=NONE gui=NONE
hi TabLineSel guibg=#2d5c76 guifg=NONE gui=NONE
hi Cursor guibg=NONE guifg=NONE gui=reverse
hi CursorColumn guibg=#2a2e32 guifg=NONE gui=NONE
hi CursorLineNr guibg=#31363b guifg=#a5a6a8 gui=NONE
hi CursorLine guibg=#2a2e32 guifg=NONE gui=NONE
hi helpLeadBlank guibg=NONE guifg=NONE gui=NONE
hi helpNormal guibg=NONE guifg=NONE gui=NONE
hi StatusLine guibg=#2d5c76 guifg=NONE gui=NONE
hi StatusLineNC guibg=#31363b guifg=#7a7c7d gui=NONE
hi Visual guibg=#2d5c76 guifg=NONE gui=NONE
hi VisualNOS guibg=NONE guifg=NONE gui=underline
hi VertSplit guibg=#2d5c76 guifg=#2d5c76 gui=NONE
hi WildMenu guibg=NONE guifg=NONE gui=NONE
hi SpecialKey guibg=NONE guifg=#7a7c7d gui=NONE
hi Title guibg=NONE guifg=#ffffff gui=NONE
hi DiffAdd guibg=#123723 guifg=NONE gui=NONE
hi DiffChange guibg=#424218 guifg=NONE gui=NONE
hi DiffDelete guibg=#4d1f24 guifg=NONE gui=NONE
hi DiffText guibg=NONE guifg=NONE gui=reverse
hi IncSearch guibg=#808021 guifg=#cfcfc2 gui=NONE
hi Search guibg=#218058 guifg=#cfcfc2 gui=NONE
hi Directory guibg=NONE guifg=#ffffff gui=NONE
hi SpellBad guibg=NONE guifg=NONE gui=undercurl
hi SpellCap guibg=NONE guifg=NONE gui=undercurl
hi SpellLocal guibg=NONE guifg=NONE gui=undercurl
hi SpellRare guibg=NONE guifg=NONE gui=undercurl
hi ColorColumn guibg=#2a2e32 guifg=NONE gui=NONE
" general ---------------------------------------------------------------------
hi link Character String
hi link Conditional Statement
hi link Define Type
hi link Delimiter Normal
hi link Exception Statement
hi link Float Number
hi link Function Normal
hi link HelpCommand Statement
hi link HelpExample Statement
hi link Include PreProc
hi link Keyword Statement
hi link Label Statement
hi link Macro PreProc
hi link Number Constant
hi link PreCondit PreProc
hi link Repeat Statement
hi link SpecialChar Special
hi link StorageClass Type
hi link Structure Type
hi link Typedef Type
" html -----------------------------------------------------------------------
hi link htmlEndTag htmlTagName
hi link htmlLink PreProc
hi link htmlSpecialTagName htmlTagName
hi link htmlTag htmlTagName
hi link htmlBold Normal
hi link htmlItalic Normal
hi link xmlTag Statement
hi link xmlTagName Statement
hi link xmlEndTag Statement
" diff msgs ------------------------------------------------------------------
hi link diffBDiffer WarningMsg
hi link diffCommon WarningMsg
hi link diffDiffer WarningMsg
hi link diffIdentical WarningMsg
hi link diffIsA WarningMsg
hi link diffNoEOL WarningMsg
hi link diffOnly WarningMsg
hi link diffRemoved WarningMsg
hi link diffAdded String
" markdown -------------------------------------------------------------------
hi markdownH1 guibg=NONE guifg=#8e44ad gui=bold
hi markdownH2 guibg=NONE guifg=#8e44ad gui=bold
hi markdownH3 guibg=NONE guifg=#8e44ad gui=bold
hi markdownH4 guibg=NONE guifg=#8e44ad gui=bold
hi markdownH5 guibg=NONE guifg=#8e44ad gui=bold
hi markdownH6 guibg=NONE guifg=#8e44ad gui=bold
hi markdownLineBreak guibg=NONE guifg=#7a7c7d gui=underline
hi markdownItalic guibg=NONE guifg=NONE gui=italic
hi markdownBold guibg=NONE guifg=NONE gui=bold
hi markdownBoldItalic guibg=NONE guifg=NONE gui=bold,italic
hi link markdownHeadingDelimiter Comment
hi link markdownLinkText PreProc
hi link markdownUrl PreProc
hi link markdownCode Constant
hi link markdownCodeBlock Constant
hi link markdownCodeDelimiter Comment
hi link markdownOrderedListMarker Statement
hi link markdownListMarker Statement
hi link markdownBlockquote Special
hi link markdownRule Special
" python ---------------------------------------------------------------------
hi pythonBuiltin guibg=NONE guifg=#7f8c8d gui=NONE
hi link pythonImport PreProc
hi link pythonFunction Normal
hi link pythonExceptions PreProc
" custom:
hi pythonMagic guibg=NONE guifg=#8e44ad gui=NONE
hi link pythonDef Operator
hi link pythonDocstring Comment
hi link pythonSpecial Boolean
hi link pythonDecorator Type
hi link pythonAs PreProc
" c / cpp --------------------------------------------------------------------
hi link cppStatement Operator
hi link cIncluded cInclude
" PLUGINS --------------------------------------------------------------------
hi AleErrorSign guibg=#31363b guifg=#f67400 gui=NONE
hi AleWarningSign guibg=#31363b guifg=#fdbc4b gui=NONE

276
vim/colors/molokai.vim Normal file
View file

@ -0,0 +1,276 @@
" Vim color file
"
" Author: Tomas Restrepo <tomas@winterdom.com>
" https://github.com/tomasr/molokai
"
" Note: Based on the Monokai theme for TextMate
" by Wimer Hazenberg and its darker variant
" by Hamish Stuart Macpherson
"
hi clear
if version > 580
" no guarantees for version 5.8 and below, but this makes it stop
" complaining
hi clear
if exists("syntax_on")
syntax reset
endif
endif
let g:colors_name="molokai"
if exists("g:molokai_original")
let s:molokai_original = g:molokai_original
else
let s:molokai_original = 0
endif
hi Boolean guifg=#AE81FF
hi Character guifg=#E6DB74
hi Number guifg=#AE81FF
hi String guifg=#E6DB74
hi Conditional guifg=#F92672 gui=bold
hi Constant guifg=#AE81FF gui=bold
hi Cursor guifg=#000000 guibg=#F8F8F0
hi iCursor guifg=#000000 guibg=#F8F8F0
hi Debug guifg=#BCA3A3 gui=bold
hi Define guifg=#66D9EF
hi Delimiter guifg=#8F8F8F
hi DiffAdd guibg=#13354A
hi DiffChange guifg=#89807D guibg=#4C4745
hi DiffDelete guifg=#960050 guibg=#1E0010
hi DiffText guibg=#4C4745 gui=italic,bold
hi Directory guifg=#A6E22E gui=bold
hi Error guifg=#E6DB74 guibg=#1E0010
hi ErrorMsg guifg=#F92672 guibg=#232526 gui=bold
hi Exception guifg=#A6E22E gui=bold
hi Float guifg=#AE81FF
hi FoldColumn guifg=#465457 guibg=#000000
hi Folded guifg=#465457 guibg=#000000
hi Function guifg=#A6E22E
hi Identifier guifg=#FD971F
hi Ignore guifg=#808080 guibg=bg
hi IncSearch guifg=#C4BE89 guibg=#000000
hi Keyword guifg=#F92672 gui=bold
hi Label guifg=#E6DB74 gui=none
hi Macro guifg=#C4BE89 gui=italic
hi SpecialKey guifg=#66D9EF gui=italic
hi MatchParen guifg=#000000 guibg=#FD971F gui=bold
hi ModeMsg guifg=#E6DB74
hi MoreMsg guifg=#E6DB74
hi Operator guifg=#F92672
" complete menu
hi Pmenu guifg=#66D9EF guibg=#000000
hi PmenuSel guibg=#808080
hi PmenuSbar guibg=#080808
hi PmenuThumb guifg=#66D9EF
hi PreCondit guifg=#A6E22E gui=bold
hi PreProc guifg=#A6E22E
hi Question guifg=#66D9EF
hi Repeat guifg=#F92672 gui=bold
hi Search guifg=#000000 guibg=#FFE792
" marks
hi SignColumn guifg=#A6E22E guibg=#232526
hi SpecialChar guifg=#F92672 gui=bold
hi SpecialComment guifg=#7E8E91 gui=bold
hi Special guifg=#66D9EF guibg=bg gui=italic
if has("spell")
hi SpellBad guisp=#FF0000 gui=undercurl
hi SpellCap guisp=#7070F0 gui=undercurl
hi SpellLocal guisp=#70F0F0 gui=undercurl
hi SpellRare guisp=#FFFFFF gui=undercurl
endif
hi Statement guifg=#F92672 gui=bold
hi StatusLine guifg=#455354 guibg=fg
hi StatusLineNC guifg=#808080 guibg=#080808
hi StorageClass guifg=#FD971F gui=italic
hi Structure guifg=#66D9EF
hi Tag guifg=#F92672 gui=italic
hi Title guifg=#ef5939
hi Todo guifg=#FFFFFF guibg=bg gui=bold
hi Typedef guifg=#66D9EF
hi Type guifg=#66D9EF gui=none
hi Underlined guifg=#808080 gui=underline
hi VertSplit guifg=#808080 guibg=#080808 gui=bold
hi VisualNOS guibg=#403D3D
hi Visual guibg=#403D3D
hi WarningMsg guifg=#FFFFFF guibg=#333333 gui=bold
hi WildMenu guifg=#66D9EF guibg=#000000
hi TabLineFill guifg=#1B1D1E guibg=#1B1D1E
hi TabLine guibg=#1B1D1E guifg=#808080 gui=none
if s:molokai_original == 1
hi Normal guifg=#F8F8F2 guibg=#272822
hi Comment guifg=#75715E
hi CursorLine guibg=#3E3D32
hi CursorLineNr guifg=#FD971F gui=none
hi CursorColumn guibg=#3E3D32
hi ColorColumn guibg=#3B3A32
hi LineNr guifg=#BCBCBC guibg=#3B3A32
hi NonText guifg=#75715E
hi SpecialKey guifg=#75715E
else
hi Normal guifg=#F8F8F2 guibg=#1B1D1E
hi Comment guifg=#7E8E91
hi CursorLine guibg=#293739
hi CursorLineNr guifg=#FD971F gui=none
hi CursorColumn guibg=#293739
hi ColorColumn guibg=#232526
hi LineNr guifg=#465457 guibg=#232526
hi NonText guifg=#465457
hi SpecialKey guifg=#465457
end
"
" Support for 256-color terminal
"
if &t_Co > 255
if s:molokai_original == 1
hi Normal ctermbg=234
hi CursorLine ctermbg=235 cterm=none
hi CursorLineNr ctermfg=208 cterm=none
else
hi Normal ctermfg=252 ctermbg=233
hi CursorLine ctermbg=234 cterm=none
hi CursorLineNr ctermfg=208 cterm=none
endif
hi Boolean ctermfg=135
hi Character ctermfg=144
hi Number ctermfg=135
hi String ctermfg=144
hi Conditional ctermfg=161 cterm=bold
hi Constant ctermfg=135 cterm=bold
hi Cursor ctermfg=16 ctermbg=253
hi Debug ctermfg=225 cterm=bold
hi Define ctermfg=81
hi Delimiter ctermfg=241
hi DiffAdd ctermbg=24
hi DiffChange ctermfg=181 ctermbg=239
hi DiffDelete ctermfg=162 ctermbg=53
hi DiffText ctermbg=102 cterm=bold
hi Directory ctermfg=118 cterm=bold
hi Error ctermfg=219 ctermbg=89
hi ErrorMsg ctermfg=199 ctermbg=16 cterm=bold
hi Exception ctermfg=118 cterm=bold
hi Float ctermfg=135
hi FoldColumn ctermfg=67 ctermbg=16
hi Folded ctermfg=67 ctermbg=16
hi Function ctermfg=118
hi Identifier ctermfg=208 cterm=none
hi Ignore ctermfg=244 ctermbg=232
hi IncSearch ctermfg=193 ctermbg=16
hi keyword ctermfg=161 cterm=bold
hi Label ctermfg=229 cterm=none
hi Macro ctermfg=193
hi SpecialKey ctermfg=81
hi MatchParen ctermfg=233 ctermbg=208 cterm=bold
hi ModeMsg ctermfg=229
hi MoreMsg ctermfg=229
hi Operator ctermfg=161
" complete menu
hi Pmenu ctermfg=81 ctermbg=16
hi PmenuSel ctermfg=255 ctermbg=242
hi PmenuSbar ctermbg=232
hi PmenuThumb ctermfg=81
hi PreCondit ctermfg=118 cterm=bold
hi PreProc ctermfg=118
hi Question ctermfg=81
hi Repeat ctermfg=161 cterm=bold
hi Search ctermfg=0 ctermbg=222 cterm=NONE
" marks column
hi SignColumn ctermfg=118 ctermbg=235
hi SpecialChar ctermfg=161 cterm=bold
hi SpecialComment ctermfg=245 cterm=bold
hi Special ctermfg=81
if has("spell")
hi SpellBad ctermbg=52
hi SpellCap ctermbg=17
hi SpellLocal ctermbg=17
hi SpellRare ctermfg=none ctermbg=none cterm=reverse
endif
hi Statement ctermfg=161 cterm=bold
hi StatusLine ctermfg=238 ctermbg=253
hi StatusLineNC ctermfg=244 ctermbg=232
hi StorageClass ctermfg=208
hi Structure ctermfg=81
hi Tag ctermfg=161
hi Title ctermfg=166
hi Todo ctermfg=231 ctermbg=232 cterm=bold
hi Typedef ctermfg=81
hi Type ctermfg=81 cterm=none
hi Underlined ctermfg=244 cterm=underline
hi VertSplit ctermfg=244 ctermbg=232 cterm=bold
hi VisualNOS ctermbg=238
hi Visual ctermbg=235
hi WarningMsg ctermfg=231 ctermbg=238 cterm=bold
hi WildMenu ctermfg=81 ctermbg=16
hi Comment ctermfg=59
hi CursorColumn ctermbg=236
hi ColorColumn ctermbg=236
hi LineNr ctermfg=250 ctermbg=236
hi NonText ctermfg=59
hi SpecialKey ctermfg=59
if exists("g:rehash256") && g:rehash256 == 1
hi Normal ctermfg=252 ctermbg=234
hi CursorLine ctermbg=236 cterm=none
hi CursorLineNr ctermfg=208 cterm=none
hi Boolean ctermfg=141
hi Character ctermfg=222
hi Number ctermfg=141
hi String ctermfg=222
hi Conditional ctermfg=197 cterm=bold
hi Constant ctermfg=141 cterm=bold
hi DiffDelete ctermfg=125 ctermbg=233
hi Directory ctermfg=154 cterm=bold
hi Error ctermfg=222 ctermbg=233
hi Exception ctermfg=154 cterm=bold
hi Float ctermfg=141
hi Function ctermfg=154
hi Identifier ctermfg=208
hi Keyword ctermfg=197 cterm=bold
hi Operator ctermfg=197
hi PreCondit ctermfg=154 cterm=bold
hi PreProc ctermfg=154
hi Repeat ctermfg=197 cterm=bold
hi Statement ctermfg=197 cterm=bold
hi Tag ctermfg=197
hi Title ctermfg=203
hi Visual ctermbg=238
hi Comment ctermfg=244
hi LineNr ctermfg=239 ctermbg=235
hi NonText ctermfg=239
hi SpecialKey ctermfg=239
endif
end
" Must be at the end, because of ctermbg=234 bug.
" https://groups.google.com/forum/#!msg/vim_dev/afPqwAFNdrU/nqh6tOM87QUJ
set background=dark

1117
vim/colors/solarized.vim Normal file

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1 @@
Donker grijs #424242