Initial commit
This commit is contained in:
commit
662fe0334c
37 changed files with 1614 additions and 0 deletions
1
vim/.gitignore
vendored
Normal file
1
vim/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
.netrwhist
|
10
vim/after/ftplugin/c.vim
Normal file
10
vim/after/ftplugin/c.vim
Normal file
|
@ -0,0 +1,10 @@
|
|||
set foldmethod=syntax
|
||||
set sw=4 sts=4
|
||||
set noet
|
||||
|
||||
"For the new omni-completion ":help ft-c-omni"
|
||||
if has('mac')
|
||||
set tags+=~/.vim/systags-osx
|
||||
elseif has('linux')
|
||||
set tags+=~/.vim/systags-linux
|
||||
endif
|
2
vim/after/ftplugin/html.vim
Normal file
2
vim/after/ftplugin/html.vim
Normal file
|
@ -0,0 +1,2 @@
|
|||
setlocal shiftwidth=2
|
||||
|
90
vim/after/ftplugin/latex.vim
Normal file
90
vim/after/ftplugin/latex.vim
Normal file
|
@ -0,0 +1,90 @@
|
|||
" latex.vim
|
||||
" vim macros for latex
|
||||
"
|
||||
|
||||
" document class header
|
||||
map! <buffer> ;dcart \documentclass[letterpaper,11pt]{article}<cr><cr>
|
||||
nmap <buffer> ;dcart i\documentclass[letterpaper,11pt]{article}<cr><cr><esc>
|
||||
|
||||
" document body
|
||||
map! <buffer> ;doc \begin{document}<cr><cr><cr><cr>\end{document}<esc>kk
|
||||
nmap <buffer> ;doc i\begin{document}<cr><cr><cr><cr>\end{document}<esc>kk
|
||||
|
||||
"" environments
|
||||
" tabular
|
||||
map! <buffer> ;tab \begin{tabular}{}<cr><cr>\end{tabular}<esc>kk$i
|
||||
nmap <buffer> ;tab i\begin{tabular}{}<cr><cr>\end{tabular}<esc>kk$
|
||||
|
||||
" tabular*
|
||||
map! <buffer> ;stab \begin{tabular*}{}{}<cr><cr>\end{tabular*}<esc>kk$hhi
|
||||
nmap <buffer> ;stab i\begin{tabular*}{}{}<cr><cr>\end{tabular*}<esc>kk$hh
|
||||
|
||||
" enumerate
|
||||
map! <buffer> ;enum \begin{enumerate}<cr><cr>\end{enumerate}<esc>k$i
|
||||
nmap <buffer> ;enum i\begin{enumerate}<cr><cr>\end{enumerate}<esc>k$
|
||||
|
||||
" itemize
|
||||
map! <buffer> ;item \begin{itemize}<cr><cr>\end{itemize}<esc>ki
|
||||
nmap <buffer> ;item i\begin{itemize}<cr><cr>\end{itemize}<esc>k
|
||||
|
||||
" center
|
||||
map! <buffer> ;cent \begin{center}<cr><cr>\end{center}<esc>ki
|
||||
nmap <buffer> ;cent i\begin{center}<cr><cr>\end{center}<esc>k
|
||||
|
||||
" item
|
||||
map! <buffer> ;it \item
|
||||
|
||||
|
||||
"" text manipulation
|
||||
" bold
|
||||
map! <buffer> ;bf \textbf{}<esc>i
|
||||
nmap <buffer> ;bf i\textbf{}<esc>
|
||||
vmap <buffer> ;bf "xdi\textbf{<esc>"xpa}<esc>
|
||||
|
||||
" emphasized
|
||||
map! <buffer> ;em \emph{}<esc>i
|
||||
nmap <buffer> ;em i\emph{}<esc>
|
||||
vmap <buffer> ;em "xdi\emph{<esc>"xpa}<esc>
|
||||
|
||||
" teletype/monospaced
|
||||
map! <buffer> ;tt \texttt{}<esc>i
|
||||
nmap <buffer> ;tt \texttt{}<esc>
|
||||
vmap <buffer> ;tt "xdi\texttt{<esc>"xpa}<esc>
|
||||
|
||||
" mbox
|
||||
map! <buffer> ;mb \mbox{}<esc>i
|
||||
nmap <buffer> ;mb \mbox{}<esc>
|
||||
vmap <buffer> ;mb "xdi\mbox{<esc>"xpa}<esc>
|
||||
|
||||
" section
|
||||
map! <buffer> ;sa \section*{}<esc>i
|
||||
nmap <buffer> ;sa i\section*{}<esc>
|
||||
vmap <buffer> ;sa "xdi\section*{<esc>"xpa}<esc>
|
||||
map! <buffer> ;sna \section{}<esc>i
|
||||
nmap <buffer> ;sna i\section{}<esc>
|
||||
vmap <buffer> ;sna "xdi\section{<esc>"xpa}<esc>
|
||||
|
||||
" subsection
|
||||
map! <buffer> ;sb \subsection*{}<esc>i
|
||||
nmap <buffer> ;sb i\subsection*{}<esc>
|
||||
vmap <buffer> ;sb "xdi\subsection*{<esc>"xpa}<esc>
|
||||
map! <buffer> ;snb \subsection{}<esc>i
|
||||
nmap <buffer> ;snb i\subsection{}<esc>
|
||||
vmap <buffer> ;snb "xdi\subsection{<esc>"xpa}<esc>
|
||||
|
||||
" subsubsection
|
||||
map! <buffer> ;sc \subsubsection*{}<esc>i
|
||||
nmap <buffer> ;sc i\subsubsection*{}<esc>
|
||||
vmap <buffer> ;sc "xdi\subsubsection*{<esc>"xpa}<esc>
|
||||
map! <buffer> ;snc \subsubsection{}<esc>i
|
||||
nmap <buffer> ;snc i\subsubsection{}<esc>
|
||||
vmap <buffer> ;snc "xdi\subsubsection{<esc>"xpa}<esc>
|
||||
|
||||
|
||||
" text size
|
||||
map! <buffer> ;lar {\large }<esc>i
|
||||
map! <buffer> ;Lar {\Large }<esc>i
|
||||
|
||||
" comments
|
||||
vmap <buffer> ;com :s/^/%/g<cr>
|
||||
vmap <buffer> ;uncom :s/^%//g<cr>
|
5
vim/after/ftplugin/python.vim
Normal file
5
vim/after/ftplugin/python.vim
Normal file
|
@ -0,0 +1,5 @@
|
|||
setlocal expandtab
|
||||
"setlocal foldnestmax=3
|
||||
"setlocal fdm=indent
|
||||
setlocal textwidth=80
|
||||
|
91
vim/after/ftplugin/tex.vim
Normal file
91
vim/after/ftplugin/tex.vim
Normal file
|
@ -0,0 +1,91 @@
|
|||
" latex.vim
|
||||
" vim macros for latex
|
||||
|
||||
set nosi " `smart' indenting creates problems
|
||||
|
||||
" document class header
|
||||
map! <buffer> ;dcart \documentclass[letterpaper,12pt]{article}<cr><cr>
|
||||
nmap <buffer> ;dcart i\documentclass[letterpaper,12pt]{article}<cr><cr><esc>
|
||||
|
||||
" document body
|
||||
map! <buffer> ;doc \begin{document}<cr><cr><cr><cr>\end{document}<esc>kk
|
||||
nmap <buffer> ;doc i\begin{document}<cr><cr><cr><cr>\end{document}<esc>kk
|
||||
|
||||
"" environments
|
||||
" tabular
|
||||
map! <buffer> ;tab \begin{tabular}{}<cr><cr>\end{tabular}<esc>kk$i
|
||||
nmap <buffer> ;tab i\begin{tabular}{}<cr><cr>\end{tabular}<esc>kk$
|
||||
|
||||
" tabular*
|
||||
map! <buffer> ;stab \begin{tabular*}{}{}<cr><cr>\end{tabular*}<esc>kk$hhi
|
||||
nmap <buffer> ;stab i\begin{tabular*}{}{}<cr><cr>\end{tabular*}<esc>kk$hh
|
||||
|
||||
" enumerate
|
||||
map! <buffer> ;enum \begin{enumerate}<cr><cr>\end{enumerate}<esc>k$i
|
||||
nmap <buffer> ;enum i\begin{enumerate}<cr><cr>\end{enumerate}<esc>k$
|
||||
|
||||
" itemize
|
||||
map! <buffer> ;item \begin{itemize}<cr><cr>\end{itemize}<esc>ki
|
||||
nmap <buffer> ;item i\begin{itemize}<cr><cr>\end{itemize}<esc>k
|
||||
|
||||
" center
|
||||
map! <buffer> ;cent \begin{center}<cr><cr>\end{center}<esc>ki
|
||||
nmap <buffer> ;cent i\begin{center}<cr><cr>\end{center}<esc>k
|
||||
|
||||
" item
|
||||
map! <buffer> ;it \item
|
||||
|
||||
|
||||
"" text manipulation
|
||||
" bold
|
||||
map! <buffer> ;bf \textbf{}<esc>i
|
||||
nmap <buffer> ;bf i\textbf{}<esc>
|
||||
vmap <buffer> ;bf "xdi\textbf{<esc>"xpa}<esc>
|
||||
|
||||
" emphasized
|
||||
map! <buffer> ;em \emph{}<esc>i
|
||||
nmap <buffer> ;em i\emph{}<esc>
|
||||
vmap <buffer> ;em "xdi\emph{<esc>"xpa}<esc>
|
||||
|
||||
" teletype/monospaced
|
||||
map! <buffer> ;tt \texttt{}<esc>i
|
||||
nmap <buffer> ;tt \texttt{}<esc>
|
||||
vmap <buffer> ;tt "xdi\texttt{<esc>"xpa}<esc>
|
||||
|
||||
" mbox
|
||||
map! <buffer> ;mb \mbox{}<esc>i
|
||||
nmap <buffer> ;mb \mbox{}<esc>
|
||||
vmap <buffer> ;mb "xdi\mbox{<esc>"xpa}<esc>
|
||||
|
||||
" section
|
||||
map! <buffer> ;sa \section*{}<esc>i
|
||||
nmap <buffer> ;sa i\section*{}<esc>
|
||||
vmap <buffer> ;sa "xdi\section*{<esc>"xpa}<esc>
|
||||
map! <buffer> ;sna \section{}<esc>i
|
||||
nmap <buffer> ;sna i\section{}<esc>
|
||||
vmap <buffer> ;sna "xdi\section{<esc>"xpa}<esc>
|
||||
|
||||
" subsection
|
||||
map! <buffer> ;sb \subsection*{}<esc>i
|
||||
nmap <buffer> ;sb i\subsection*{}<esc>
|
||||
vmap <buffer> ;sb "xdi\subsection*{<esc>"xpa}<esc>
|
||||
map! <buffer> ;snb \subsection{}<esc>i
|
||||
nmap <buffer> ;snb i\subsection{}<esc>
|
||||
vmap <buffer> ;snb "xdi\subsection{<esc>"xpa}<esc>
|
||||
|
||||
" subsubsection
|
||||
map! <buffer> ;sc \subsubsection*{}<esc>i
|
||||
nmap <buffer> ;sc i\subsubsection*{}<esc>
|
||||
vmap <buffer> ;sc "xdi\subsubsection*{<esc>"xpa}<esc>
|
||||
map! <buffer> ;snc \subsubsection{}<esc>i
|
||||
nmap <buffer> ;snc i\subsubsection{}<esc>
|
||||
vmap <buffer> ;snc "xdi\subsubsection{<esc>"xpa}<esc>
|
||||
|
||||
|
||||
" text size
|
||||
map! <buffer> ;lar {\large }<esc>i
|
||||
map! <buffer> ;Lar {\Large }<esc>i
|
||||
|
||||
" comments
|
||||
vmap <buffer> ;com :s/^/%/g<cr>
|
||||
vmap <buffer> ;uncom :s/^%//g<cr>
|
1
vim/after/ftplugin/xml.vim
Normal file
1
vim/after/ftplugin/xml.vim
Normal file
|
@ -0,0 +1 @@
|
|||
set sw=2 sts=2
|
142
vim/autoload/pathogen.vim
Normal file
142
vim/autoload/pathogen.vim
Normal file
|
@ -0,0 +1,142 @@
|
|||
" pathogen.vim - path option manipulation
|
||||
" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
|
||||
" Version: 1.2
|
||||
|
||||
" Install in ~/.vim/autoload (or ~\vimfiles\autoload).
|
||||
"
|
||||
" API is documented below.
|
||||
|
||||
if exists("g:loaded_pathogen") || &cp
|
||||
finish
|
||||
endif
|
||||
let g:loaded_pathogen = 1
|
||||
|
||||
" Split a path into a list.
|
||||
function! pathogen#split(path) abort " {{{1
|
||||
if type(a:path) == type([]) | return a:path | endif
|
||||
let split = split(a:path,'\\\@<!\%(\\\\\)*\zs,')
|
||||
return map(split,'substitute(v:val,''\\\([\\,]\)'',''\1'',"g")')
|
||||
endfunction " }}}1
|
||||
|
||||
" Convert a list to a path.
|
||||
function! pathogen#join(...) abort " {{{1
|
||||
if type(a:1) == type(1) && a:1
|
||||
let i = 1
|
||||
let space = ' '
|
||||
else
|
||||
let i = 0
|
||||
let space = ''
|
||||
endif
|
||||
let path = ""
|
||||
while i < a:0
|
||||
if type(a:000[i]) == type([])
|
||||
let list = a:000[i]
|
||||
let j = 0
|
||||
while j < len(list)
|
||||
let escaped = substitute(list[j],'[,'.space.']\|\\[\,'.space.']\@=','\\&','g')
|
||||
let path .= ',' . escaped
|
||||
let j += 1
|
||||
endwhile
|
||||
else
|
||||
let path .= "," . a:000[i]
|
||||
endif
|
||||
let i += 1
|
||||
endwhile
|
||||
return substitute(path,'^,','','')
|
||||
endfunction " }}}1
|
||||
|
||||
" Convert a list to a path with escaped spaces for 'path', 'tag', etc.
|
||||
function! pathogen#legacyjoin(...) abort " {{{1
|
||||
return call('pathogen#join',[1] + a:000)
|
||||
endfunction " }}}1
|
||||
|
||||
" Remove duplicates from a list.
|
||||
function! pathogen#uniq(list) abort " {{{1
|
||||
let i = 0
|
||||
let seen = {}
|
||||
while i < len(a:list)
|
||||
if has_key(seen,a:list[i])
|
||||
call remove(a:list,i)
|
||||
else
|
||||
let seen[a:list[i]] = 1
|
||||
let i += 1
|
||||
endif
|
||||
endwhile
|
||||
return a:list
|
||||
endfunction " }}}1
|
||||
|
||||
" \ on Windows unless shellslash is set, / everywhere else.
|
||||
function! pathogen#separator() abort " {{{1
|
||||
return !exists("+shellslash") || &shellslash ? '/' : '\'
|
||||
endfunction " }}}1
|
||||
|
||||
" Convenience wrapper around glob() which returns a list.
|
||||
function! pathogen#glob(pattern) abort " {{{1
|
||||
let files = split(glob(a:pattern),"\n")
|
||||
return map(files,'substitute(v:val,"[".pathogen#separator()."/]$","","")')
|
||||
endfunction "}}}1
|
||||
|
||||
" Like pathogen#glob(), only limit the results to directories.
|
||||
function! pathogen#glob_directories(pattern) abort " {{{1
|
||||
return filter(pathogen#glob(a:pattern),'isdirectory(v:val)')
|
||||
endfunction "}}}1
|
||||
|
||||
" Checks if a bundle is 'disabled'. A bundle is considered 'disabled' if
|
||||
" its 'basename()' is included in g:pathogen_disabled[]'.
|
||||
function! pathogen#is_disabled(path) " {{{1
|
||||
if !exists("g:pathogen_disabled")
|
||||
return 0
|
||||
endif
|
||||
let sep = pathogen#separator()
|
||||
return index(g:pathogen_disabled, strpart(a:path, strridx(a:path, sep)+1)) != -1
|
||||
endfunction "}}}1
|
||||
|
||||
" Prepend all subdirectories of path to the rtp, and append all 'after'
|
||||
" directories in those subdirectories.
|
||||
function! pathogen#runtime_prepend_subdirectories(path) " {{{1
|
||||
let sep = pathogen#separator()
|
||||
let before = filter(pathogen#glob_directories(a:path.sep."*[^~]"), '!pathogen#is_disabled(v:val)')
|
||||
let after = filter(pathogen#glob_directories(a:path.sep."*[^~]".sep."after"), '!pathogen#is_disabled(v:val[0:-7])')
|
||||
let rtp = pathogen#split(&rtp)
|
||||
let path = expand(a:path)
|
||||
call filter(rtp,'v:val[0:strlen(path)-1] !=# path')
|
||||
let &rtp = pathogen#join(pathogen#uniq(before + rtp + after))
|
||||
return &rtp
|
||||
endfunction " }}}1
|
||||
|
||||
" For each directory in rtp, check for a subdirectory named dir. If it
|
||||
" exists, add all subdirectories of that subdirectory to the rtp, immediately
|
||||
" after the original directory. If no argument is given, 'bundle' is used.
|
||||
" Repeated calls with the same arguments are ignored.
|
||||
function! pathogen#runtime_append_all_bundles(...) " {{{1
|
||||
let sep = pathogen#separator()
|
||||
let name = a:0 ? a:1 : 'bundle'
|
||||
if "\n".s:done_bundles =~# "\\M\n".name."\n"
|
||||
return ""
|
||||
endif
|
||||
let s:done_bundles .= name . "\n"
|
||||
let list = []
|
||||
for dir in pathogen#split(&rtp)
|
||||
if dir =~# '\<after$'
|
||||
let list += filter(pathogen#glob_directories(substitute(dir,'after$',name,'').sep.'*[^~]'.sep.'after'), '!pathogen#is_disabled(v:val[0:-7])') + [dir]
|
||||
else
|
||||
let list += [dir] + filter(pathogen#glob_directories(dir.sep.name.sep.'*[^~]'), '!pathogen#is_disabled(v:val)')
|
||||
endif
|
||||
endfor
|
||||
let &rtp = pathogen#join(pathogen#uniq(list))
|
||||
return 1
|
||||
endfunction
|
||||
|
||||
let s:done_bundles = ''
|
||||
" }}}1
|
||||
|
||||
" Invoke :helptags on all non-$VIM doc directories in runtimepath.
|
||||
function! pathogen#helptags() " {{{1
|
||||
for dir in pathogen#split(&rtp)
|
||||
if dir[0 : strlen($VIM)-1] !=# $VIM && isdirectory(dir.'/doc') && !empty(glob(dir.'/doc/*')) && (!filereadable(dir.'/doc/tags') || filewritable(dir.'/doc/tags'))
|
||||
helptags `=dir.'/doc'`
|
||||
endif
|
||||
endfor
|
||||
endfunction " }}}1
|
||||
|
||||
" vim:set ft=vim ts=8 sw=2 sts=2:
|
1
vim/backup/.gitignore
vendored
Normal file
1
vim/backup/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
!.gitignore
|
212
vim/colors/ir_black.vim
Normal file
212
vim/colors/ir_black.vim
Normal file
|
@ -0,0 +1,212 @@
|
|||
" ir_black color scheme
|
||||
" More at: http://blog.infinitered.com/entries/show/8
|
||||
|
||||
|
||||
" ********************************************************************************
|
||||
" Standard colors used in all ir_black themes:
|
||||
" Note, x:x:x are RGB values
|
||||
"
|
||||
" normal: #f6f3e8
|
||||
"
|
||||
" string: #A8FF60 168:255:96
|
||||
" string inner (punc, code, etc): #00A0A0 0:160:160
|
||||
" number: #FF73FD 255:115:253
|
||||
" comments: #7C7C7C 124:124:124
|
||||
" keywords: #96CBFE 150:203:254
|
||||
" operators: white
|
||||
" class: #FFFFB6 255:255:182
|
||||
" method declaration name: #FFD2A7 255:210:167
|
||||
" regular expression: #E9C062 233:192:98
|
||||
" regexp alternate: #FF8000 255:128:0
|
||||
" regexp alternate 2: #B18A3D 177:138:61
|
||||
" variable: #C6C5FE 198:197:254
|
||||
"
|
||||
" Misc colors:
|
||||
" red color (used for whatever): #FF6C60 255:108:96
|
||||
" light red: #FFB6B0 255:182:176
|
||||
"
|
||||
" brown: #E18964 good for special
|
||||
"
|
||||
" lightpurpleish: #FFCCFF
|
||||
"
|
||||
" Interface colors:
|
||||
" background color: black
|
||||
" cursor (where underscore is used): #FFA560 255:165:96
|
||||
" cursor (where block is used): white
|
||||
" visual selection: #1D1E2C
|
||||
" current line: #151515 21:21:21
|
||||
" search selection: #07281C 7:40:28
|
||||
" line number: #3D3D3D 61:61:61
|
||||
|
||||
|
||||
" ********************************************************************************
|
||||
" The following are the preferred 16 colors for your terminal
|
||||
" Colors Bright Colors
|
||||
" Black #4E4E4E #7C7C7C
|
||||
" Red #FF6C60 #FFB6B0
|
||||
" Green #A8FF60 #CEFFAB
|
||||
" Yellow #FFFFB6 #FFFFCB
|
||||
" Blue #96CBFE #FFFFCB
|
||||
" Magenta #FF73FD #FF9CFE
|
||||
" Cyan #C6C5FE #DFDFFE
|
||||
" White #EEEEEE #FFFFFF
|
||||
|
||||
|
||||
" ********************************************************************************
|
||||
set background=dark
|
||||
hi clear
|
||||
|
||||
if exists("syntax_on")
|
||||
syntax reset
|
||||
endif
|
||||
|
||||
let colors_name = "ir_black"
|
||||
|
||||
|
||||
"hi Example guifg=NONE guibg=NONE gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE
|
||||
|
||||
" General colors
|
||||
hi Normal guifg=#f6f3e8 guibg=black gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE
|
||||
hi NonText guifg=#070707 guibg=black gui=NONE ctermfg=black ctermbg=NONE cterm=NONE
|
||||
|
||||
hi Cursor guifg=black guibg=white gui=NONE ctermfg=black ctermbg=white cterm=reverse
|
||||
hi LineNr guifg=#3D3D3D guibg=black gui=NONE ctermfg=darkgray ctermbg=NONE cterm=NONE
|
||||
|
||||
hi VertSplit guifg=#202020 guibg=#202020 gui=NONE ctermfg=darkgray ctermbg=darkgray cterm=NONE
|
||||
hi StatusLine guifg=#CCCCCC guibg=#202020 gui=italic ctermfg=white ctermbg=darkgray cterm=NONE
|
||||
hi StatusLineNC guifg=black guibg=#202020 gui=NONE ctermfg=blue ctermbg=darkgray cterm=NONE
|
||||
|
||||
hi Folded guifg=#a0a8b0 guibg=#384048 gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE
|
||||
hi Title guifg=#f6f3e8 guibg=NONE gui=bold ctermfg=NONE ctermbg=NONE cterm=NONE
|
||||
hi Visual guifg=NONE guibg=#262D51 gui=NONE ctermfg=NONE ctermbg=darkgray cterm=NONE
|
||||
|
||||
hi SpecialKey guifg=#808080 guibg=#343434 gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE
|
||||
|
||||
hi WildMenu guifg=green guibg=yellow gui=NONE ctermfg=black ctermbg=yellow cterm=NONE
|
||||
hi PmenuSbar guifg=black guibg=white gui=NONE ctermfg=black ctermbg=white cterm=NONE
|
||||
"hi Ignore guifg=gray guibg=black gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE
|
||||
|
||||
hi Error guifg=NONE guibg=NONE gui=undercurl ctermfg=white ctermbg=red cterm=NONE guisp=#FF6C60 " undercurl color
|
||||
hi ErrorMsg guifg=white guibg=#FF6C60 gui=BOLD ctermfg=white ctermbg=red cterm=NONE
|
||||
hi WarningMsg guifg=white guibg=#FF6C60 gui=BOLD ctermfg=white ctermbg=red cterm=NONE
|
||||
|
||||
" Message displayed in lower left, such as --INSERT--
|
||||
hi ModeMsg guifg=black guibg=#C6C5FE gui=BOLD ctermfg=black ctermbg=cyan cterm=BOLD
|
||||
|
||||
if version >= 700 " Vim 7.x specific colors
|
||||
hi CursorLine guifg=NONE guibg=#121212 gui=NONE ctermfg=NONE ctermbg=NONE cterm=BOLD
|
||||
hi CursorColumn guifg=NONE guibg=#121212 gui=NONE ctermfg=NONE ctermbg=NONE cterm=BOLD
|
||||
hi MatchParen guifg=#f6f3e8 guibg=#857b6f gui=BOLD ctermfg=white ctermbg=darkgray cterm=NONE
|
||||
hi Pmenu guifg=#f6f3e8 guibg=#444444 gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE
|
||||
hi PmenuSel guifg=#000000 guibg=#cae682 gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE
|
||||
hi Search guifg=NONE guibg=NONE gui=underline ctermfg=NONE ctermbg=NONE cterm=underline
|
||||
endif
|
||||
|
||||
" Syntax highlighting
|
||||
hi Comment guifg=#7C7C7C guibg=NONE gui=NONE ctermfg=darkgray ctermbg=NONE cterm=NONE
|
||||
hi String guifg=#A8FF60 guibg=NONE gui=NONE ctermfg=green ctermbg=NONE cterm=NONE
|
||||
hi Number guifg=#FF73FD guibg=NONE gui=NONE ctermfg=magenta ctermbg=NONE cterm=NONE
|
||||
|
||||
hi Keyword guifg=#96CBFE guibg=NONE gui=NONE ctermfg=blue ctermbg=NONE cterm=NONE
|
||||
hi PreProc guifg=#96CBFE guibg=NONE gui=NONE ctermfg=blue ctermbg=NONE cterm=NONE
|
||||
hi Conditional guifg=#6699CC guibg=NONE gui=NONE ctermfg=blue ctermbg=NONE cterm=NONE " if else end
|
||||
|
||||
hi Todo guifg=#8f8f8f guibg=NONE gui=NONE ctermfg=red ctermbg=NONE cterm=NONE
|
||||
hi Constant guifg=#99CC99 guibg=NONE gui=NONE ctermfg=cyan ctermbg=NONE cterm=NONE
|
||||
|
||||
hi Identifier guifg=#C6C5FE guibg=NONE gui=NONE ctermfg=cyan ctermbg=NONE cterm=NONE
|
||||
hi Function guifg=#FFD2A7 guibg=NONE gui=NONE ctermfg=brown ctermbg=NONE cterm=NONE
|
||||
hi Type guifg=#FFFFB6 guibg=NONE gui=NONE ctermfg=yellow ctermbg=NONE cterm=NONE
|
||||
hi Statement guifg=#6699CC guibg=NONE gui=NONE ctermfg=lightblue ctermbg=NONE cterm=NONE
|
||||
|
||||
hi Special guifg=#E18964 guibg=NONE gui=NONE ctermfg=white ctermbg=NONE cterm=NONE
|
||||
hi Delimiter guifg=#00A0A0 guibg=NONE gui=NONE ctermfg=cyan ctermbg=NONE cterm=NONE
|
||||
hi Operator guifg=white guibg=NONE gui=NONE ctermfg=white ctermbg=NONE cterm=NONE
|
||||
|
||||
hi link Character Constant
|
||||
hi link Boolean Constant
|
||||
hi link Float Number
|
||||
hi link Repeat Statement
|
||||
hi link Label Statement
|
||||
hi link Exception Statement
|
||||
hi link Include PreProc
|
||||
hi link Define PreProc
|
||||
hi link Macro PreProc
|
||||
hi link PreCondit PreProc
|
||||
hi link StorageClass Type
|
||||
hi link Structure Type
|
||||
hi link Typedef Type
|
||||
hi link Tag Special
|
||||
hi link SpecialChar Special
|
||||
hi link SpecialComment Special
|
||||
hi link Debug Special
|
||||
|
||||
|
||||
" Special for Ruby
|
||||
hi rubyRegexp guifg=#B18A3D guibg=NONE gui=NONE ctermfg=brown ctermbg=NONE cterm=NONE
|
||||
hi rubyRegexpDelimiter guifg=#FF8000 guibg=NONE gui=NONE ctermfg=brown ctermbg=NONE cterm=NONE
|
||||
hi rubyEscape guifg=white guibg=NONE gui=NONE ctermfg=cyan ctermbg=NONE cterm=NONE
|
||||
hi rubyInterpolationDelimiter guifg=#00A0A0 guibg=NONE gui=NONE ctermfg=blue ctermbg=NONE cterm=NONE
|
||||
hi rubyControl guifg=#6699CC guibg=NONE gui=NONE ctermfg=blue ctermbg=NONE cterm=NONE "and break, etc
|
||||
"hi rubyGlobalVariable guifg=#FFCCFF guibg=NONE gui=NONE ctermfg=lightblue ctermbg=NONE cterm=NONE "yield
|
||||
hi rubyStringDelimiter guifg=#336633 guibg=NONE gui=NONE ctermfg=lightgreen ctermbg=NONE cterm=NONE
|
||||
"rubyInclude
|
||||
"rubySharpBang
|
||||
"rubyAccess
|
||||
"rubyPredefinedVariable
|
||||
"rubyBoolean
|
||||
"rubyClassVariable
|
||||
"rubyBeginEnd
|
||||
"rubyRepeatModifier
|
||||
"hi link rubyArrayDelimiter Special " [ , , ]
|
||||
"rubyCurlyBlock { , , }
|
||||
|
||||
hi link rubyClass Keyword
|
||||
hi link rubyModule Keyword
|
||||
hi link rubyKeyword Keyword
|
||||
hi link rubyOperator Operator
|
||||
hi link rubyIdentifier Identifier
|
||||
hi link rubyInstanceVariable Identifier
|
||||
hi link rubyGlobalVariable Identifier
|
||||
hi link rubyClassVariable Identifier
|
||||
hi link rubyConstant Type
|
||||
|
||||
|
||||
" Special for Java
|
||||
" hi link javaClassDecl Type
|
||||
hi link javaScopeDecl Identifier
|
||||
hi link javaCommentTitle javaDocSeeTag
|
||||
hi link javaDocTags javaDocSeeTag
|
||||
hi link javaDocParam javaDocSeeTag
|
||||
hi link javaDocSeeTagParam javaDocSeeTag
|
||||
|
||||
hi javaDocSeeTag guifg=#CCCCCC guibg=NONE gui=NONE ctermfg=darkgray ctermbg=NONE cterm=NONE
|
||||
hi javaDocSeeTag guifg=#CCCCCC guibg=NONE gui=NONE ctermfg=darkgray ctermbg=NONE cterm=NONE
|
||||
"hi javaClassDecl guifg=#CCFFCC guibg=NONE gui=NONE ctermfg=white ctermbg=NONE cterm=NONE
|
||||
|
||||
|
||||
" Special for XML
|
||||
hi link xmlTag Keyword
|
||||
hi link xmlTagName Conditional
|
||||
hi link xmlEndTag Identifier
|
||||
|
||||
|
||||
" Special for HTML
|
||||
hi link htmlTag Keyword
|
||||
hi link htmlTagName Conditional
|
||||
hi link htmlEndTag Identifier
|
||||
|
||||
|
||||
" Special for Javascript
|
||||
hi link javaScriptNumber Number
|
||||
|
||||
|
||||
" Special for Python
|
||||
"hi link pythonEscape Keyword
|
||||
|
||||
|
||||
" Special for CSharp
|
||||
hi link csXmlTag Keyword
|
||||
|
||||
|
||||
" Special for PHP
|
63
vim/colors/proton.vim
Normal file
63
vim/colors/proton.vim
Normal file
|
@ -0,0 +1,63 @@
|
|||
|
||||
hi Normal guibg=#f0f0f0 guifg=#404040 gui=none
|
||||
hi Comment guibg=#f0f0f0 guifg=#9098a0 gui=none
|
||||
hi ToDo guibg=#f0f0f0 guifg=#9098a0 gui=bold
|
||||
|
||||
hi Cursor guibg=#404040 guifg=#a0a0a0
|
||||
hi CursorColumn guibg=#e0e0e0 guifg=#202020
|
||||
hi CursorLine guibg=#e0e0e0 guifg=#202020
|
||||
|
||||
hi NonText guibg=#d0d0d0 guifg=#606060 gui=none
|
||||
hi Visual guibg=#d0d0d0 guifg=#606060 gui=none
|
||||
hi Folded guibg=#d0d0d0 guifg=#606060 gui=none
|
||||
hi TabLineFill guibg=#d0d0d0 guifg=#606060 gui=none
|
||||
hi SpecialKey guibg=#e8e8e8 guifg=#a0a0a0 gui=none
|
||||
hi Search guibg=#808080 guifg=#ffffff gui=bold
|
||||
|
||||
hi ModeMsg guibg=#f0f0f0 guifg=#304050 gui=bold
|
||||
hi MoreMsg guibg=#f0f0f0 guifg=#304050 gui=bold
|
||||
|
||||
hi StatusLine guibg=#808080 guifg=#f0f0f0 gui=bold,italic
|
||||
hi StatusLineNC guibg=#707070 guifg=#d0d0d0 gui=italic
|
||||
hi VertSplit guibg=#707070 guifg=#909090 gui=none
|
||||
|
||||
hi LineNr guibg=#d0d0d0 guifg=#606060 gui=none
|
||||
|
||||
hi Underlined guifg=#202020 guibg=#f0f0f0 gui=underline
|
||||
|
||||
hi Statement guibg=#e0e0e0 guifg=#606060 gui=none
|
||||
hi Label guibg=#e0e0e0 guifg=#606060 gui=underline
|
||||
hi Operator guifg=#a77039 guibg=#f0f0f0 gui=none
|
||||
|
||||
hi Title guibg=#f0f0f0 guifg=#202020 gui=underline
|
||||
|
||||
" Python: @ in front of decorators
|
||||
"hi Define guifg=#906000 guibg=#f0e8c0 gui=bold
|
||||
hi Define guifg=#605080 guibg=#ece8f0 gui=italic,bold
|
||||
hi Include guifg=#605080 guibg=#dcd8e0 gui=none
|
||||
|
||||
hi Function guifg=#b08020 guibg=#f0e8c0 gui=underline
|
||||
|
||||
hi Conditional guibg=#e0e8f0 guifg=#5080b0 gui=bold
|
||||
hi Repeat guibg=#e0e8d8 guifg=#509030 gui=bold
|
||||
hi Exception guibg=#f0f0f0 guifg=#a03020 gui=bold
|
||||
|
||||
hi Type guifg=#607080 guibg=#f0f0f0 gui=underline
|
||||
hi PreProc guifg=#605080 guibg=#dcd8e0 gui=italic
|
||||
hi Identifier guifg=#608050 guibg=#c0e0c0 gui=none
|
||||
|
||||
|
||||
hi Constant guifg=#508040 guibg=#f0f0f0
|
||||
hi Number guifg=#508040 guibg=#f0f0f0
|
||||
hi String guifg=#a07060 guibg=#f0ece8 gui=italic
|
||||
hi Special guifg=#603020 guibg=#f0ece8 gui=italic
|
||||
|
||||
|
||||
hi DiffAdd guifg=#ffcc7f guibg=#a67429
|
||||
hi DiffDelete guifg=#ff7f50 guibg=#a62910
|
||||
hi DiffChange guifg=#7fbdff guibg=#425c78
|
||||
hi DiffText guifg=#8ae234 guibg=#4e9a06
|
||||
|
||||
hi SpellBad gui=undercurl guisp=#f02020
|
||||
|
||||
|
94
vim/colors/pyte.vim
Normal file
94
vim/colors/pyte.vim
Normal file
|
@ -0,0 +1,94 @@
|
|||
|
||||
set background=light
|
||||
|
||||
hi clear
|
||||
if exists("syntax_on")
|
||||
syntax reset
|
||||
endif
|
||||
|
||||
let colors_name = "pyte"
|
||||
|
||||
if version >= 700
|
||||
hi CursorLine guibg=#f6f6f6
|
||||
hi CursorColumn guibg=#eaeaea
|
||||
hi MatchParen guifg=white guibg=#80a090 gui=bold
|
||||
|
||||
"Tabpages
|
||||
hi TabLine guifg=black guibg=#b0b8c0 gui=italic
|
||||
hi TabLineFill guifg=#9098a0
|
||||
hi TabLineSel guifg=black guibg=#f0f0f0 gui=italic,bold
|
||||
|
||||
"P-Menu (auto-completion)
|
||||
hi Pmenu guifg=white guibg=#808080
|
||||
"PmenuSel
|
||||
"PmenuSbar
|
||||
"PmenuThumb
|
||||
endif
|
||||
"
|
||||
" Html-Titles
|
||||
hi Title guifg=#202020 gui=bold
|
||||
hi Underlined guifg=#202020 gui=underline
|
||||
|
||||
|
||||
hi Cursor guifg=black guibg=#b0b4b8
|
||||
hi lCursor guifg=black guibg=white
|
||||
hi LineNr guifg=#ffffff guibg=#c0d0e0
|
||||
|
||||
hi Normal guifg=#404850 guibg=#f0f0f0
|
||||
|
||||
hi StatusLine guifg=white guibg=#8090a0 gui=bold,italic
|
||||
hi StatusLineNC guifg=#506070 guibg=#a0b0c0 gui=italic
|
||||
hi VertSplit guifg=#a0b0c0 guibg=#a0b0c0 gui=NONE
|
||||
|
||||
" hi Folded guifg=#708090 guibg=#c0d0e0
|
||||
hi Folded guifg=#a0a0a0 guibg=#e8e8e8 gui=italic
|
||||
|
||||
hi NonText guifg=#c0c0c0 guibg=#e0e0e0
|
||||
" Kommentare
|
||||
hi Comment guifg=#a0b0c0 gui=italic
|
||||
|
||||
" Konstanten
|
||||
hi Constant guifg=#a07040
|
||||
hi String guifg=#4070a0
|
||||
hi Number guifg=#40a070
|
||||
hi Float guifg=#70a040
|
||||
"hi Statement guifg=#0070e0 gui=NONE
|
||||
" Python: def and so on, html: tag-names
|
||||
hi Statement guifg=#007020 gui=bold
|
||||
|
||||
|
||||
" HTML: arguments
|
||||
hi Type guifg=#e5a00d gui=italic
|
||||
" Python: Standard exceptions, True&False
|
||||
hi Structure guifg=#007020 gui=italic
|
||||
hi Function guifg=#06287e gui=italic
|
||||
|
||||
hi Identifier guifg=#5b3674 gui=italic
|
||||
|
||||
hi Repeat guifg=#7fbf58 gui=bold
|
||||
hi Conditional guifg=#4c8f2f gui=bold
|
||||
|
||||
" Cheetah: #-Symbol, function-names
|
||||
hi PreProc guifg=#1060a0 gui=NONE
|
||||
" Cheetah: def, for and so on, Python: Decorators
|
||||
hi Define guifg=#1060a0 gui=bold
|
||||
|
||||
hi Error guifg=red guibg=white gui=bold,underline
|
||||
hi Todo guifg=#a0b0c0 guibg=NONE gui=italic,bold,underline
|
||||
|
||||
" Python: %(...)s - constructs, encoding
|
||||
hi Special guifg=#70a0d0 gui=italic
|
||||
|
||||
hi Operator guifg=#408010
|
||||
|
||||
" color of <TAB>s etc...
|
||||
"hi SpecialKey guifg=#d8a080 guibg=#e8e8e8 gui=italic
|
||||
hi SpecialKey guifg=#d0b0b0 guibg=#f0f0f0 gui=none
|
||||
|
||||
" Diff
|
||||
hi DiffChange guifg=NONE guibg=#e0e0e0 gui=italic,bold
|
||||
hi DiffText guifg=NONE guibg=#f0c8c8 gui=italic,bold
|
||||
hi DiffAdd guifg=NONE guibg=#c0e0d0 gui=italic,bold
|
||||
hi DiffDelete guifg=NONE guibg=#f0e0b0 gui=italic,bold
|
||||
|
||||
|
257
vim/colors/zenburn.vim
Normal file
257
vim/colors/zenburn.vim
Normal file
|
@ -0,0 +1,257 @@
|
|||
" Vim color file
|
||||
" Maintainer: Jani Nurminen <jani.nurminen@pp4.inet.fi>
|
||||
" Last Change: $Id: zenburn.vim,v 1.20 2006/09/11 11:31:10 jnurmine Exp $
|
||||
" URL: http://slinky.imukuppi.org/zenburn/
|
||||
" License: GPL
|
||||
"
|
||||
" Nothing too fancy, just some alien fruit salad to keep you in the zone.
|
||||
" This syntax file was designed to be used with dark environments and
|
||||
" low light situations. Of course, if it works during a daybright office, go
|
||||
" ahead :)
|
||||
"
|
||||
" Owes heavily to other Vim color files! With special mentions
|
||||
" to "BlackDust", "Camo" and "Desert".
|
||||
"
|
||||
" To install, copy to ~/.vim/colors directory. Then :colorscheme zenburn.
|
||||
" See also :help syntax
|
||||
"
|
||||
" Credits:
|
||||
" - Jani Nurminen - original Zenburn
|
||||
" - Steve Hall & Cream posse - higher-contrast Visual selection
|
||||
" - Kurt Maier - 256 color console coloring, low and high contrast toggle,
|
||||
" bug fixing
|
||||
"
|
||||
" CONFIGURABLE PARAMETERS:
|
||||
"
|
||||
" You can use the default (don't set any parameters), or you can
|
||||
" set some parameters to tweak the Zenburn colours.
|
||||
"
|
||||
" * You can now set a darker background for bright environments. To activate, use:
|
||||
" contrast Zenburn, use:
|
||||
"
|
||||
" let g:zenburn_high_Contrast = 1
|
||||
"
|
||||
" * To get more contrast to the Visual selection, use
|
||||
"
|
||||
" let g:zenburn_alternate_Visual = 1
|
||||
"
|
||||
" * To use alternate colouring for Error message, use
|
||||
"
|
||||
" let g:zenburn_alternate_Error = 1
|
||||
"
|
||||
" * The new default for Include is a duller orange. To use the original
|
||||
" colouring for Include, use
|
||||
"
|
||||
" let g:zenburn_alternate_Include = 1
|
||||
"
|
||||
" * To turn the parameter(s) back to defaults, use UNLET:
|
||||
"
|
||||
" unlet g:zenburn_alternate_Include
|
||||
"
|
||||
" Setting to 0 won't work!
|
||||
"
|
||||
" That's it, enjoy!
|
||||
"
|
||||
" TODO
|
||||
" - Visual alternate color is broken? Try GVim >= 7.0.66 if you have trouble
|
||||
" - IME colouring (CursorIM)
|
||||
" - obscure syntax groups: check and colourize
|
||||
" - add more groups if necessary
|
||||
|
||||
set background=dark
|
||||
hi clear
|
||||
if exists("syntax_on")
|
||||
syntax reset
|
||||
endif
|
||||
let g:colors_name="zenburn"
|
||||
|
||||
hi Boolean guifg=#dca3a3
|
||||
hi Character guifg=#dca3a3 gui=bold
|
||||
hi Comment guifg=#7f9f7f gui=italic
|
||||
hi Conditional guifg=#f0dfaf gui=bold
|
||||
hi Constant guifg=#dca3a3 gui=bold
|
||||
hi Cursor guifg=#000d18 guibg=#8faf9f gui=bold
|
||||
hi Debug guifg=#bca3a3 gui=bold
|
||||
hi Define guifg=#ffcfaf gui=bold
|
||||
hi Delimiter guifg=#8f8f8f
|
||||
hi DiffAdd guifg=#709080 guibg=#313c36 gui=bold
|
||||
hi DiffChange guibg=#333333
|
||||
hi DiffDelete guifg=#333333 guibg=#464646
|
||||
hi DiffText guifg=#ecbcbc guibg=#41363c gui=bold
|
||||
hi Directory guifg=#dcdccc gui=bold
|
||||
hi ErrorMsg guifg=#80d4aa guibg=#2f2f2f gui=bold
|
||||
hi Exception guifg=#c3bf9f gui=bold
|
||||
hi Float guifg=#c0bed1
|
||||
hi FoldColumn guifg=#93b3a3 guibg=#3f4040
|
||||
hi Folded guifg=#93b3a3 guibg=#3f4040
|
||||
hi Function guifg=#efef8f
|
||||
hi Identifier guifg=#efdcbc
|
||||
hi IncSearch guibg=#f8f893 guifg=#385f38
|
||||
hi Keyword guifg=#f0dfaf gui=bold
|
||||
hi Label guifg=#dfcfaf gui=underline
|
||||
hi LineNr guifg=#9fafaf guibg=#262626
|
||||
hi Macro guifg=#ffcfaf gui=bold
|
||||
hi ModeMsg guifg=#ffcfaf gui=none
|
||||
hi MoreMsg guifg=#ffffff gui=bold
|
||||
hi NonText guifg=#404040
|
||||
hi Number guifg=#8cd0d3
|
||||
hi Operator guifg=#f0efd0
|
||||
hi PreCondit guifg=#dfaf8f gui=bold
|
||||
hi PreProc guifg=#ffcfaf gui=bold
|
||||
hi Question guifg=#ffffff gui=bold
|
||||
hi Repeat guifg=#ffd7a7 gui=bold
|
||||
hi Search guifg=#ffffe0 guibg=#284f28
|
||||
hi SpecialChar guifg=#dca3a3 gui=bold
|
||||
hi SpecialComment guifg=#82a282 gui=bold
|
||||
hi Special guifg=#cfbfaf
|
||||
hi SpecialKey guifg=#9ece9e
|
||||
hi Statement guifg=#e3ceab gui=none
|
||||
hi StatusLine guifg=#313633 guibg=#ccdc90
|
||||
hi StatusLineNC guifg=#2e3330 guibg=#88b090
|
||||
hi StorageClass guifg=#c3bf9f gui=bold
|
||||
hi String guifg=#cc9393
|
||||
hi Structure guifg=#efefaf gui=bold
|
||||
hi Tag guifg=#e89393 gui=bold
|
||||
hi Title guifg=#efefef gui=bold
|
||||
hi Todo guifg=#dfdfdf guibg=bg gui=bold
|
||||
hi Typedef guifg=#dfe4cf gui=bold
|
||||
hi Type guifg=#dfdfbf gui=bold
|
||||
hi Underlined guifg=#dcdccc gui=underline
|
||||
hi VertSplit guifg=#2e3330 guibg=#688060
|
||||
hi VisualNOS guifg=#333333 guibg=#f18c96 gui=bold,underline
|
||||
hi WarningMsg guifg=#ffffff guibg=#333333 gui=bold
|
||||
hi WildMenu guibg=#2c302d guifg=#cbecd0 gui=underline
|
||||
|
||||
" Entering Kurt zone
|
||||
if &t_Co > 255
|
||||
hi Boolean ctermfg=181
|
||||
hi Character ctermfg=181 cterm=bold
|
||||
hi Comment ctermfg=108
|
||||
hi Conditional ctermfg=223 cterm=bold
|
||||
hi Constant ctermfg=181 cterm=bold
|
||||
hi Cursor ctermfg=233 ctermbg=109 cterm=bold
|
||||
hi Debug ctermfg=181 cterm=bold
|
||||
hi Define ctermfg=223 cterm=bold
|
||||
hi Delimiter ctermfg=245
|
||||
hi DiffAdd ctermfg=66 ctermbg=237 cterm=bold
|
||||
hi DiffChange ctermbg=236
|
||||
hi DiffDelete ctermfg=236 ctermbg=238
|
||||
hi DiffText ctermfg=217 ctermbg=237 cterm=bold
|
||||
hi Directory ctermfg=188 cterm=bold
|
||||
hi ErrorMsg ctermfg=115 ctermbg=236 cterm=bold
|
||||
hi Exception ctermfg=249 cterm=bold
|
||||
hi Float ctermfg=251
|
||||
hi FoldColumn ctermfg=109 ctermbg=238
|
||||
hi Folded ctermfg=109 ctermbg=238
|
||||
hi Function ctermfg=228
|
||||
hi Identifier ctermfg=223
|
||||
hi IncSearch ctermbg=228 ctermfg=238
|
||||
hi Keyword ctermfg=223 cterm=bold
|
||||
hi Label ctermfg=187 cterm=underline
|
||||
hi LineNr ctermfg=248 ctermbg=235
|
||||
hi Macro ctermfg=223 cterm=bold
|
||||
hi ModeMsg ctermfg=223 cterm=none
|
||||
hi MoreMsg ctermfg=15 cterm=bold
|
||||
hi NonText ctermfg=238
|
||||
hi Number ctermfg=116
|
||||
hi Operator ctermfg=230
|
||||
hi PreCondit ctermfg=180 cterm=bold
|
||||
hi PreProc ctermfg=223 cterm=bold
|
||||
hi Question ctermfg=15 cterm=bold
|
||||
hi Repeat ctermfg=223 cterm=bold
|
||||
hi Search ctermfg=230 ctermbg=236
|
||||
hi SpecialChar ctermfg=181 cterm=bold
|
||||
hi SpecialComment ctermfg=108 cterm=bold
|
||||
hi Special ctermfg=181
|
||||
hi SpecialKey ctermfg=151
|
||||
hi Statement ctermfg=187 ctermbg=234 cterm=none
|
||||
hi StatusLine ctermfg=237 ctermbg=186
|
||||
hi StatusLineNC ctermfg=236 ctermbg=108
|
||||
hi StorageClass ctermfg=249 cterm=bold
|
||||
hi String ctermfg=174
|
||||
hi Structure ctermfg=229 cterm=bold
|
||||
hi Tag ctermfg=181 cterm=bold
|
||||
hi Title ctermfg=7 ctermbg=234 cterm=bold
|
||||
hi Todo ctermfg=108 ctermbg=234 cterm=bold
|
||||
hi Typedef ctermfg=253 cterm=bold
|
||||
hi Type ctermfg=187 cterm=bold
|
||||
hi Underlined ctermfg=188 ctermbg=234 cterm=bold
|
||||
hi VertSplit ctermfg=236 ctermbg=65
|
||||
hi VisualNOS ctermfg=236 ctermbg=210 cterm=bold
|
||||
hi WarningMsg ctermfg=15 ctermbg=236 cterm=bold
|
||||
hi WildMenu ctermbg=236 ctermfg=194 cterm=bold
|
||||
if exists("g:zenburn_high_Contrast")
|
||||
hi Normal ctermfg=188 ctermbg=234
|
||||
else
|
||||
hi Normal ctermfg=188 ctermbg=237
|
||||
hi Cursor ctermbg=109
|
||||
hi diffadd ctermbg=237
|
||||
hi diffdelete ctermbg=238
|
||||
hi difftext ctermbg=237
|
||||
hi errormsg ctermbg=237
|
||||
hi foldcolumn ctermbg=238
|
||||
hi folded ctermbg=238
|
||||
hi incsearch ctermbg=228
|
||||
hi linenr ctermbg=238
|
||||
hi search ctermbg=238
|
||||
hi statement ctermbg=237
|
||||
hi statusline ctermbg=144
|
||||
hi statuslinenc ctermbg=108
|
||||
hi title ctermbg=237
|
||||
hi todo ctermbg=237
|
||||
hi underlined ctermbg=237
|
||||
hi vertsplit ctermbg=65
|
||||
hi visualnos ctermbg=210
|
||||
hi warningmsg ctermbg=236
|
||||
hi wildmenu ctermbg=236
|
||||
endif
|
||||
endif
|
||||
|
||||
|
||||
if exists("g:zenburn_high_Contrast")
|
||||
" use new darker background
|
||||
hi Normal guifg=#dcdccc guibg=#1f1f1f
|
||||
hi CursorLine guibg=#000000 gui=bold
|
||||
hi Pmenu guibg=#242424 guifg=#ccccbc
|
||||
hi PMenuSel guibg=#353a37 guifg=#ccdc90 gui=bold
|
||||
hi PmenuSbar guibg=#2e3330 guifg=#000000
|
||||
hi PMenuThumb guibg=#a0afa0 guifg=#040404
|
||||
hi MatchParen guifg=#f0f0c0 guibg=#383838 gui=bold
|
||||
else
|
||||
" Original, lighter background
|
||||
hi Normal guifg=#dcdccc guibg=#3f3f3f
|
||||
hi CursorLine guibg=#434443
|
||||
hi Pmenu guibg=#2c2e2e guifg=#9f9f9f
|
||||
hi PMenuSel guibg=#242424 guifg=#d0d0a0 gui=bold
|
||||
hi PmenuSbar guibg=#2e3330 guifg=#000000
|
||||
hi PMenuThumb guibg=#a0afa0 guifg=#040404
|
||||
hi MatchParen guifg=#b2b2a0 guibg=#2e2e2e gui=bold
|
||||
endif
|
||||
|
||||
if exists("g:zenburn_alternate_Visual")
|
||||
" Visual with more contrast, thanks to Steve Hall & Cream posse
|
||||
" gui=none fixes weird highlight problem in at least GVim 7.0.66, thanks to Kurt Maier
|
||||
hi Visual guifg=#000000 guibg=#71d3b4 gui=none
|
||||
hi VisualNOS guifg=#000000 guibg=#71d3b4 gui=none
|
||||
else
|
||||
" use default visual
|
||||
hi Visual guifg=#233323 guibg=#71d3b4 gui=none
|
||||
hi VisualNOS guifg=#233323 guibg=#71d3b4 gui=none
|
||||
endif
|
||||
|
||||
if exists("g:zenburn_alternate_Error")
|
||||
" use a bit different Error
|
||||
hi Error guifg=#ef9f9f guibg=#201010 gui=bold
|
||||
else
|
||||
" default
|
||||
hi Error guifg=#e37170 guibg=#332323 gui=none
|
||||
endif
|
||||
|
||||
if exists("g:zenburn_alternate_Include")
|
||||
" original setting
|
||||
hi Include guifg=#ffcfaf gui=bold
|
||||
else
|
||||
" new, less contrasted one
|
||||
hi Include guifg=#dfaf8f gui=bold
|
||||
endif
|
||||
" TODO check every syntax group that they're ok
|
2
vim/ftdetect/brainfuck.vim
Normal file
2
vim/ftdetect/brainfuck.vim
Normal file
|
@ -0,0 +1,2 @@
|
|||
au BufNewFile,BufRead *.bf set filetype=brainfuck
|
||||
au BufNewFile,BufRead *.b set filetype=brainfuck
|
18
vim/ftdetect/git.vim
Normal file
18
vim/ftdetect/git.vim
Normal file
|
@ -0,0 +1,18 @@
|
|||
" Git
|
||||
autocmd BufNewFile,BufRead *.git/COMMIT_EDITMSG set ft=gitcommit
|
||||
autocmd BufNewFile,BufRead *.git/config,.gitconfig,.gitmodules set ft=gitconfig
|
||||
autocmd BufNewFile,BufRead git-rebase-todo set ft=gitrebase
|
||||
autocmd BufNewFile,BufRead .msg.[0-9]*
|
||||
\ if getline(1) =~ '^From.*# This line is ignored.$' |
|
||||
\ set ft=gitsendemail |
|
||||
\ endif
|
||||
autocmd BufNewFile,BufRead *.git/**
|
||||
\ if getline(1) =~ '^\x\{40\}\>\|^ref: ' |
|
||||
\ set ft=git |
|
||||
\ endif
|
||||
|
||||
" This logic really belongs in scripts.vim
|
||||
autocmd BufNewFile,BufRead,StdinReadPost *
|
||||
\ if getline(1) =~ '^\(commit\|tree\|object\) \x\{40\}\>\|^tag \S\+$' |
|
||||
\ set ft=git |
|
||||
\ endif
|
1
vim/ftdetect/ledger.vim
Normal file
1
vim/ftdetect/ledger.vim
Normal file
|
@ -0,0 +1 @@
|
|||
au BufRead,BufNewFile *.ledger set filetype=ledger
|
1
vim/swap/.gitignore
vendored
Normal file
1
vim/swap/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
*.swp
|
23
vim/syntax/brainfuck.vim
Normal file
23
vim/syntax/brainfuck.vim
Normal file
|
@ -0,0 +1,23 @@
|
|||
" brainfuck.vim
|
||||
" Author: Eryn Wells <eryn@3b518c.com>
|
||||
" Last Modified: 2010-11-09
|
||||
|
||||
syn match IncrementPtr '>'
|
||||
syn match DecrementPtr '<'
|
||||
syn match IncrementVal '+'
|
||||
syn match DecrementVal '-'
|
||||
syn match OutputVal '\.'
|
||||
syn match InputVal ','
|
||||
syn match LoopStart '\['
|
||||
syn match LoopEnd ']'
|
||||
syn match Comment '[^><+\-.,[\]]*' contains=ALL
|
||||
|
||||
hi IncrementPtr ctermfg=blue
|
||||
hi DecrementPtr ctermfg=blue
|
||||
hi IncrementVal ctermfg=green
|
||||
hi DecrementVal ctermfg=green
|
||||
hi OutputVal ctermfg=magenta
|
||||
hi InputVal ctermfg=magenta
|
||||
hi LoopStart ctermfg=cyan
|
||||
hi LoopEnd ctermfg=cyan
|
||||
hi Comment ctermfg=grey
|
28
vim/syntax/ledger.vim
Normal file
28
vim/syntax/ledger.vim
Normal file
|
@ -0,0 +1,28 @@
|
|||
syn case ignore
|
||||
|
||||
syn keyword bangDirective include account end transparent contained containedin=ledgerDirective
|
||||
|
||||
syn keyword periodRecurring daily weekly biweekly monthly bimonthly quarterly yearly contained containedin=ledgerPeriodEntry
|
||||
syn keyword periodSingle day week month quarter year contained containedin=periodEvery
|
||||
syn keyword periodPlural days weeks months quarters years contained containedin=periodEveryN
|
||||
syn match periodEvery 'every\s\+' nextgroup=periodSingle
|
||||
syn match periodEveryN 'every \(\d\+\)\=\s\+' nextgroup=periodPlural
|
||||
|
||||
syn case match
|
||||
|
||||
syn match ledgerComment '^;.*'
|
||||
syn match ledgerCommand '^[YPNDC]'
|
||||
syn match ledgerDirective '^!' nextgroup=bangDirective
|
||||
syn match ledgerPeriodEntry '^\~\s*.*'he=s contains=periodRecurring,periodEvery,periodEveryN
|
||||
"syn match ledgerAutomatedEntry '^=\s*'he=s contains=valueExpression
|
||||
|
||||
hi def link ledgerComment Comment
|
||||
hi def link ledgerCommand Keyword
|
||||
hi def link ledgerDirective Special
|
||||
hi def link ledgerPeriodEntry Special
|
||||
|
||||
hi def link periodRecurring Keyword
|
||||
hi def link periodSingle Keyword
|
||||
hi def link periodPlural Keyword
|
||||
hi def link periodEvery Keyword
|
||||
hi def link periodEveryN Keyword
|
Loading…
Add table
Add a link
Reference in a new issue