├── .XCompose ├── .ackrc ├── .gitconfig ├── .gitignore ├── .gitignore-global ├── .gitmodules ├── .psqlrc ├── .screenrc ├── .tmux.conf ├── .vim ├── after │ ├── plugin │ │ └── vim-unimpaired.vim │ └── syntax │ │ └── rust.vim ├── autoload │ └── pathogen.vim ├── backup │ └── .keep ├── colors │ └── molokai.vim ├── ftdetect │ ├── cython.vim │ ├── mako.vim │ ├── rust.vim │ ├── scss.vim │ └── tt.vim ├── indent │ ├── html.vim │ └── rust.vim ├── swap │ └── .keep ├── syntax │ ├── cython.vim │ ├── html.vim │ ├── javascript │ │ └── html5.vim │ ├── mako.vim │ ├── perl.vim │ ├── scss.vim │ ├── tt2.vim │ └── tt2html.vim └── undo │ └── .keep ├── .vimrc ├── .zshenv ├── .zshrc ├── README.md └── install.sh /.XCompose: -------------------------------------------------------------------------------- 1 | include "%L" 2 | 3 | # Missing letters 4 | : "Ā" U0100 # LATIN CAPITAL LETTER A WITH MACRON 5 | : "Ē" U0112 # LATIN CAPITAL LETTER E WITH MACRON 6 | : "Ī" U012A # LATIN CAPITAL LETTER I WITH MACRON 7 | : "Ō" U014C # LATIN CAPITAL LETTER O WITH MACRON 8 | : "Ū" U016A # LATIN CAPITAL LETTER U WITH MACRON 9 | : "ā" U0101 # LATIN SMALL LETTER A WITH MACRON 10 | : "ē" U0113 # LATIN SMALL LETTER E WITH MACRON 11 | : "ī" U012B # LATIN SMALL LETTER I WITH MACRON 12 | : "ō" U014D # LATIN SMALL LETTER O WITH MACRON 13 | : "ū" U016B # LATIN SMALL LETTER U WITH MACRON 14 | 15 | : "Ǣ" U01E2 # LATIN CAPITAL LETTER AE WITH MACRON 16 | : "ǣ" U01E3 # LATIN SMALL LETTER AE WITH MACRON 17 | : "Ȳ" U0232 # LATIN CAPITAL LETTER Y WITH MACRON 18 | : "ȳ" U0233 # LATIN SMALL LETTER Y WITH MACRON 19 | : "Ḡ" U1E20 # LATIN CAPITAL LETTER G WITH MACRON 20 | : "ḡ" U1E21 # LATIN SMALL LETTER G WITH MACRON 21 | 22 | # Arrows 23 | : "←" U2190 24 | : "←" U2190 25 | : "→" U2192 26 | : "↔" U2194 27 | : "↑" U2191 28 | : "↑" U2191 29 | : "↓" U2193 30 | : "↓" U2193 31 | : "↚" U219A 32 | : "↛" U219B 33 | : "↮" U21AE 34 | 35 | # Punctuation 36 | : "•" U2022 # BULLET 37 | : "◦" U25E6 # WHITE BULLET 38 | : "‣" U2023 # TRIANGULAR BULLET 39 | : "›" U203a 40 | : "‹" U2039 41 | : "¦" brokenbar 42 | : "†" U2020 43 | : "␤" U2424 44 | ## Conflicts with X sequence for # ASCII hash 45 | : "‡" U2021 46 | <3> : "⁂" U2042 47 | 48 | # Spaces 49 |

: " " nobreakspace 50 | <0> : "​" U200B # ZERO WIDTH SPACE 51 |

: "​" U200B # ZERO WIDTH SPACE 52 | : "­" U00AD # SOFT HYPHEN 53 | : "­" U00AD # SOFT HYPHEN 54 | 55 | # Misc goofy stuff 56 | : "☹" U2639 57 | : "☺" U263a 58 | : "☻" U263b 59 | <3> : "♥" U2665 60 | <3> : "♡" U2661 61 | : "♩" U2669 62 | : "♪" U266a 63 | : "♫" U266b 64 | : "☑" U2611 65 | : "…" U2026 66 | : "✓" U2713 67 | : "✗" U2717 # ballot X — taken by Xorg for multiply 68 | 69 | # MATH 70 | : "≈" U2248 71 | : "≉" U2249 72 | : "≠" U2248 73 | : "≠" U2248 74 | : "≠" U2260 75 | : "≥" U2265 76 | : "≤" U2264 77 | : "≮" U226E 78 | : "≯" U226F 79 | : "≡" U2261 80 | : "≅" U2245 81 | : "∈" U2208 82 | : "∉" U2209 83 | : "∉" U2209 84 | : "⊂" U2282 85 | : "⊄" U2284 86 | : "⊄" U2284 87 | : "⊆" U2286 88 | : "⊈" U2288 89 | : "⊈" U2288 90 | : "√" U221a 91 | <3> : "∛" U221b 92 | <4> : "∜" U221c 93 | <4> : "∜" U221c 94 | <1> <0> : "∞" U221e 95 | <2> <0> : "ℵ" U2135 96 | : "‱" U2031 97 | : "∴" U2234 98 | : "∠" U2220 99 | <3> : "ℇ" U2107 100 | : "ƒ" U0192 101 | # Greek letters and things based on them 102 | : "∆" U2206 # not capital delta 103 | : "∑" U2211 # not capital sigma 104 | : "∏" U220f # not capital pi 105 | : "ϕ" U03d5 # not phi 106 | : "Α" U0391 107 | : "α" U03b1 108 | : "Β" U0392 109 | : "β" U03b2 110 | : "Γ" U0393 111 | : "γ" U03b3 112 | : "Δ" U03b4 113 | : "δ" U03b4 114 | : "Ε" U0395 115 | : "ε" U03b5 116 | : "Ζ" U0396 117 | : "ζ" U03b6 118 | : "Η" U0397 119 | : "η" U03b7 120 | : "Θ" U0398 121 | : "θ" U03b8 122 | : "Ι" U0399 123 | : "ι" U03b9 124 | : "Κ" U039a 125 | : "κ" U03ba 126 | : "Λ" U039b 127 | : "λ" U03bb 128 | : "Μ" U039c 129 | : "μ" U03bc 130 | : "Ν" U039d 131 | : "ν" U03bd 132 | : "Ξ" U039e 133 | : "ξ" U03be 134 | : "Ο" U039f 135 | : "ο" U03bf 136 |

: "Π" U03a0 137 |

: "π" U03c0 138 | : "Ρ" U03a1 139 | : "ρ" U03c1 140 | : "Σ" U03a3 141 | : "σ" U03c3 142 | <$> : "ς" U03c2 143 | : "Τ" U03a4 144 | : "τ" U03c4 145 | : "Υ" U03a5 146 | : "υ" U03c5 147 | : "Φ" U03a6 148 | : "φ" U03c6 149 | : "Χ" U03a7 150 | : "χ" U03c7 151 | : "Ψ" U03a8 152 | : "ψ" U03c8 153 | : "Ω" U03a9 154 | : "ω" U03c9 155 | -------------------------------------------------------------------------------- /.ackrc: -------------------------------------------------------------------------------- 1 | --type-set 2 | mako=.mako 3 | 4 | # Sort the list of files before searching; slower, but deterministic and human-friendly 5 | --sort-files 6 | 7 | # If the given regex is all lowercase, ignore case; otherwise preserve it 8 | --smart-case 9 | 10 | # Pipe output into `less`, using the same defaults as git 11 | --pager 12 | less -RFSX 13 | -------------------------------------------------------------------------------- /.gitconfig: -------------------------------------------------------------------------------- 1 | [core] 2 | excludesfile = ~/.gitignore-global 3 | pager = less -SR 4 | 5 | [user] 6 | name = Eevee (Lexy Munroe) 7 | email = eevee.git@veekun.com 8 | 9 | [merge] 10 | conflictstyle = diff3 11 | 12 | [color "branch"] 13 | current = yellow reverse 14 | local = yellow 15 | remote = green 16 | [color "diff"] 17 | meta = yellow bold 18 | frag = magenta bold 19 | old = red bold 20 | new = green bold 21 | [color "status"] 22 | added = yellow 23 | changed = green 24 | untracked = cyan 25 | 26 | [alias] 27 | st = status 28 | ci = commit 29 | br = branch 30 | co = checkout 31 | df = diff 32 | lg = log --oneline --graph --decorate 33 | 34 | [push] 35 | default = current 36 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Everything in the vim junk dirs; only care that they exist 2 | .vim/backup 3 | .vim/undo 4 | .vim/swap 5 | -------------------------------------------------------------------------------- /.gitignore-global: -------------------------------------------------------------------------------- 1 | # KDE's directory settings file 2 | .directory 3 | 4 | # vim cruft 5 | .*.sw* 6 | 7 | # Python build artifacts 8 | *.pyc 9 | *.pyo 10 | __pycache__/ 11 | *.egg-info/ 12 | .ropeproject/ 13 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule ".vim/bundle/mw-utils"] 2 | path = .vim/bundle/mw-utils 3 | url = https://github.com/MarcWeber/vim-addon-mw-utils 4 | [submodule ".vim/bundle/gundo"] 5 | path = .vim/bundle/gundo 6 | url = https://github.com/sjl/gundo.vim 7 | [submodule ".vim/bundle/ack"] 8 | path = .vim/bundle/ack 9 | url = https://github.com/mileszs/ack.vim 10 | [submodule ".vim/bundle/gitgutter"] 11 | path = .vim/bundle/gitgutter 12 | url = https://github.com/airblade/vim-gitgutter 13 | [submodule ".vim/bundle/rust"] 14 | path = .vim/bundle/rust 15 | url = https://github.com/rust-lang/rust.vim 16 | [submodule ".vim/bundle/characterize"] 17 | path = .vim/bundle/characterize 18 | url = https://github.com/tpope/vim-characterize 19 | [submodule ".vim/bundle/markdown"] 20 | path = .vim/bundle/markdown 21 | url = https://github.com/tpope/vim-markdown 22 | [submodule ".vim/bundle/vim-airline"] 23 | path = .vim/bundle/vim-airline 24 | url = https://github.com/bling/vim-airline 25 | [submodule ".vim/bundle/vim-unimpaired"] 26 | path = .vim/bundle/vim-unimpaired 27 | url = https://github.com/tpope/vim-unimpaired.git 28 | [submodule ".vim/bundle/vim-surround"] 29 | path = .vim/bundle/vim-surround 30 | url = https://github.com/tpope/vim-surround.git 31 | [submodule ".vim/bundle/vim-indent-object"] 32 | path = .vim/bundle/vim-indent-object 33 | url = https://github.com/michaeljsmith/vim-indent-object.git 34 | [submodule ".vim/bundle/vim-commentary"] 35 | path = .vim/bundle/vim-commentary 36 | url = https://github.com/tpope/vim-commentary.git 37 | [submodule ".vim/bundle/YouCompleteMe"] 38 | path = .vim/bundle/YouCompleteMe 39 | url = https://github.com/Valloric/YouCompleteMe 40 | [submodule ".vim/bundle/denite"] 41 | path = .vim/bundle/denite 42 | url = https://github.com/Shougo/denite.nvim 43 | [submodule ".vim/bundle/vim-sleuth"] 44 | path = .vim/bundle/vim-sleuth 45 | url = https://github.com/tpope/vim-sleuth.git 46 | [submodule ".vim/bundle/vim-inform7"] 47 | path = .vim/bundle/vim-inform7 48 | url = https://github.com/lesliev/vim-inform7.git 49 | [submodule ".vim/bundle/vim-renpy"] 50 | path = .vim/bundle/vim-renpy 51 | url = https://github.com/chaimleib/vim-renpy 52 | [submodule ".vim/bundle/tmux-focus-events"] 53 | path = .vim/bundle/tmux-focus-events 54 | url = https://github.com/tmux-plugins/vim-tmux-focus-events 55 | [submodule ".vim/bundle/ale"] 56 | path = .vim/bundle/ale 57 | url = https://github.com/w0rp/ale 58 | [submodule ".vim/bundle/rgbds"] 59 | path = .vim/bundle/rgbds 60 | url = https://github.com/EmmaEwert/vim-rgbds 61 | -------------------------------------------------------------------------------- /.psqlrc: -------------------------------------------------------------------------------- 1 | \set QUIET 1 2 | \timing on 3 | \set ON_ERROR_ROLLBACK interactive 4 | \set VERBOSITY verbose 5 | \set PROMPT1 '%[%033[1;35m%]%M/%/%R%[%033[0m%]% ☘ ' 6 | \set PROMPT2 '%[%033[1;30m%]...%[%033[0m%] %R ' 7 | \set HISTFILE ~/.psql_history- :DBNAME 8 | \set HISTCONTROL ignoredups 9 | \set COMP_KEYWORD_CASE upper 10 | \pset null ␀ 11 | \pset linestyle unicode 12 | \unset QUIET 13 | -------------------------------------------------------------------------------- /.screenrc: -------------------------------------------------------------------------------- 1 | caption always "%{= kw}%?%-Lw%?%{Kw}%n*%f %t%?(%u)%?%{kw}%?%+Lw%? %=%{= dw} %H " 2 | 3 | # terminfo and termcap for nice 256 color terminal 4 | # allow bold colors - necessary for some reason 5 | attrcolor b ".I" 6 | # tell screen how to set colors. AB = background, AF=foreground 7 | termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm' 8 | # erase background with current bg color 9 | defbce "on" 10 | -------------------------------------------------------------------------------- /.tmux.conf: -------------------------------------------------------------------------------- 1 | # Switch me back to ^A, thanks 2 | set-option -g prefix C-a 3 | unbind-key C-b 4 | bind-key a send-prefix 5 | 6 | # I miss ^A^A and ^ASpace 7 | bind-key C-a last-window 8 | bind-key Space next-window 9 | bind-key C-Space previous-window 10 | 11 | # New windows should start in the same directory as the current pane 12 | bind-key c neww -c "#{pane_current_path}" 13 | 14 | # Options 15 | set-option -sg escape-time 50 # this makes vim fucking awful to use 16 | set-option -g base-index 1 17 | set-option -g default-terminal screen-256color 18 | set-option -g history-limit 5000 19 | set-option -g lock-command vlock 20 | set-option -g focus-events on # allows terminal vim to know when it gets focus 21 | set-window-option -g xterm-keys on # to make ctrl-arrow, etc. work 22 | 23 | set-window-option -g allow-rename on 24 | set-option -g set-titles on 25 | set-option -g set-titles-string '[#{session_name}:#{window_index} #{host_short}] #{window_name}' # use screen title 26 | 27 | # COLORS. 28 | # For reference, the xterm color cube points are: 00, 5F, 87, AF, D7, FF 29 | # Status bar has a dim gray background 30 | set-option -g status-style fg=colour0,bg=colour234 31 | # Left shows the session name, in blue 32 | set-option -g status-left-style fg=colour74,bg=default 33 | # Right is some CPU stats, so terminal green 34 | set-option -g status-right-style fg=colour71,bg=default 35 | # Windows are medium gray; current window is white 36 | set-window-option -g window-status-style fg=colour244 37 | set-window-option -g window-status-current-style 'fg=#ffffff,bg=#000000' 38 | # Beeped windows get a blinding orange background 39 | set-window-option -g window-status-bell-style 'fg=#000000,bg=#d78700,none' 40 | # Trim window titles to a reasonable length 41 | # FIXME used to use #[default] here but it broke in 2.9 42 | set-window-option -g window-status-format '#[fg=yellow]#{window_flags}#{window_index}#[fg=colour244] #{=32:window_name} ' 43 | set-window-option -g window-status-current-format '#[fg=yellow] #{window_index}#[fg=#ffffff] #{=32:window_name} ' 44 | -------------------------------------------------------------------------------- /.vim/after/plugin/vim-unimpaired.vim: -------------------------------------------------------------------------------- 1 | " unmap =p and =P, which fuck up my = binding 2 | nunmap =p 3 | nunmap =P 4 | -------------------------------------------------------------------------------- /.vim/after/syntax/rust.vim: -------------------------------------------------------------------------------- 1 | if exists('g:no_rust_conceal') || !has('conceal') || &enc != 'utf-8' 2 | finish 3 | endif 4 | 5 | " For those who don't want to see `::`... 6 | if exists('g:rust_conceal_mod_path') 7 | syn match rustNiceOperator "::" conceal cchar=ㆍ 8 | endif 9 | 10 | syn match rustLeftArrowHead contained "-" conceal cchar=  11 | syn match rustLeftArrowTail contained "<" conceal cchar=⟵ 12 | syn match rustNiceOperator "<-" contains=rustLeftArrowHead,rustLeftArrowTail 13 | 14 | syn match rustRightArrowHead contained ">" conceal cchar=  15 | syn match rustRightArrowTail contained "-" conceal cchar=⟶ 16 | syn match rustNiceOperator "->" contains=rustRightArrowHead,rustRightArrowTail 17 | 18 | syn match rustLeftRightArrowHead contained ">" conceal cchar=  19 | syn match rustLeftRightArrowTail contained "<-" conceal cchar=⟷ 20 | syn match rustNiceOperator "<->" contains=rustLeftRightArrowHead,rustLeftRightArrowTail 21 | 22 | syn match rustFatRightArrowHead contained ">" conceal cchar=  23 | syn match rustFatRightArrowTail contained "=" conceal cchar=⟹ 24 | syn match rustNiceOperator "=>" contains=rustFatRightArrowHead,rustFatRightArrowTail 25 | 26 | syn match rustNiceOperator /\<\@!_\(_*\>\)\@=/ conceal cchar=′ 27 | 28 | hi link rustNiceOperator Operator 29 | 30 | if !exists('g:rust_conceal_mod_path') 31 | hi! link Conceal Operator 32 | endif 33 | 34 | setlocal conceallevel=2 35 | -------------------------------------------------------------------------------- /.vim/autoload/pathogen.vim: -------------------------------------------------------------------------------- 1 | " pathogen.vim - path option manipulation 2 | " Maintainer: Tim Pope 3 | " Version: 2.0 4 | 5 | " Install in ~/.vim/autoload (or ~\vimfiles\autoload). 6 | " 7 | " For management of individually installed plugins in ~/.vim/bundle (or 8 | " ~\vimfiles\bundle), adding `call pathogen#infect()` to your .vimrc 9 | " prior to `filetype plugin indent on` is the only other setup necessary. 10 | " 11 | " The API is documented inline below. For maximum ease of reading, 12 | " :set foldmethod=marker 13 | 14 | if exists("g:loaded_pathogen") || &cp 15 | finish 16 | endif 17 | let g:loaded_pathogen = 1 18 | 19 | " Point of entry for basic default usage. Give a directory name to invoke 20 | " pathogen#runtime_append_all_bundles() (defaults to "bundle"), or a full path 21 | " to invoke pathogen#runtime_prepend_subdirectories(). Afterwards, 22 | " pathogen#cycle_filetype() is invoked. 23 | function! pathogen#infect(...) abort " {{{1 24 | let source_path = a:0 ? a:1 : 'bundle' 25 | if source_path =~# '[\\/]' 26 | call pathogen#runtime_prepend_subdirectories(source_path) 27 | else 28 | call pathogen#runtime_append_all_bundles(source_path) 29 | endif 30 | call pathogen#cycle_filetype() 31 | endfunction " }}}1 32 | 33 | " Split a path into a list. 34 | function! pathogen#split(path) abort " {{{1 35 | if type(a:path) == type([]) | return a:path | endif 36 | let split = split(a:path,'\\\@"),'!isdirectory(v:val)')) && (!filereadable(dir.sep.'doc'.sep.'tags') || filewritable(dir.sep.'doc'.sep.'tags')) 170 | helptags `=dir.'/doc'` 171 | endif 172 | endfor 173 | endfunction " }}}1 174 | 175 | command! -bar Helptags :call pathogen#helptags() 176 | 177 | " Like findfile(), but hardcoded to use the runtimepath. 178 | function! pathogen#runtime_findfile(file,count) "{{{1 179 | let rtp = pathogen#join(1,pathogen#split(&rtp)) 180 | return fnamemodify(findfile(a:file,rtp,a:count),':p') 181 | endfunction " }}}1 182 | 183 | " Backport of fnameescape(). 184 | function! pathogen#fnameescape(string) " {{{1 185 | if exists('*fnameescape') 186 | return fnameescape(a:string) 187 | elseif a:string ==# '-' 188 | return '\-' 189 | else 190 | return substitute(escape(a:string," \t\n*?[{`$\\%#'\"|!<"),'^[+>]','\\&','') 191 | endif 192 | endfunction " }}}1 193 | 194 | function! s:find(count,cmd,file,lcd) " {{{1 195 | let rtp = pathogen#join(1,pathogen#split(&runtimepath)) 196 | let file = pathogen#runtime_findfile(a:file,a:count) 197 | if file ==# '' 198 | return "echoerr 'E345: Can''t find file \"".a:file."\" in runtimepath'" 199 | elseif a:lcd 200 | let path = file[0:-strlen(a:file)-2] 201 | execute 'lcd `=path`' 202 | return a:cmd.' '.pathogen#fnameescape(a:file) 203 | else 204 | return a:cmd.' '.pathogen#fnameescape(file) 205 | endif 206 | endfunction " }}}1 207 | 208 | function! s:Findcomplete(A,L,P) " {{{1 209 | let sep = pathogen#separator() 210 | let cheats = { 211 | \'a': 'autoload', 212 | \'d': 'doc', 213 | \'f': 'ftplugin', 214 | \'i': 'indent', 215 | \'p': 'plugin', 216 | \'s': 'syntax'} 217 | if a:A =~# '^\w[\\/]' && has_key(cheats,a:A[0]) 218 | let request = cheats[a:A[0]].a:A[1:-1] 219 | else 220 | let request = a:A 221 | endif 222 | let pattern = substitute(request,'\'.sep,'*'.sep,'g').'*' 223 | let found = {} 224 | for path in pathogen#split(&runtimepath) 225 | let path = expand(path, ':p') 226 | let matches = split(glob(path.sep.pattern),"\n") 227 | call map(matches,'isdirectory(v:val) ? v:val.sep : v:val') 228 | call map(matches,'expand(v:val, ":p")[strlen(path)+1:-1]') 229 | for match in matches 230 | let found[match] = 1 231 | endfor 232 | endfor 233 | return sort(keys(found)) 234 | endfunction " }}}1 235 | 236 | command! -bar -bang -range=1 -nargs=1 -complete=customlist,s:Findcomplete Ve :execute s:find(,'edit',,0) 237 | command! -bar -bang -range=1 -nargs=1 -complete=customlist,s:Findcomplete Vedit :execute s:find(,'edit',,0) 238 | command! -bar -bang -range=1 -nargs=1 -complete=customlist,s:Findcomplete Vopen :execute s:find(,'edit',,1) 239 | command! -bar -bang -range=1 -nargs=1 -complete=customlist,s:Findcomplete Vsplit :execute s:find(,'split',,1) 240 | command! -bar -bang -range=1 -nargs=1 -complete=customlist,s:Findcomplete Vvsplit :execute s:find(,'vsplit',,1) 241 | command! -bar -bang -range=1 -nargs=1 -complete=customlist,s:Findcomplete Vtabedit :execute s:find(,'tabedit',,1) 242 | command! -bar -bang -range=1 -nargs=1 -complete=customlist,s:Findcomplete Vpedit :execute s:find(,'pedit',,1) 243 | command! -bar -bang -range=1 -nargs=1 -complete=customlist,s:Findcomplete Vread :execute s:find(,'read',,1) 244 | 245 | " vim:set ft=vim ts=8 sw=2 sts=2: 246 | -------------------------------------------------------------------------------- /.vim/backup/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eevee/rc/fb6eeb33383893497db893514c8caed378eebae9/.vim/backup/.keep -------------------------------------------------------------------------------- /.vim/colors/molokai.vim: -------------------------------------------------------------------------------- 1 | " Vim color file 2 | " 3 | " Author: Tomas Restrepo 4 | " 5 | " Note: Based on the monokai theme for textmate 6 | " by Wimer Hazenberg and its darker variant 7 | " by Hamish Stuart Macpherson 8 | " 9 | 10 | hi clear 11 | 12 | set background=dark 13 | if version > 580 14 | " no guarantees for version 5.8 and below, but this makes it stop 15 | " complaining 16 | hi clear 17 | if exists("syntax_on") 18 | syntax reset 19 | endif 20 | endif 21 | let g:colors_name="molokai" 22 | 23 | if exists("g:molokai_original") 24 | let s:molokai_original = g:molokai_original 25 | else 26 | let s:molokai_original = 0 27 | endif 28 | 29 | 30 | hi Boolean guifg=#AE81FF 31 | hi Character guifg=#E6DB74 32 | hi Number guifg=#AE81FF 33 | hi String guifg=#E6DB74 34 | hi Conditional guifg=#F92672 gui=bold 35 | hi Constant guifg=#AE81FF gui=bold 36 | hi Cursor guifg=#000000 guibg=#F8F8F0 37 | hi Debug guifg=#BCA3A3 gui=bold 38 | hi Define guifg=#66D9EF 39 | hi Delimiter guifg=#8F8F8F 40 | hi DiffAdd guibg=#13354A 41 | hi DiffChange guifg=#89807D guibg=#4C4745 42 | hi DiffDelete guifg=#960050 guibg=#1E0010 43 | hi DiffText guibg=#4C4745 gui=italic,bold 44 | 45 | hi Directory guifg=#A6E22E gui=bold 46 | hi Error guifg=#960050 guibg=#1E0010 47 | hi ErrorMsg guifg=#F92672 guibg=#232526 gui=bold 48 | hi Exception guifg=#A6E22E gui=bold 49 | hi Float guifg=#AE81FF 50 | hi FoldColumn guifg=#465457 guibg=#000000 51 | hi Folded guifg=#465457 guibg=#000000 52 | hi Function guifg=#A6E22E 53 | hi Identifier guifg=#FD971F 54 | hi Ignore guifg=#808080 guibg=bg 55 | hi IncSearch guifg=#C4BE89 guibg=#000000 56 | 57 | hi Keyword guifg=#F92672 gui=bold 58 | hi Label guifg=#E6DB74 gui=none 59 | hi Macro guifg=#C4BE89 gui=italic 60 | hi SpecialKey guifg=#66D9EF gui=italic 61 | 62 | hi MatchParen guifg=#000000 guibg=#FD971F gui=bold 63 | hi ModeMsg guifg=#E6DB74 64 | hi MoreMsg guifg=#E6DB74 65 | hi Operator guifg=#F92672 66 | 67 | " complete menu 68 | hi Pmenu guifg=#66D9EF guibg=#000000 69 | hi PmenuSel guibg=#808080 70 | hi PmenuSbar guibg=#080808 71 | hi PmenuThumb guifg=#66D9EF 72 | 73 | hi PreCondit guifg=#A6E22E gui=bold 74 | hi PreProc guifg=#A6E22E 75 | hi Question guifg=#66D9EF 76 | hi Repeat guifg=#F92672 gui=bold 77 | hi Search guifg=#FFFFFF guibg=#455354 78 | " marks column 79 | hi SignColumn guifg=#A6E22E guibg=#232526 80 | hi SpecialChar guifg=#F92672 gui=bold 81 | hi SpecialComment guifg=#465457 gui=bold 82 | hi Special guifg=#66D9EF guibg=bg gui=italic 83 | hi SpecialKey guifg=#888A85 gui=italic 84 | if has("spell") 85 | hi SpellBad guisp=#FF0000 gui=undercurl 86 | hi SpellCap guisp=#7070F0 gui=undercurl 87 | hi SpellLocal guisp=#70F0F0 gui=undercurl 88 | hi SpellRare guisp=#FFFFFF gui=undercurl 89 | endif 90 | hi Statement guifg=#F92672 gui=bold 91 | hi StatusLine guifg=#455354 guibg=fg 92 | hi StatusLineNC guifg=#808080 guibg=#080808 93 | hi StorageClass guifg=#FD971F gui=italic 94 | hi Structure guifg=#66D9EF 95 | hi Tag guifg=#F92672 gui=italic 96 | hi Title guifg=#ef5939 97 | hi Todo guifg=#FFFFFF guibg=bg gui=bold 98 | 99 | hi Typedef guifg=#66D9EF 100 | hi Type guifg=#66D9EF gui=none 101 | hi Underlined guifg=#808080 gui=underline 102 | 103 | hi VertSplit guifg=#808080 guibg=#080808 gui=bold 104 | hi VisualNOS guibg=#403D3D 105 | hi Visual guibg=#403D3D 106 | hi WarningMsg guifg=#FFFFFF guibg=#333333 gui=bold 107 | hi WildMenu guifg=#66D9EF guibg=#000000 108 | 109 | if s:molokai_original == 1 110 | hi Normal guifg=#F8F8F2 guibg=#272822 111 | hi Comment guifg=#75715E 112 | hi CursorLine guibg=#3E3D32 113 | hi CursorColumn guibg=#3E3D32 114 | hi LineNr guifg=#BCBCBC guibg=#3B3A32 115 | hi NonText guifg=#BCBCBC guibg=#3B3A32 116 | else 117 | hi Normal guifg=#F8F8F2 guibg=#1B1D1E 118 | hi Comment guifg=#465457 119 | hi CursorLine guibg=#293739 120 | hi CursorColumn guibg=#293739 121 | hi LineNr guifg=#BCBCBC guibg=#232526 122 | hi NonText guifg=#BCBCBC guibg=#232526 123 | end 124 | 125 | " 126 | " Support for 256-color terminal 127 | " 128 | if &t_Co > 255 129 | hi Boolean ctermfg=135 130 | hi Character ctermfg=144 131 | hi Number ctermfg=135 132 | hi String ctermfg=144 133 | hi Conditional ctermfg=161 cterm=bold 134 | hi Constant ctermfg=135 cterm=bold 135 | hi Cursor ctermfg=16 ctermbg=253 136 | hi Debug ctermfg=225 cterm=bold 137 | hi Define ctermfg=81 138 | hi Delimiter ctermfg=241 139 | 140 | hi DiffAdd ctermbg=24 141 | hi DiffChange ctermfg=181 ctermbg=239 142 | hi DiffDelete ctermfg=162 ctermbg=53 143 | hi DiffText ctermbg=102 cterm=bold 144 | 145 | hi Directory ctermfg=118 cterm=bold 146 | hi Error ctermfg=219 ctermbg=89 147 | hi ErrorMsg ctermfg=199 ctermbg=16 cterm=bold 148 | hi Exception ctermfg=118 cterm=bold 149 | hi Float ctermfg=135 150 | hi FoldColumn ctermfg=67 ctermbg=16 151 | hi Folded ctermfg=67 ctermbg=16 152 | hi Function ctermfg=118 153 | hi Identifier ctermfg=208 cterm=none 154 | hi Ignore ctermfg=244 ctermbg=232 155 | hi IncSearch ctermfg=193 ctermbg=16 156 | 157 | hi Keyword ctermfg=161 cterm=bold 158 | hi Label ctermfg=229 cterm=none 159 | hi Macro ctermfg=193 160 | hi SpecialKey ctermfg=81 161 | 162 | hi MatchParen ctermfg=16 ctermbg=208 cterm=bold 163 | hi ModeMsg ctermfg=229 164 | hi MoreMsg ctermfg=229 165 | hi Operator ctermfg=161 166 | 167 | " complete menu 168 | hi Pmenu ctermfg=81 ctermbg=16 169 | hi PmenuSel ctermbg=244 170 | hi PmenuSbar ctermbg=232 171 | hi PmenuThumb ctermfg=81 172 | 173 | hi PreCondit ctermfg=118 cterm=bold 174 | hi PreProc ctermfg=118 175 | hi Question ctermfg=81 176 | hi Repeat ctermfg=161 cterm=bold 177 | hi Search ctermfg=253 ctermbg=66 178 | 179 | " marks column 180 | hi SignColumn ctermfg=118 ctermbg=235 181 | hi SpecialChar ctermfg=161 cterm=bold 182 | hi SpecialComment ctermfg=245 cterm=bold 183 | hi Special ctermfg=81 ctermbg=232 184 | hi SpecialKey ctermfg=245 185 | 186 | hi Statement ctermfg=161 cterm=bold 187 | hi StatusLine ctermfg=238 ctermbg=253 188 | hi StatusLineNC ctermfg=244 ctermbg=232 189 | hi StorageClass ctermfg=208 190 | hi Structure ctermfg=81 191 | hi Tag ctermfg=161 192 | hi Title ctermfg=166 193 | hi Todo ctermfg=231 ctermbg=232 cterm=bold 194 | 195 | hi Typedef ctermfg=81 196 | hi Type ctermfg=81 cterm=none 197 | hi Underlined ctermfg=244 cterm=underline 198 | 199 | hi VertSplit ctermfg=244 ctermbg=244 200 | hi VisualNOS ctermbg=238 201 | hi Visual ctermbg=235 202 | hi WarningMsg ctermfg=231 ctermbg=238 cterm=bold 203 | hi WildMenu ctermfg=81 ctermbg=16 204 | 205 | hi Normal ctermfg=252 206 | hi Comment ctermfg=59 207 | hi CursorLine ctermbg=234 cterm=none 208 | hi CursorColumn ctermbg=234 209 | hi LineNr ctermfg=250 ctermbg=234 210 | hi NonText ctermfg=250 ctermbg=234 211 | end 212 | -------------------------------------------------------------------------------- /.vim/ftdetect/cython.vim: -------------------------------------------------------------------------------- 1 | au BufRead,BufNewFile *.pyx set filetype=cython 2 | au BufRead,BufNewFile *.pxd set filetype=cython 3 | au BufRead,BufNewFile *.pxi set filetype=cython 4 | -------------------------------------------------------------------------------- /.vim/ftdetect/mako.vim: -------------------------------------------------------------------------------- 1 | au BufNewFile,BufRead *.mako set filetype=mako 2 | -------------------------------------------------------------------------------- /.vim/ftdetect/rust.vim: -------------------------------------------------------------------------------- 1 | au BufRead,BufNewFile *.rs,*.rc set filetype=rust 2 | -------------------------------------------------------------------------------- /.vim/ftdetect/scss.vim: -------------------------------------------------------------------------------- 1 | au BufRead,BufNewFile *.scss set filetype=scss 2 | -------------------------------------------------------------------------------- /.vim/ftdetect/tt.vim: -------------------------------------------------------------------------------- 1 | au BufNewFile,BufRead *.tt set filetype=tt2html 2 | let b:tt2_syn_tags = '\[% %]' 3 | -------------------------------------------------------------------------------- /.vim/indent/html.vim: -------------------------------------------------------------------------------- 1 | " Description: html5 (and html4) indenter 2 | " Changed By: Brian Gershon 3 | " Last Change: 30 Jan 2011 4 | " 5 | " 1. Started with vim72 html indent file authored by Johannes Zellner (below) 6 | " 2. Added html5 list as described here: 7 | " http://stackoverflow.com/questions/3232518/how-to-update-vim-to-color-code-new-html-elements 8 | " 3. Added this to a fork of https://github.com/othree/html5.vim 9 | " which already provides nice html5 syntax highlighting. 10 | " 11 | " Description: html indenter 12 | " Author: Johannes Zellner 13 | " Last Change: Mo, 05 Jun 2006 22:32:41 CEST 14 | " Restoring 'cpo' and 'ic' added by Bram 2006 May 5 15 | " Globals: 16 | " let g:html_indent_tags = ['testag'] 17 | " let g:html_exclude_tags = ['html', 'style', 'script', 'body'] 18 | 19 | 20 | " Only load this indent file when no other was loaded. 21 | if exists("b:did_indent") 22 | finish 23 | endif 24 | let b:did_indent = 1 25 | 26 | " [-- local settings (must come before aborting the script) --] 27 | setlocal indentexpr=HtmlIndentGet(v:lnum) 28 | setlocal indentkeys=o,O,*,<>>,{,} 29 | 30 | 31 | let s:tags = [] 32 | 33 | " [-- --] 34 | call add(s:tags, 'a') 35 | call add(s:tags, 'abbr') 36 | call add(s:tags, 'acronym') 37 | call add(s:tags, 'address') 38 | call add(s:tags, 'b') 39 | call add(s:tags, 'bdo') 40 | call add(s:tags, 'big') 41 | call add(s:tags, 'blockquote') 42 | call add(s:tags, 'button') 43 | call add(s:tags, 'caption') 44 | call add(s:tags, 'center') 45 | call add(s:tags, 'cite') 46 | call add(s:tags, 'code') 47 | call add(s:tags, 'colgroup') 48 | call add(s:tags, 'del') 49 | call add(s:tags, 'dfn') 50 | call add(s:tags, 'dir') 51 | call add(s:tags, 'div') 52 | call add(s:tags, 'dl') 53 | call add(s:tags, 'em') 54 | call add(s:tags, 'fieldset') 55 | call add(s:tags, 'font') 56 | call add(s:tags, 'form') 57 | call add(s:tags, 'frameset') 58 | call add(s:tags, 'h1') 59 | call add(s:tags, 'h2') 60 | call add(s:tags, 'h3') 61 | call add(s:tags, 'h4') 62 | call add(s:tags, 'h5') 63 | call add(s:tags, 'h6') 64 | call add(s:tags, 'i') 65 | call add(s:tags, 'iframe') 66 | call add(s:tags, 'ins') 67 | call add(s:tags, 'kbd') 68 | call add(s:tags, 'label') 69 | call add(s:tags, 'legend') 70 | call add(s:tags, 'li') 71 | call add(s:tags, 'map') 72 | call add(s:tags, 'menu') 73 | call add(s:tags, 'noframes') 74 | call add(s:tags, 'noscript') 75 | call add(s:tags, 'object') 76 | call add(s:tags, 'ol') 77 | call add(s:tags, 'optgroup') 78 | call add(s:tags, 'p') 79 | " call add(s:tags, 'pre') 80 | call add(s:tags, 'q') 81 | call add(s:tags, 's') 82 | call add(s:tags, 'samp') 83 | call add(s:tags, 'script') 84 | call add(s:tags, 'select') 85 | call add(s:tags, 'small') 86 | call add(s:tags, 'span') 87 | call add(s:tags, 'strong') 88 | call add(s:tags, 'style') 89 | call add(s:tags, 'sub') 90 | call add(s:tags, 'sup') 91 | call add(s:tags, 'table') 92 | call add(s:tags, 'textarea') 93 | call add(s:tags, 'title') 94 | call add(s:tags, 'tt') 95 | call add(s:tags, 'u') 96 | call add(s:tags, 'ul') 97 | call add(s:tags, 'var') 98 | 99 | " New HTML 5 elements 100 | call add(s:tags, 'article') 101 | call add(s:tags, 'aside') 102 | call add(s:tags, 'audio') 103 | call add(s:tags, 'canvas') 104 | call add(s:tags, 'command') 105 | call add(s:tags, 'datalist') 106 | call add(s:tags, 'details') 107 | call add(s:tags, 'embed') 108 | call add(s:tags, 'figcaption') 109 | call add(s:tags, 'figure') 110 | call add(s:tags, 'footer') 111 | call add(s:tags, 'header') 112 | call add(s:tags, 'hgroup') 113 | call add(s:tags, 'keygen') 114 | call add(s:tags, 'mark') 115 | call add(s:tags, 'meter') 116 | call add(s:tags, 'nav') 117 | call add(s:tags, 'output') 118 | call add(s:tags, 'progress') 119 | call add(s:tags, 'rp') 120 | call add(s:tags, 'rt') 121 | call add(s:tags, 'ruby') 122 | call add(s:tags, 'section') 123 | call add(s:tags, 'source') 124 | call add(s:tags, 'summary') 125 | call add(s:tags, 'time') 126 | call add(s:tags, 'video') 127 | call add(s:tags, 'bdi') 128 | 129 | call add(s:tags, 'html') 130 | call add(s:tags, 'head') 131 | call add(s:tags, 'body') 132 | 133 | call add(s:tags, 'thead') 134 | call add(s:tags, 'tbody') 135 | call add(s:tags, 'tfoot') 136 | call add(s:tags, 'tr') 137 | call add(s:tags, 'th') 138 | call add(s:tags, 'td') 139 | 140 | if exists('g:html_exclude_tags') 141 | for tag in g:html_exclude_tags 142 | call remove(s:tags, index(s:tags, tag)) 143 | endfor 144 | endif 145 | if exists('g:html_indent_tags') 146 | call extend(s:tags, g:html_indent_tags) 147 | endif 148 | let s:html_indent_tags = join(s:tags, '\|') 149 | 150 | let s:cpo_save = &cpo 151 | set cpo-=C 152 | 153 | " [-- count indent-increasing tags of line a:lnum --] 154 | fun! HtmlIndentOpen(lnum, pattern) 155 | let s = substitute('x'.getline(a:lnum), 156 | \ '.\{-}\(\(<\)\('.a:pattern.'\)\>\)', "\1", 'g') 157 | let s = substitute(s, "[^\1].*$", '', '') 158 | return strlen(s) 159 | endfun 160 | 161 | " [-- count indent-decreasing tags of line a:lnum --] 162 | fun! HtmlIndentClose(lnum, pattern) 163 | let s = substitute('x'.getline(a:lnum), 164 | \ '.\{-}\(\(<\)/\('.a:pattern.'\)\>>\)', "\1", 'g') 165 | let s = substitute(s, "[^\1].*$", '', '') 166 | return strlen(s) 167 | endfun 168 | 169 | " [-- count indent-increasing '{' of (java|css) line a:lnum --] 170 | fun! HtmlIndentOpenAlt(lnum) 171 | return strlen(substitute(getline(a:lnum), '[^{]\+', '', 'g')) 172 | endfun 173 | 174 | " [-- count indent-decreasing '}' of (java|css) line a:lnum --] 175 | fun! HtmlIndentCloseAlt(lnum) 176 | return strlen(substitute(getline(a:lnum), '[^}]\+', '', 'g')) 177 | endfun 178 | 179 | " [-- return the sum of indents respecting the syntax of a:lnum --] 180 | fun! HtmlIndentSum(lnum, style) 181 | if a:style == match(getline(a:lnum), '^\s*') 183 | let open = HtmlIndentOpen(a:lnum, s:html_indent_tags) 184 | let close = HtmlIndentClose(a:lnum, s:html_indent_tags) 185 | if 0 != open || 0 != close 186 | return open - close 187 | endif 188 | endif 189 | endif 190 | if '' != &syntax && 191 | \ synIDattr(synID(a:lnum, 1, 1), 'name') =~ '\(css\|java\).*' && 192 | \ synIDattr(synID(a:lnum, strlen(getline(a:lnum)), 1), 'name') 193 | \ =~ '\(css\|java\).*' 194 | if a:style == match(getline(a:lnum), '^\s*}') 195 | return HtmlIndentOpenAlt(a:lnum) - HtmlIndentCloseAlt(a:lnum) 196 | endif 197 | endif 198 | return 0 199 | endfun 200 | 201 | fun! HtmlIndentGet(lnum) 202 | " Find a non-empty line above the current line. 203 | let lnum = prevnonblank(a:lnum - 1) 204 | 205 | " Hit the start of the file, use zero indent. 206 | if lnum == 0 207 | return 0 208 | endif 209 | 210 | let restore_ic = &ic 211 | setlocal ic " ignore case 212 | 213 | " [-- special handling for

: no indenting --]
214 |     if getline(a:lnum) =~ '\c
' 215 | \ || 0 < searchpair('\c
', '', '\c
', 'nWb') 216 | \ || 0 < searchpair('\c
', '', '\c
', 'nW') 217 | " we're in a line with or inside
 ... 
218 | if restore_ic == 0 219 | setlocal noic 220 | endif 221 | return -1 222 | endif 223 | 224 | " [-- special handling for : use cindent --] 225 | let js = ', 05 Jun 2006 229 | " ZDR: This needs to be an AND (we are 'after the start of the pair' AND 230 | " we are 'before the end of the pair'). Otherwise, indentation 231 | " before the start of the script block will be affected; the end of 232 | " the pair will still match if we are before the beginning of the 233 | " pair. 234 | " 235 | if 0 < searchpair(js, '', '', 'nWb') 236 | \ && 0 < searchpair(js, '', '', 'nW') 237 | " we're inside javascript 238 | if getline(lnum) !~ js && getline(a:lnum) != '' 239 | if restore_ic == 0 240 | setlocal noic 241 | endif 242 | return cindent(a:lnum) 243 | endif 244 | endif 245 | 246 | if getline(lnum) =~ '\c' 247 | " line before the current line a:lnum contains 248 | " a closing . --> search for line before 249 | " starting
 to restore the indent.
250 |         let preline = prevnonblank(search('\c
', 'bW') - 1)
251 |         if preline > 0
252 |             if restore_ic == 0
253 |               setlocal noic
254 |             endif
255 | 
256 |             if 0 == match(getline(a:lnum), '^\s*HtmlIndentSum(lnum, -1)
265 |     let ind = ind + HtmlIndentSum(a:lnum, 0)
266 | 
267 |     " Fix for conditional comment
268 |     if getline(a:lnum) =~ '\c'
269 |         let ind = ind - 1
270 |     endif
271 | 
272 |     if restore_ic == 0
273 |         setlocal noic
274 |     endif
275 | 
276 |     return indent(lnum) + (&sw * ind)
277 | endfun
278 | 
279 | let &cpo = s:cpo_save
280 | unlet s:cpo_save
281 | 
282 | " [-- EOF /indent/html.vim --]
283 | 


--------------------------------------------------------------------------------
/.vim/indent/rust.vim:
--------------------------------------------------------------------------------
 1 | " Vim indent file
 2 | 
 3 | if exists("b:did_indent")
 4 | 	finish
 5 | endif
 6 | 
 7 | let b:did_indent = 1
 8 | setlocal cindent
 9 | setlocal cinkeys-=0#
10 | setlocal cino=j1,J1
11 | 


--------------------------------------------------------------------------------
/.vim/swap/.keep:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eevee/rc/fb6eeb33383893497db893514c8caed378eebae9/.vim/swap/.keep


--------------------------------------------------------------------------------
/.vim/syntax/cython.vim:
--------------------------------------------------------------------------------
 1 | " Vim syntax file
 2 | " Language:	Cython
 3 | 
 4 | " Based on the Pyrex syntax bundled with vim 7.3.
 5 | " Additional Cython features based on a pastebin somewhere.
 6 | 
 7 | " For version 5.x: Clear all syntax items
 8 | " For version 6.x: Quit when a syntax file was already loaded
 9 | if version < 600
10 |   syntax clear
11 | elseif exists("b:current_syntax")
12 |   finish
13 | endif
14 | 
15 | " Read the Python syntax to start with
16 | if version < 600
17 |   so :p:h/python.vim
18 | else
19 |   runtime! syntax/python.vim
20 |   unlet b:current_syntax
21 | endif
22 | 
23 | " Pyrex extentions
24 | syn keyword pyrexStatement      cdef cpdef typedef ctypedef sizeof
25 | syn keyword pyrexType		int bint long short float double char object void
26 | syn keyword pyrexType		signed unsigned operator
27 | syn keyword pyrexStructure	struct union enum
28 | syn keyword pyrexInclude	include cimport
29 | syn keyword pyrexAccess		public private property readonly extern
30 | " If someome wants Python's built-ins highlighted probably he
31 | " also wants Pyrex's built-ins highlighted
32 | if exists("python_highlight_builtins") || exists("pyrex_highlight_builtins")
33 |     syn keyword pyrexBuiltin    NULL
34 | endif
35 | 
36 | " This deletes "from" from the keywords and re-adds it as a
37 | " match with lower priority than pyrexForFrom
38 | "syn clear   pythonInclude
39 | "syn keyword pythonInclude     import
40 | "syn match   pythonInclude     "from"
41 | 
42 | " With "for[^:]*\zsfrom" VIM does not match "for" anymore, so
43 | " I used the slower "\@<=" form
44 | syn match   pyrexForFrom        "\(for[^:]*\)\@<=from"
45 | 
46 | " Default highlighting
47 | if version >= 508 || !exists("did_pyrex_syntax_inits")
48 |   if version < 508
49 |     let did_pyrex_syntax_inits = 1
50 |     command -nargs=+ HiLink hi link 
51 |   else
52 |     command -nargs=+ HiLink hi def link 
53 |   endif
54 |   HiLink pyrexStatement		Statement
55 |   HiLink pyrexType		Type
56 |   HiLink pyrexStructure		Structure
57 |   HiLink pyrexInclude		Statement
58 |   HiLink pyrexAccess		pyrexStatement
59 |   if exists("python_highlight_builtins") || exists("pyrex_highlight_builtins")
60 |       HiLink pyrexBuiltin	Function
61 |   endif
62 |   HiLink pyrexForFrom		Statement
63 | 
64 |   delcommand HiLink
65 | endif
66 | 
67 | let b:current_syntax = "pyrex"
68 | 


--------------------------------------------------------------------------------
/.vim/syntax/html.vim:
--------------------------------------------------------------------------------
 1 | " Vim syntax file
 2 | " Language:	HTML (version 5)
 3 | " Maintainer:	Rodrigo Machado 
 4 | " URL:		http://rm.blog.br/vim/syntax/html.vim
 5 | " Last Change:  2009 Aug 19
 6 | " License:      Public domain
 7 | "               (but let me know if you like :) )
 8 | "
 9 | " Note: This file just adds the new tags from HTML 5
10 | "       and don't replace default html.vim syntax file
11 | "
12 | " Modified:     othree 
13 | " Changes:      update to Draft 13 January 2011
14 | "               add complete new attributes
15 | "               add microdata Attributes
16 | "               add bdi element
17 | 
18 | " HTML 5 tags
19 | syn keyword htmlTagName contained article aside audio canvas command
20 | syn keyword htmlTagName contained datalist details dialog embed figcaption figure footer
21 | syn keyword htmlTagName contained header hgroup keygen mark meter menu nav output
22 | syn keyword htmlTagName contained progress time ruby rt rp section source summary time track video
23 | syn keyword htmlTagName contained wbr bdi
24 | 
25 | " HTML 5 arguments
26 | " Core Attributes
27 | syn keyword htmlArg contained accesskey class contenteditable contextmenu dir 
28 | syn keyword htmlArg contained draggable hidden id lang spellcheck style tabindex title
29 | " Event-handler Attributes
30 | syn keyword htmlArg contained onabort onblur oncanplay oncanplaythrough onchange 
31 | syn keyword htmlArg contained onclick oncontextmenu ondblclick ondrag ondragend ondragenter ondragleave ondragover 
32 | syn keyword htmlArg contained ondragstart ondrop ondurationchange onemptied onended onerror onfocus onformchange 
33 | syn keyword htmlArg contained onforminput oninput oninvalid onkeydown onkeypress onkeyup onload onloadeddata 
34 | syn keyword htmlArg contained onloadedmetadata onloadstart onmousedown onmousemove onmouseout onmouseover onmouseup
35 | syn keyword htmlArg contained onmousewheel onpause onplay onplaying onprogress onratechange onreadystatechange 
36 | syn keyword htmlArg contained onscroll onseeked onseeking onselect onshow onstalled onsubmit onsuspend ontimeupdate 
37 | syn keyword htmlArg contained onvolumechange onwaiting
38 | " XML Attributes
39 | syn keyword htmlArg contained xml:lang xml:space xml:base
40 | " new features
41 | " 
42 | syn keyword htmlArg contained onafterprint onbeforeprint onbeforeunload onblur onerror onfocus onhashchange onload 
43 | syn keyword htmlArg contained onmessage onoffline ononline onpopstate onredo onresize onstorage onundo onunload
44 | "