Created
December 2, 2013 00:38
-
-
Save pandemicsyn/7742995 to your computer and use it in GitHub Desktop.
vim theme and crap
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if has("gui_running") | |
colorscheme flat2 | |
else | |
colorscheme desert | |
endif | |
call pathogen#runtime_append_all_bundles() | |
filetype off | |
let g:neocomplcache_enable_at_startup = 1 | |
set nocompatible | |
filetype plugin indent on | |
syntax on | |
set noshowmode | |
syntax on | |
set vb | |
set ai ts=4 tw=0 sw=4 expandtab | |
set hlsearch | |
" set paste | |
set title | |
filetype plugin on | |
filetype plugin indent on | |
" Increase indentation after open-braces and match close-brace indentation to | |
" their open-brace indentations. | |
set smartindent | |
set backspace=indent,eol,start | |
" Automatically jump to where the search matches as it is being typed. | |
set incsearch | |
" Try to keep 4 extra lines of context at the top and bottom of the screen. | |
set scrolloff=4 | |
" Turns on syntax highlighting. | |
syn enable | |
au BufRead,BufNewFile *.go set filetype=go | |
" Turn on mouse mode. | |
set mouse=a | |
set ttymouse=xterm2 | |
" highlight lines over 79 cols, spaces at the end of lines and tab characters | |
highlight BadStyle ctermbg=darkblue ctermfg=yellow | |
match BadStyle "\(\%>79v.\+\|\t\| \+$\)" | |
autocmd FileType go setlocal noexpandtab shiftwidth=4 tabstop=4 softtabstop=4 nolist | |
" pep8 | |
let g:pep8_map='<leader>8' | |
" fucking pyflakes highlighting | |
highlight SpellBad term=reverse ctermbg=1 | |
"""""""""""""""""""""""""""""" | |
" => Statusline | |
"""""""""""""""""""""""""""""" | |
" Always hide the statusline | |
set laststatus=2 | |
" Format the statusline | |
set statusline=\ %{HasPaste()}%F%m%r%h\ %w\ \ CWD:\ %r%{CurDir()}%h\ \ \ Line:\ %l/%L:%c | |
function! CurDir() | |
let curdir = substitute(getcwd(), '/Users/fhines/', "~/", "g") | |
return curdir | |
endfunction | |
function! HasPaste() | |
if &paste | |
return 'PASTE MODE ' | |
else | |
return '' | |
endif | |
endfunction |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
syn keyword discardGroup err panic | |
syntax match discardOper "\(_\)" | |
syntax match assignOper "\(:=\|=\)" | |
syntax match ptrOper "\(*\w*\|&\w*\)" | |
hi link discardOper redGroup | |
hi link assignOper assignGroup | |
hi link ptrOper pointerGroup | |
hi discardGroup guifg=#E74C3C ctermfg=Red term=bold | |
hi assignGroup guifg=#16A085 | |
hi pointerGroup guifg=#F39C12 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Vim color file - flat2 | |
" based on http://codepen.io/cobblucas/pen/iGpIf | |
set background=light | |
if version > 580 | |
hi clear | |
if exists("syntax_on") | |
syntax reset | |
endif | |
endif | |
set t_Co=256 | |
let g:colors_name = "flat2" | |
hi IncSearch guifg=#404040 guibg=#40ffff guisp=#40ffff gui=NONE ctermfg=238 ctermbg=87 cterm=NONE | |
hi WildMenu guifg=#f8f8f8 guibg=#ff4080 guisp=#ff4080 gui=NONE ctermfg=15 ctermbg=13 cterm=NONE | |
"hi SignColumn -- no settings -- | |
hi SpecialComment guifg=#4a9400 guibg=NONE guisp=NONE gui=NONE ctermfg=64 ctermbg=NONE cterm=NONE | |
hi Typedef guifg=#0070e6 guibg=NONE guisp=NONE gui=NONE ctermfg=26 ctermbg=NONE cterm=NONE | |
hi Title guifg=#0050a0 guibg=#c0e8ff guisp=#c0e8ff gui=NONE ctermfg=25 ctermbg=153 cterm=NONE | |
hi Folded guifg=#20605c guibg=#b8e8dc guisp=#b8e8dc gui=NONE ctermfg=23 ctermbg=152 cterm=NONE | |
hi PreCondit guifg=#e06800 guibg=NONE guisp=NONE gui=NONE ctermfg=166 ctermbg=NONE cterm=NONE | |
hi Include guifg=#e06800 guibg=NONE guisp=NONE gui=NONE ctermfg=166 ctermbg=NONE cterm=NONE | |
"hi TabLineSel -- no settings -- | |
hi StatusLineNC guifg=#a4a4a4 guibg=#404040 guisp=#404040 gui=NONE ctermfg=248 ctermbg=238 cterm=NONE | |
"hi CTagsMember -- no settings -- | |
hi NonText guifg=#00a0c0 guibg=#ececec guisp=#ececec gui=NONE ctermfg=4 ctermbg=255 cterm=NONE | |
"hi CTagsGlobalConstant -- no settings -- | |
hi DiffText guifg=#e74d3c guibg=#ffd8d8 guisp=#ffd8d8 gui=NONE ctermfg=167 ctermbg=224 cterm=NONE | |
hi ErrorMsg guifg=#ff0000 guibg=#ffe4e4 guisp=#ffe4e4 gui=NONE ctermfg=196 ctermbg=224 cterm=NONE | |
hi Ignore guifg=#f8f8f8 guibg=NONE guisp=NONE gui=NONE ctermfg=15 ctermbg=NONE cterm=NONE | |
hi Debug guifg=#4a9400 guibg=NONE guisp=NONE gui=NONE ctermfg=64 ctermbg=NONE cterm=NONE | |
"hi PMenuSbar -- no settings -- | |
hi Identifier guifg=#008888 guibg=NONE guisp=NONE gui=NONE ctermfg=30 ctermbg=NONE cterm=NONE | |
hi SpecialChar guifg=#4a9400 guibg=NONE guisp=NONE gui=NONE ctermfg=64 ctermbg=NONE cterm=NONE | |
hi Conditional guifg=#0070e6 guibg=NONE guisp=NONE gui=NONE ctermfg=26 ctermbg=NONE cterm=NONE | |
hi StorageClass guifg=#0070e6 guibg=NONE guisp=NONE gui=NONE ctermfg=26 ctermbg=NONE cterm=NONE | |
hi Todo guifg=#e67e22 guibg=#ffe0f4 guisp=#ffe0f4 gui=NONE ctermfg=166 ctermbg=225 cterm=NONE | |
hi Special guifg=#4a9400 guibg=NONE guisp=NONE gui=NONE ctermfg=64 ctermbg=NONE cterm=NONE | |
hi LineNr guifg=#acacac guibg=NONE guisp=NONE gui=NONE ctermfg=145 ctermbg=NONE cterm=NONE | |
hi StatusLine guifg=#f8f8f8 guibg=#404040 guisp=#404040 gui=NONE ctermfg=15 ctermbg=238 cterm=NONE | |
hi Normal guifg=#2c3e50 guibg=#ecf0f1 guisp=#ecf0f1 gui=NONE ctermfg=239 ctermbg=255 cterm=NONE | |
hi Label guifg=#0070e6 guibg=NONE guisp=NONE gui=NONE ctermfg=26 ctermbg=NONE cterm=NONE | |
"hi CTagsImport -- no settings -- | |
hi PMenuSel guifg=#f8f8f8 guibg=#404040 guisp=#404040 gui=NONE ctermfg=15 ctermbg=238 cterm=NONE | |
hi Search guifg=#404040 guibg=#ffff60 guisp=#ffff60 gui=NONE ctermfg=238 ctermbg=227 cterm=NONE | |
"hi CTagsGlobalVariable -- no settings -- | |
hi Delimiter guifg=#4a9400 guibg=NONE guisp=NONE gui=NONE ctermfg=64 ctermbg=NONE cterm=NONE | |
hi Statement guifg=#d35400 guibg=NONE guisp=NONE gui=NONE ctermfg=166 ctermbg=NONE cterm=NONE | |
"hi SpellRare -- no settings -- | |
"hi EnumerationValue -- no settings -- | |
hi Comment guifg=#c03a2b guibg=NONE guisp=NONE gui=NONE ctermfg=1 ctermbg=NONE cterm=NONE | |
hi Character guifg=#8016ff guibg=NONE guisp=NONE gui=NONE ctermfg=93 ctermbg=NONE cterm=NONE | |
"hi Float -- no settings -- | |
hi Number guifg=#27ae5f guibg=NONE guisp=NONE gui=NONE ctermfg=35 ctermbg=NONE cterm=NONE | |
hi Boolean guifg=#f030d0 guibg=NONE guisp=NONE gui=NONE ctermfg=13 ctermbg=NONE cterm=NONE | |
hi Operator guifg=#2980b9 guibg=NONE guisp=NONE gui=NONE ctermfg=25 ctermbg=NONE cterm=NONE | |
"hi CursorLine -- no settings -- | |
"hi Union -- no settings -- | |
"hi TabLineFill -- no settings -- | |
hi Question guifg=#f030d0 guibg=NONE guisp=NONE gui=NONE ctermfg=13 ctermbg=NONE cterm=NONE | |
hi WarningMsg guifg=#ff0000 guibg=#ffe4e4 guisp=#ffe4e4 gui=NONE ctermfg=196 ctermbg=224 cterm=NONE | |
"hi VisualNOS -- no settings -- | |
hi DiffDelete guifg=#4848ff guibg=#ffd0ff guisp=#ffd0ff gui=NONE ctermfg=63 ctermbg=225 cterm=NONE | |
hi ModeMsg guifg=#ff4080 guibg=NONE guisp=NONE gui=NONE ctermfg=13 ctermbg=NONE cterm=NONE | |
"hi CursorColumn -- no settings -- | |
hi Define guifg=#e06800 guibg=NONE guisp=NONE gui=NONE ctermfg=166 ctermbg=NONE cterm=NONE | |
hi Function guifg=#008888 guibg=NONE guisp=NONE gui=NONE ctermfg=30 ctermbg=NONE cterm=NONE | |
hi FoldColumn guifg=#40a098 guibg=#f0f0f0 guisp=#f0f0f0 gui=NONE ctermfg=73 ctermbg=255 cterm=NONE | |
hi PreProc guifg=#e06800 guibg=NONE guisp=NONE gui=NONE ctermfg=166 ctermbg=NONE cterm=NONE | |
"hi EnumerationName -- no settings -- | |
hi Visual guifg=#484848 guibg=#e0e0e0 guisp=#e0e0e0 gui=NONE ctermfg=238 ctermbg=254 cterm=NONE | |
hi MoreMsg guifg=#009070 guibg=NONE guisp=NONE gui=NONE ctermfg=29 ctermbg=NONE cterm=NONE | |
"hi SpellCap -- no settings -- | |
hi VertSplit guifg=#f8f8f8 guibg=#404040 guisp=#404040 gui=NONE ctermfg=15 ctermbg=238 cterm=NONE | |
hi Exception guifg=#0070e6 guibg=NONE guisp=NONE gui=NONE ctermfg=26 ctermbg=NONE cterm=NONE | |
hi Keyword guifg=#0070e6 guibg=NONE guisp=NONE gui=NONE ctermfg=26 ctermbg=NONE cterm=NONE | |
hi Type guifg=#3498db guibg=NONE guisp=NONE gui=NONE ctermfg=74 ctermbg=NONE cterm=NONE | |
hi DiffChange guifg=#408040 guibg=#d0f0d0 guisp=#d0f0d0 gui=NONE ctermfg=65 ctermbg=194 cterm=NONE | |
hi Cursor guifg=#0000ff guibg=#00e0ff guisp=#00e0ff gui=NONE ctermfg=21 ctermbg=45 cterm=NONE | |
"hi SpellLocal -- no settings -- | |
hi Error guifg=#ffffff guibg=#ff4080 guisp=#ff4080 gui=NONE ctermfg=15 ctermbg=13 cterm=NONE | |
hi PMenu guifg=#a4a4a4 guibg=#404040 guisp=#404040 gui=NONE ctermfg=248 ctermbg=238 cterm=NONE | |
hi SpecialKey guifg=#4040ff guibg=NONE guisp=NONE gui=NONE ctermfg=13 ctermbg=NONE cterm=NONE | |
hi Constant guifg=#8d44ad guibg=NONE guisp=NONE gui=NONE ctermfg=97 ctermbg=NONE cterm=NONE | |
"hi DefinedName -- no settings -- | |
hi Tag guifg=#4a9400 guibg=NONE guisp=NONE gui=NONE ctermfg=64 ctermbg=NONE cterm=NONE | |
hi String guifg=#8d44ad guibg=NONE guisp=NONE gui=NONE ctermfg=97 ctermbg=NONE cterm=NONE | |
hi PMenuThumb guifg=NONE guibg=#acacac guisp=#acacac gui=NONE ctermfg=NONE ctermbg=145 cterm=NONE | |
"hi MatchParen -- no settings -- | |
"hi LocalVariable -- no settings -- | |
hi Repeat guifg=#0070e6 guibg=NONE guisp=NONE gui=NONE ctermfg=26 ctermbg=NONE cterm=NONE | |
"hi SpellBad -- no settings -- | |
"hi CTagsClass -- no settings -- | |
hi Directory guifg=#0070b8 guibg=NONE guisp=NONE gui=NONE ctermfg=25 ctermbg=NONE cterm=NONE | |
hi Structure guifg=#0070e6 guibg=NONE guisp=NONE gui=NONE ctermfg=26 ctermbg=NONE cterm=NONE | |
hi Macro guifg=#e06800 guibg=NONE guisp=NONE gui=NONE ctermfg=166 ctermbg=NONE cterm=NONE | |
hi Underlined guifg=#404040 guibg=NONE guisp=NONE gui=NONE ctermfg=238 ctermbg=NONE cterm=NONE | |
hi DiffAdd guifg=#4848ff guibg=#ffd0ff guisp=#ffd0ff gui=NONE ctermfg=63 ctermbg=225 cterm=NONE | |
"hi TabLine -- no settings -- | |
hi cursorim guifg=#f8f8f8 guibg=#8000ff guisp=#8000ff gui=NONE ctermfg=15 ctermbg=93 cterm=NONE | |
"hi clear -- no settings -- | |
hi lcursor guifg=#f8f8f8 guibg=#8000ff guisp=#8000ff gui=NONE ctermfg=15 ctermbg=93 cterm=NONE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment