Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

updated vim color

  • Loading branch information...
commit f1ce7eb9920d6d5ed7f60d5320e602d2d60a265c 1 parent c0362ee
pghosh authored
View
6 .gitmodules
@@ -0,0 +1,6 @@
+[submodule "bundle/command-t"]
+ path = bundle/command-t
+ url = git://git.wincent.com/command-t.git
+[submodule "vim/bundle/command-t"]
+ path = vim/bundle/command-t
+ url = git://git.wincent.com/command-t.git
View
3  aliases
@@ -109,3 +109,6 @@ shard() {
 fi
}
alias kill-jetty="ps -ef|grep jetty|grep -v grep|awk '{print $2}'|xargs kill -9"
+#Go path
+export GOPATH=$HOME/Projects/golang
+export PATH=$PATH:$HOME/Projects/golang/bin
View
2  irb/irbrc
@@ -0,0 +1,2 @@
+require 'rubygems'
+require 'interactive_editor'
View
173 vim/autoload/.cd
@@ -0,0 +1,173 @@
+" Copyright (C) 2006 Mauricio Fernandez <mfp@acm.org>
+" rcodetools support plugin
+"
+
+if exists("loaded_rcodetools")
+ finish
+endif
+
+let loaded_rcodetools = 1
+let s:save_cpo = &cpo
+set cpo&vim
+
+"{{{ set s:sid
+
+map <SID>xx <SID>xx
+let s:sid = maparg("<SID>xx")
+unmap <SID>xx
+let s:sid = substitute(s:sid, 'xx', '', '')
+
+"{{{ function: s:spellgetoption(name, default)
+" grab a user-specified option to override the default provided. options are
+" searched in the window, buffer, then global spaces.
+function! s:GetOption(name, default)
+ if exists("w:{&filetype}_" . a:name)
+ execute "return w:{&filetype}_".a:name
+ elseif exists("w:" . a:name)
+ execute "return w:".a:name
+ elseif exists("b:{&filetype}_" . a:name)
+ execute "return b:{&filetype}_".a:name
+ elseif exists("b:" . a:name)
+ execute "return b:".a:name
+ elseif exists("g:{&filetype}_" . a:name)
+ execute "return g:{&filetype}_".a:name
+ elseif exists("g:" . a:name)
+ execute "return g:".a:name
+ else
+ return a:default
+ endif
+endfunction
+
+"{{{ IsOptionSet
+function! s:IsOptionSet(name)
+ let bogus_val = "df hdsoi3y98 hjsdfhdkj"
+ return s:GetOption(a:name, bogus_val) == bogus_val ? 0 : 1
+endfunction
+
+
+"{{{ RCT_completion function
+
+let s:last_test_file = ""
+let s:last_test_lineno = 0
+
+let s:rct_completion_col = 0
+let s:rct_tmpfile = ""
+
+function! <SID>RCT_command_with_test_options(cmd)
+ if s:last_test_file != ""
+ return a:cmd .
+ \ "-" . "-filename='" . expand("%:p") . "' " .
+ \ "-t '" . s:last_test_file . "@" . s:last_test_lineno . "' "
+ endif
+ return a:cmd
+endfunction
+
+function! <SID>RCT_completion(findstart, base)
+ if a:findstart
+ let s:rct_completion_col = col('.') - 1
+ let s:rct_tmpfile = "tmp-rcodetools" . strftime("Y-%m-%d-%H-%M-%S.rb")
+ silent exec ":w " . s:rct_tmpfile
+ return strridx(getline('.'), '.', col('.')) + 1
+ else
+ let line = line('.')
+ let column = s:rct_completion_col
+
+ let command = "rct-complete --completion-class-info --dev --fork --line=" .
+ \ line . " --column=" . column . " "
+ let command = <SID>RCT_command_with_test_options(command) . s:rct_tmpfile
+
+ let data = split(system(command), '\n')
+
+ for dline in data
+ let parts = split(dline, "\t")
+ let name = get(parts, 0)
+ let selector = get(parts, 1)
+ echo name
+ echo selector
+ if s:GetOption('rct_completion_use_fri', 0) && s:GetOption('rct_completion_info_max_len', 20) >= len(data)
+ let fri_data = system('fri -f plain ' . "'" . selector . "'" . ' 2>/dev/null')
+ call complete_add({'word': name,
+ \ 'menu': get(split(fri_data), 2, ''),
+ \ 'info': fri_data } )
+ else
+ call complete_add(name)
+ endif
+ if complete_check()
+ break
+ endif
+ endfor
+
+ call delete(s:rct_tmpfile)
+ return []
+ endif
+endfunction
+
+"{{{ ri functions
+
+function! <SID>RCT_new_ri_window()
+ execute "new"
+ execute "set bufhidden=delete buftype=nofile noswapfile nobuflisted"
+ execute 'nmap <buffer><silent> <C-T> 2u'
+ execute 'nmap <buffer><silent> <C-]> :call' . s:sid . 'RCT_execute_ri(expand("<cWORD>"))<cr>'
+endfunction
+
+function! <SID>RCT_execute_ri(query_term)
+ silent %delete _
+ let term = matchstr(a:query_term, '\v[^,.;]+')
+ let cmd = s:GetOption("RCT_ri_cmd", "fri -f plain ")
+ let text = system(cmd . "'" . term . "'")
+ call append(0, split(text, "\n"))
+ normal gg
+endfunction
+
+function! RCT_find_tag_or_ri(fullname)
+ " rubikitch: modified for rtags-compatible tags
+ let tagname = '::' . a:fullname
+ let tagresults = taglist(tagname)
+ if len(tagresults) != 0
+ execute "tjump " . tagname
+ else
+ call <SID>RCT_new_ri_window()
+ call <SID>RCT_execute_ri(a:fullname)
+ endif
+endfunction
+
+function! <SID>RCT_smart_ri()
+ let tmpfile = "tmp-rcodetools" . strftime("Y-%m-%d-%H-%M-%S.rb")
+ silent exec ":w " . tmpfile
+
+ let line = line('.')
+ let column = col('.') - 1
+ let command = "rct-doc --ri-vim --line=" . line . " --column=" . column . " "
+ let command = <SID>RCT_command_with_test_options(command) . tmpfile
+ "let term = matchstr(system(command), "\\v[^\n]+")
+ exec system(command)
+ call delete(tmpfile)
+ "call RCT_find_tag_or_ri(term)
+endfunction
+
+function! <SID>RCT_ruby_toggle()
+ let curr_file = expand("%:p")
+ let cmd = "ruby -S ruby-toggle-file " . curr_file
+ if match(curr_file, '\v_test|test_') != -1
+ let s:last_test_file = curr_file
+ let s:last_test_lineno = line(".")
+ endif
+ let dest = system(cmd)
+ silent exec ":w"
+ exec ("edit " . dest)
+ silent! normal g;
+endfunction
+
+"{{{ bindings and au
+
+if v:version >= 700
+ execute "au Filetype ruby setlocal completefunc=" . s:sid . "RCT_completion"
+endif
+execute 'au Filetype ruby nmap <buffer><silent> <C-]> :exec "call ' .
+ \ 'RCT_find_tag_or_ri(''" . expand("<cword>") . "'')"<cr>'
+execute 'au Filetype ruby nmap <buffer><silent>' . s:GetOption("RCT_ri_binding", "<LocalLeader>r") .
+ \ ' :call ' . s:sid . 'RCT_smart_ri()<cr>'
+execute 'au Filetype ruby nmap <buffer><silent>' . s:GetOption("RCT_toggle_binding", "<LocalLeader>t") .
+ \ ' :call ' . s:sid . 'RCT_ruby_toggle()<cr>'
+let &cpo = s:save_cpo
View
1  vim/autoload/golang
View
173 vim/autoload/rcodetools.vim
@@ -0,0 +1,173 @@
+" Copyright (C) 2006 Mauricio Fernandez <mfp@acm.org>
+" rcodetools support plugin
+"
+
+if exists("loaded_rcodetools")
+ finish
+endif
+
+let loaded_rcodetools = 1
+let s:save_cpo = &cpo
+set cpo&vim
+
+"{{{ set s:sid
+
+map <SID>xx <SID>xx
+let s:sid = maparg("<SID>xx")
+unmap <SID>xx
+let s:sid = substitute(s:sid, 'xx', '', '')
+
+"{{{ function: s:spellgetoption(name, default)
+" grab a user-specified option to override the default provided. options are
+" searched in the window, buffer, then global spaces.
+function! s:GetOption(name, default)
+ if exists("w:{&filetype}_" . a:name)
+ execute "return w:{&filetype}_".a:name
+ elseif exists("w:" . a:name)
+ execute "return w:".a:name
+ elseif exists("b:{&filetype}_" . a:name)
+ execute "return b:{&filetype}_".a:name
+ elseif exists("b:" . a:name)
+ execute "return b:".a:name
+ elseif exists("g:{&filetype}_" . a:name)
+ execute "return g:{&filetype}_".a:name
+ elseif exists("g:" . a:name)
+ execute "return g:".a:name
+ else
+ return a:default
+ endif
+endfunction
+
+"{{{ IsOptionSet
+function! s:IsOptionSet(name)
+ let bogus_val = "df hdsoi3y98 hjsdfhdkj"
+ return s:GetOption(a:name, bogus_val) == bogus_val ? 0 : 1
+endfunction
+
+
+"{{{ RCT_completion function
+
+let s:last_test_file = ""
+let s:last_test_lineno = 0
+
+let s:rct_completion_col = 0
+let s:rct_tmpfile = ""
+
+function! <SID>RCT_command_with_test_options(cmd)
+ if s:last_test_file != ""
+ return a:cmd .
+ \ "-" . "-filename='" . expand("%:p") . "' " .
+ \ "-t '" . s:last_test_file . "@" . s:last_test_lineno . "' "
+ endif
+ return a:cmd
+endfunction
+
+function! <SID>RCT_completion(findstart, base)
+ if a:findstart
+ let s:rct_completion_col = col('.') - 1
+ let s:rct_tmpfile = "tmp-rcodetools" . strftime("Y-%m-%d-%H-%M-%S.rb")
+ silent exec ":w " . s:rct_tmpfile
+ return strridx(getline('.'), '.', col('.')) + 1
+ else
+ let line = line('.')
+ let column = s:rct_completion_col
+
+ let command = "rct-complete --completion-class-info --dev --fork --line=" .
+ \ line . " --column=" . column . " "
+ let command = <SID>RCT_command_with_test_options(command) . s:rct_tmpfile
+
+ let data = split(system(command), '\n')
+
+ for dline in data
+ let parts = split(dline, "\t")
+ let name = get(parts, 0)
+ let selector = get(parts, 1)
+ echo name
+ echo selector
+ if s:GetOption('rct_completion_use_fri', 0) && s:GetOption('rct_completion_info_max_len', 20) >= len(data)
+ let fri_data = system('fri -f plain ' . "'" . selector . "'" . ' 2>/dev/null')
+ call complete_add({'word': name,
+ \ 'menu': get(split(fri_data), 2, ''),
+ \ 'info': fri_data } )
+ else
+ call complete_add(name)
+ endif
+ if complete_check()
+ break
+ endif
+ endfor
+
+ call delete(s:rct_tmpfile)
+ return []
+ endif
+endfunction
+
+"{{{ ri functions
+
+function! <SID>RCT_new_ri_window()
+ execute "new"
+ execute "set bufhidden=delete buftype=nofile noswapfile nobuflisted"
+ execute 'nmap <buffer><silent> <C-T> 2u'
+ execute 'nmap <buffer><silent> <C-]> :call' . s:sid . 'RCT_execute_ri(expand("<cWORD>"))<cr>'
+endfunction
+
+function! <SID>RCT_execute_ri(query_term)
+ silent %delete _
+ let term = matchstr(a:query_term, '\v[^,.;]+')
+ let cmd = s:GetOption("RCT_ri_cmd", "fri -f plain ")
+ let text = system(cmd . "'" . term . "'")
+ call append(0, split(text, "\n"))
+ normal gg
+endfunction
+
+function! RCT_find_tag_or_ri(fullname)
+ " rubikitch: modified for rtags-compatible tags
+ let tagname = '::' . a:fullname
+ let tagresults = taglist(tagname)
+ if len(tagresults) != 0
+ execute "tjump " . tagname
+ else
+ call <SID>RCT_new_ri_window()
+ call <SID>RCT_execute_ri(a:fullname)
+ endif
+endfunction
+
+function! <SID>RCT_smart_ri()
+ let tmpfile = "tmp-rcodetools" . strftime("Y-%m-%d-%H-%M-%S.rb")
+ silent exec ":w " . tmpfile
+
+ let line = line('.')
+ let column = col('.') - 1
+ let command = "rct-doc --ri-vim --line=" . line . " --column=" . column . " "
+ let command = <SID>RCT_command_with_test_options(command) . tmpfile
+ "let term = matchstr(system(command), "\\v[^\n]+")
+ exec system(command)
+ call delete(tmpfile)
+ "call RCT_find_tag_or_ri(term)
+endfunction
+
+function! <SID>RCT_ruby_toggle()
+ let curr_file = expand("%:p")
+ let cmd = "ruby -S ruby-toggle-file " . curr_file
+ if match(curr_file, '\v_test|test_') != -1
+ let s:last_test_file = curr_file
+ let s:last_test_lineno = line(".")
+ endif
+ let dest = system(cmd)
+ silent exec ":w"
+ exec ("edit " . dest)
+ silent! normal g;
+endfunction
+
+"{{{ bindings and au
+
+if v:version >= 700
+ execute "au Filetype ruby setlocal completefunc=" . s:sid . "RCT_completion"
+endif
+execute 'au Filetype ruby nmap <buffer><silent> <C-]> :exec "call ' .
+ \ 'RCT_find_tag_or_ri(''" . expand("<cword>") . "'')"<cr>'
+execute 'au Filetype ruby nmap <buffer><silent>' . s:GetOption("RCT_ri_binding", "<LocalLeader>r") .
+ \ ' :call ' . s:sid . 'RCT_smart_ri()<cr>'
+execute 'au Filetype ruby nmap <buffer><silent>' . s:GetOption("RCT_toggle_binding", "<LocalLeader>t") .
+ \ ' :call ' . s:sid . 'RCT_ruby_toggle()<cr>'
+let &cpo = s:save_cpo
View
1  vim/bundle/autoload
1  vim/bundle/command-t
@@ -0,0 +1 @@
+Subproject commit 07087e16ba8fe0a87b1d1ccd03e158a0157dc1f8
View
1  vim/bundle/golang
View
109 vim/colors/codeschool.vim
@@ -0,0 +1,109 @@
+" Vim color file
+" Converted from my Textmate Code School theme using Coloration
+" http://astonj.com
+
+set background=dark
+highlight clear
+
+if exists("syntax_on")
+ syntax reset
+endif
+
+let g:colors_name = "Code School 3"
+
+hi Cursor ctermfg=16 ctermbg=145 cterm=NONE guifg=#182227 guibg=#9ea7a6 gui=NONE
+hi Visual ctermfg=NONE ctermbg=59 cterm=NONE guifg=NONE guibg=#3f4b52 gui=NONE
+hi CursorLine ctermfg=NONE ctermbg=23 cterm=NONE guifg=NONE guibg=#2e373b gui=NONE
+hi CursorColumn ctermfg=NONE ctermbg=23 cterm=NONE guifg=NONE guibg=#2e373b gui=NONE
+hi ColorColumn ctermfg=NONE ctermbg=23 cterm=NONE guifg=NONE guibg=#2e373b gui=NONE
+hi LineNr guifg=#8b8bcd guibg=#2e2e2e guisp=#2e2e2e gui=NONE ctermfg=104 ctermbg=236 cterm=NONE
+"hi LineNr ctermfg=102 ctermbg=23 cterm=NONE guifg=#84898c guibg=#2a343a gui=NONE
+hi VertSplit ctermfg=59 ctermbg=59 cterm=NONE guifg=#252c31 guibg=#252c31 gui=NONE
+hi MatchParen ctermfg=180 ctermbg=NONE cterm=underline guifg=#dda790 guibg=NONE gui=underline
+hi StatusLine ctermfg=231 ctermbg=59 cterm=bold guifg=#f0f0f0 guibg=#575e61 gui=bold
+hi StatusLineNC ctermfg=231 ctermbg=59 cterm=NONE guifg=#f0f0f0 guibg=#575e61 gui=NONE
+hi Pmenu ctermfg=153 ctermbg=NONE cterm=NONE guifg=#bcdbff guibg=NONE gui=NONE
+hi PmenuSel ctermfg=NONE ctermbg=59 cterm=NONE guifg=NONE guibg=#3f4b52 gui=NONE
+hi IncSearch ctermfg=16 ctermbg=107 cterm=NONE guifg=#182227 guibg=#8bb664 gui=NONE
+hi Search ctermfg=NONE ctermbg=NONE cterm=underline guifg=NONE guibg=NONE gui=underline
+hi Directory ctermfg=68 ctermbg=NONE cterm=NONE guifg=#3c98d9 guibg=NONE gui=NONE
+hi Folded ctermfg=247 ctermbg=16 cterm=NONE guifg=#9a9a9a guibg=#182227 gui=NONE
+
+hi Normal ctermfg=231 ctermbg=16 cterm=NONE guifg=#f0f0f0 guibg=#252c31 gui=NONE
+hi Boolean ctermfg=68 ctermbg=NONE cterm=NONE guifg=#3c98d9 guibg=NONE gui=NONE
+hi Character ctermfg=68 ctermbg=NONE cterm=NONE guifg=#3c98d9 guibg=NONE gui=NONE
+hi Comment ctermfg=247 ctermbg=NONE cterm=NONE guifg=#9a9a9a guibg=NONE gui=italic
+hi Conditional ctermfg=180 ctermbg=NONE cterm=NONE guifg=#dda790 guibg=NONE gui=NONE
+hi Constant ctermfg=68 ctermbg=NONE cterm=NONE guifg=#3c98d9 guibg=NONE gui=NONE
+hi Define ctermfg=180 ctermbg=NONE cterm=NONE guifg=#dda790 guibg=NONE gui=NONE
+hi DiffAdd ctermfg=231 ctermbg=64 cterm=bold guifg=#f0f0f0 guibg=#43820d gui=bold
+hi DiffDelete ctermfg=88 ctermbg=NONE cterm=NONE guifg=#880708 guibg=NONE gui=NONE
+hi DiffChange ctermfg=231 ctermbg=23 cterm=NONE guifg=#f0f0f0 guibg=#1c3657 gui=NONE
+hi DiffText ctermfg=231 ctermbg=24 cterm=bold guifg=#f0f0f0 guibg=#204a87 gui=bold
+hi ErrorMsg ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
+hi WarningMsg ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
+hi Float ctermfg=68 ctermbg=NONE cterm=NONE guifg=#3c98d9 guibg=NONE gui=NONE
+hi Function ctermfg=153 ctermbg=NONE cterm=NONE guifg=#bcdbff guibg=NONE gui=NONE
+hi Identifier ctermfg=113 ctermbg=NONE cterm=NONE guifg=#99cf50 guibg=NONE gui=NONE
+hi Keyword ctermfg=180 ctermbg=NONE cterm=NONE guifg=#dda790 guibg=NONE gui=NONE
+hi Label ctermfg=107 ctermbg=NONE cterm=NONE guifg=#8bb664 guibg=NONE gui=NONE
+hi NonText ctermfg=59 ctermbg=17 cterm=NONE guifg=#414e58 guibg=#232c31 gui=NONE
+hi Number ctermfg=68 ctermbg=NONE cterm=NONE guifg=#3c98d9 guibg=NONE gui=NONE
+hi Operator ctermfg=180 ctermbg=NONE cterm=NONE guifg=#dda790 guibg=NONE gui=NONE
+hi PreProc ctermfg=180 ctermbg=NONE cterm=NONE guifg=#dda790 guibg=NONE gui=NONE
+hi Special ctermfg=231 ctermbg=NONE cterm=NONE guifg=#f0f0f0 guibg=NONE gui=NONE
+hi SpecialKey ctermfg=59 ctermbg=23 cterm=NONE guifg=#414e58 guibg=#252c31 gui=NONE
+hi Statement ctermfg=180 ctermbg=NONE cterm=NONE guifg=#dda790 guibg=NONE gui=NONE
+hi StorageClass ctermfg=113 ctermbg=NONE cterm=NONE guifg=#99cf50 guibg=NONE gui=NONE
+hi String ctermfg=107 ctermbg=NONE cterm=NONE guifg=#8bb664 guibg=NONE gui=NONE
+hi Tag ctermfg=153 ctermbg=NONE cterm=NONE guifg=#bcdbff guibg=NONE gui=NONE
+hi Title ctermfg=231 ctermbg=NONE cterm=bold guifg=#f0f0f0 guibg=NONE gui=bold
+hi Todo ctermfg=247 ctermbg=NONE cterm=inverse,bold guifg=#9a9a9a guibg=NONE gui=inverse,bold,italic
+hi Type ctermfg=153 ctermbg=NONE cterm=NONE guifg=#b5d8f6 guibg=NONE gui=NONE
+hi Underlined ctermfg=NONE ctermbg=NONE cterm=underline guifg=NONE guibg=NONE gui=underline
+hi rubyClass ctermfg=180 ctermbg=NONE cterm=NONE guifg=#dda790 guibg=NONE gui=NONE
+hi rubyFunction ctermfg=153 ctermbg=NONE cterm=NONE guifg=#bcdbff guibg=NONE gui=NONE
+hi rubyInterpolationDelimiter ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
+hi rubySymbol ctermfg=68 ctermbg=NONE cterm=NONE guifg=#3c98d9 guibg=NONE gui=NONE
+hi rubyConstant ctermfg=146 ctermbg=NONE cterm=NONE guifg=#bfabcb guibg=NONE gui=NONE
+hi rubyStringDelimiter ctermfg=107 ctermbg=NONE cterm=NONE guifg=#8bb664 guibg=NONE gui=NONE
+hi rubyBlockParameter ctermfg=74 ctermbg=NONE cterm=NONE guifg=#68a9eb guibg=NONE gui=NONE
+hi rubyInstanceVariable ctermfg=74 ctermbg=NONE cterm=NONE guifg=#68a9eb guibg=NONE gui=NONE
+hi rubyInclude ctermfg=180 ctermbg=NONE cterm=NONE guifg=#dda790 guibg=NONE gui=NONE
+hi rubyGlobalVariable ctermfg=74 ctermbg=NONE cterm=NONE guifg=#68a9eb guibg=NONE gui=NONE
+hi rubyRegexp ctermfg=179 ctermbg=NONE cterm=NONE guifg=#e9c062 guibg=NONE gui=NONE
+hi rubyRegexpDelimiter ctermfg=179 ctermbg=NONE cterm=NONE guifg=#e9c062 guibg=NONE gui=NONE
+hi rubyEscape ctermfg=68 ctermbg=NONE cterm=NONE guifg=#3c98d9 guibg=NONE gui=NONE
+hi rubyControl ctermfg=180 ctermbg=NONE cterm=NONE guifg=#dda790 guibg=NONE gui=NONE
+hi rubyClassVariable ctermfg=74 ctermbg=NONE cterm=NONE guifg=#68a9eb guibg=NONE gui=NONE
+hi rubyOperator ctermfg=180 ctermbg=NONE cterm=NONE guifg=#dda790 guibg=NONE gui=NONE
+hi rubyException ctermfg=180 ctermbg=NONE cterm=NONE guifg=#dda790 guibg=NONE gui=NONE
+hi rubyPseudoVariable ctermfg=74 ctermbg=NONE cterm=NONE guifg=#68a9eb guibg=NONE gui=NONE
+hi rubyRailsUserClass ctermfg=146 ctermbg=NONE cterm=NONE guifg=#bfabcb guibg=NONE gui=NONE
+hi rubyRailsARAssociationMethod ctermfg=186 ctermbg=NONE cterm=NONE guifg=#dad085 guibg=NONE gui=NONE
+hi rubyRailsARMethod ctermfg=186 ctermbg=NONE cterm=NONE guifg=#dad085 guibg=NONE gui=NONE
+hi rubyRailsRenderMethod ctermfg=186 ctermbg=NONE cterm=NONE guifg=#dad085 guibg=NONE gui=NONE
+hi rubyRailsMethod ctermfg=186 ctermbg=NONE cterm=NONE guifg=#dad085 guibg=NONE gui=NONE
+hi erubyDelimiter ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
+hi erubyComment ctermfg=247 ctermbg=NONE cterm=NONE guifg=#9a9a9a guibg=NONE gui=italic
+hi erubyRailsMethod ctermfg=186 ctermbg=NONE cterm=NONE guifg=#dad085 guibg=NONE gui=NONE
+hi htmlTag ctermfg=111 ctermbg=NONE cterm=NONE guifg=#89bdff guibg=NONE gui=NONE
+hi htmlEndTag ctermfg=111 ctermbg=NONE cterm=NONE guifg=#89bdff guibg=NONE gui=NONE
+hi htmlTagName ctermfg=111 ctermbg=NONE cterm=NONE guifg=#89bdff guibg=NONE gui=NONE
+hi htmlArg ctermfg=111 ctermbg=NONE cterm=NONE guifg=#89bdff guibg=NONE gui=NONE
+hi htmlSpecialChar ctermfg=68 ctermbg=NONE cterm=NONE guifg=#3c98d9 guibg=NONE gui=NONE
+hi javaScriptFunction ctermfg=113 ctermbg=NONE cterm=NONE guifg=#99cf50 guibg=NONE gui=NONE
+hi javaScriptRailsFunction ctermfg=186 ctermbg=NONE cterm=NONE guifg=#dad085 guibg=NONE gui=NONE
+hi javaScriptBraces ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
+hi yamlKey ctermfg=153 ctermbg=NONE cterm=NONE guifg=#bcdbff guibg=NONE gui=NONE
+hi yamlAnchor ctermfg=74 ctermbg=NONE cterm=NONE guifg=#68a9eb guibg=NONE gui=NONE
+hi yamlAlias ctermfg=74 ctermbg=NONE cterm=NONE guifg=#68a9eb guibg=NONE gui=NONE
+hi yamlDocumentHeader ctermfg=107 ctermbg=NONE cterm=NONE guifg=#8bb664 guibg=NONE gui=NONE
+hi cssURL ctermfg=74 ctermbg=NONE cterm=NONE guifg=#68a9eb guibg=NONE gui=NONE
+hi cssFunctionName ctermfg=186 ctermbg=NONE cterm=NONE guifg=#dad085 guibg=NONE gui=NONE
+hi cssColor ctermfg=68 ctermbg=NONE cterm=NONE guifg=#3c98d9 guibg=NONE gui=NONE
+hi cssPseudoClassId ctermfg=153 ctermbg=NONE cterm=NONE guifg=#bcdbff guibg=NONE gui=NONE
+hi cssClassName ctermfg=153 ctermbg=NONE cterm=NONE guifg=#bcdbff guibg=NONE gui=NONE
+hi cssValueLength ctermfg=68 ctermbg=NONE cterm=NONE guifg=#3c98d9 guibg=NONE gui=NONE
+hi cssCommonAttr ctermfg=151 ctermbg=NONE cterm=NONE guifg=#a7cfa3 guibg=NONE gui=NONE
+hi cssBraces ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
View
31 vim/colors/grb256.vim
@@ -0,0 +1,31 @@
+" Based on
+runtime colors/ir_black.vim
+
+let g:colors_name = "grb256"
+
+hi pythonSpaceError ctermbg=red guibg=red
+
+hi Comment ctermfg=darkgray
+
+hi StatusLine ctermbg=darkgrey ctermfg=white
+hi StatusLineNC ctermbg=black ctermfg=lightgrey
+hi VertSplit ctermbg=black ctermfg=lightgrey
+hi LineNr ctermfg=darkgray
+hi CursorLine guifg=NONE guibg=#121212 gui=NONE ctermfg=NONE ctermbg=234
+hi Function guifg=#FFD2A7 guibg=NONE gui=NONE ctermfg=yellow ctermbg=NONE cterm=NONE
+hi Visual guifg=NONE guibg=#262D51 gui=NONE ctermfg=NONE ctermbg=236 cterm=NONE
+
+hi Error guifg=NONE guibg=NONE gui=undercurl ctermfg=16 ctermbg=red cterm=NONE guisp=#FF6C60 " undercurl color
+hi ErrorMsg guifg=white guibg=#FF6C60 gui=BOLD ctermfg=16 ctermbg=red cterm=NONE
+hi WarningMsg guifg=white guibg=#FF6C60 gui=BOLD ctermfg=16 ctermbg=red cterm=NONE
+hi SpellBad guifg=white guibg=#FF6C60 gui=BOLD ctermfg=16 ctermbg=160 cterm=NONE
+
+" ir_black doesn't highlight operators for some reason
+hi Operator guifg=#6699CC guibg=NONE gui=NONE ctermfg=lightblue ctermbg=NONE cterm=NONE
+
+highlight DiffAdd term=reverse cterm=bold ctermbg=lightgreen ctermfg=16
+highlight DiffChange term=reverse cterm=bold ctermbg=lightblue ctermfg=16
+highlight DiffText term=reverse cterm=bold ctermbg=lightgray ctermfg=16
+highlight DiffDelete term=reverse cterm=bold ctermbg=lightred ctermfg=16
+
+highlight PmenuSel ctermfg=16 ctermbg=156
View
121 vim/colors/inkpot.vim
@@ -0,0 +1,121 @@
+" Vim color file - inkpot
+" Generated by http://bytefluent.com/vivify 2012-12-17
+set background=dark
+if version > 580
+ hi clear
+ if exists("syntax_on")
+ syntax reset
+ endif
+endif
+
+set t_Co=256
+let g:colors_name = "inkpot"
+
+hi IncSearch guifg=#303030 guibg=#cd8b60 guisp=#cd8b60 gui=NONE ctermfg=236 ctermbg=173 cterm=NONE
+hi WildMenu guifg=#eeeeee guibg=#6e6eaf guisp=#6e6eaf gui=NONE ctermfg=255 ctermbg=61 cterm=NONE
+"hi SignColumn -- no settings --
+hi SpecialComment guifg=#c080d0 guibg=NONE guisp=NONE gui=NONE ctermfg=176 ctermbg=NONE cterm=NONE
+hi Typedef guifg=#ff8bff guibg=NONE guisp=NONE gui=NONE ctermfg=213 ctermbg=NONE cterm=NONE
+hi Title guifg=#af4f4b guibg=NONE guisp=NONE gui=NONE ctermfg=131 ctermbg=NONE cterm=NONE
+hi Folded guifg=#cfcfcd guibg=#4b208f guisp=#4b208f gui=NONE ctermfg=252 ctermbg=54 cterm=NONE
+hi PreCondit guifg=#409090 guibg=NONE guisp=NONE gui=NONE ctermfg=66 ctermbg=NONE cterm=NONE
+hi Include guifg=#409090 guibg=NONE guisp=NONE gui=NONE ctermfg=66 ctermbg=NONE cterm=NONE
+"hi TabLineSel -- no settings --
+hi StatusLineNC guifg=#b9b9b9 guibg=#3e3e5e guisp=#3e3e5e gui=NONE ctermfg=250 ctermbg=60 cterm=NONE
+"hi CTagsMember -- no settings --
+hi NonText guifg=#8b8bcd guibg=NONE guisp=NONE gui=NONE ctermfg=104 ctermbg=NONE cterm=NONE
+"hi CTagsGlobalConstant -- no settings --
+hi DiffText guifg=#ffffcd guibg=#4a2a4a guisp=#4a2a4a gui=NONE ctermfg=230 ctermbg=239 cterm=NONE
+hi ErrorMsg guifg=#ffffff guibg=#ce4e4e guisp=#ce4e4e gui=NONE ctermfg=15 ctermbg=167 cterm=NONE
+"hi Ignore -- no settings --
+hi Debug guifg=#c080d0 guibg=NONE guisp=NONE gui=NONE ctermfg=176 ctermbg=NONE cterm=NONE
+hi PMenuSbar guifg=#eeeeee guibg=#6e6eaf guisp=#6e6eaf gui=NONE ctermfg=255 ctermbg=61 cterm=NONE
+hi Identifier guifg=#ff8bff guibg=NONE guisp=NONE gui=NONE ctermfg=213 ctermbg=NONE cterm=NONE
+hi SpecialChar guifg=#c080d0 guibg=#404040 guisp=#404040 gui=NONE ctermfg=176 ctermbg=238 cterm=NONE
+hi Conditional guifg=#ff8bff guibg=NONE guisp=NONE gui=NONE ctermfg=213 ctermbg=NONE cterm=NONE
+hi StorageClass guifg=#ff8bff guibg=NONE guisp=NONE gui=NONE ctermfg=213 ctermbg=NONE cterm=NONE
+hi Todo guifg=#303030 guibg=#d0a060 guisp=#d0a060 gui=NONE ctermfg=236 ctermbg=179 cterm=NONE
+hi Special guifg=#c080d0 guibg=NONE guisp=NONE gui=NONE ctermfg=176 ctermbg=NONE cterm=NONE
+hi LineNr guifg=#8b8bcd guibg=#2e2e2e guisp=#2e2e2e gui=NONE ctermfg=104 ctermbg=236 cterm=NONE
+hi StatusLine guifg=#b9b9b9 guibg=#3e3e5e guisp=#3e3e5e gui=NONE ctermfg=250 ctermbg=60 cterm=NONE
+hi Normal guifg=#e0dad3 guibg=#42424f guisp=#42424f gui=bold,italic ctermfg=187 ctermbg=239 cterm=bold
+hi Label guifg=#ff8bff guibg=NONE guisp=NONE gui=NONE ctermfg=213 ctermbg=NONE cterm=NONE
+"hi CTagsImport -- no settings --
+hi PMenuSel guifg=#eeeeee guibg=#2e2e3f guisp=#2e2e3f gui=NONE ctermfg=255 ctermbg=237 cterm=NONE
+hi Search guifg=#303030 guibg=#cd8b60 guisp=#cd8b60 gui=NONE ctermfg=236 ctermbg=173 cterm=NONE
+"hi CTagsGlobalVariable -- no settings --
+hi Delimiter guifg=#c080d0 guibg=NONE guisp=NONE gui=NONE ctermfg=176 ctermbg=NONE cterm=NONE
+hi Statement guifg=#808bed guibg=NONE guisp=NONE gui=NONE ctermfg=105 ctermbg=NONE cterm=NONE
+"hi SpellRare -- no settings --
+"hi EnumerationValue -- no settings --
+hi Comment guifg=#cd8b00 guibg=NONE guisp=NONE gui=NONE ctermfg=172 ctermbg=NONE cterm=NONE
+hi Character guifg=#ffcd8b guibg=NONE guisp=NONE gui=NONE ctermfg=222 ctermbg=NONE cterm=NONE
+hi Float guifg=#f0ad6d guibg=NONE guisp=NONE gui=NONE ctermfg=215 ctermbg=NONE cterm=NONE
+hi Number guifg=#f0ad6d guibg=NONE guisp=NONE gui=NONE ctermfg=215 ctermbg=NONE cterm=NONE
+hi Boolean guifg=#808bed guibg=NONE guisp=NONE gui=NONE ctermfg=105 ctermbg=NONE cterm=NONE
+hi Operator guifg=#ff8bff guibg=NONE guisp=NONE gui=NONE ctermfg=213 ctermbg=NONE cterm=NONE
+"hi CursorLine -- no settings --
+"hi Union -- no settings --
+"hi TabLineFill -- no settings --
+hi Question guifg=#ffcd00 guibg=NONE guisp=NONE gui=NONE ctermfg=220 ctermbg=NONE cterm=NONE
+hi WarningMsg guifg=#ffffff guibg=#ce8e4e guisp=#ce8e4e gui=NONE ctermfg=15 ctermbg=173 cterm=NONE
+"hi VisualNOS -- no settings --
+hi DiffDelete guifg=#ffffcd guibg=#6d3030 guisp=#6d3030 gui=NONE ctermfg=230 ctermbg=95 cterm=NONE
+hi ModeMsg guifg=#7e7eae guibg=NONE guisp=NONE gui=NONE ctermfg=103 ctermbg=NONE cterm=NONE
+"hi CursorColumn -- no settings --
+hi Define guifg=#409090 guibg=NONE guisp=NONE gui=NONE ctermfg=66 ctermbg=NONE cterm=NONE
+hi Function guifg=#ff8bff guibg=NONE guisp=NONE gui=NONE ctermfg=213 ctermbg=NONE cterm=NONE
+hi FoldColumn guifg=#8b8bcd guibg=#2e2e2e guisp=#2e2e2e gui=NONE ctermfg=104 ctermbg=236 cterm=NONE
+hi PreProc guifg=#409090 guibg=NONE guisp=NONE gui=NONE ctermfg=66 ctermbg=NONE cterm=NONE
+"hi EnumerationName -- no settings --
+hi Visual guifg=#eeeeee guibg=#4e4e8f guisp=#4e4e8f gui=NONE ctermfg=255 ctermbg=60 cterm=NONE
+hi MoreMsg guifg=#7e7eae guibg=NONE guisp=NONE gui=NONE ctermfg=103 ctermbg=NONE cterm=NONE
+"hi SpellCap -- no settings --
+hi VertSplit guifg=#b9b9b9 guibg=#3e3e5e guisp=#3e3e5e gui=NONE ctermfg=250 ctermbg=60 cterm=NONE
+hi Exception guifg=#ff8bff guibg=NONE guisp=NONE gui=NONE ctermfg=213 ctermbg=NONE cterm=NONE
+hi Keyword guifg=#ff8bff guibg=NONE guisp=NONE gui=NONE ctermfg=213 ctermbg=NONE cterm=NONE
+hi Type guifg=#ff8bff guibg=NONE guisp=NONE gui=NONE ctermfg=213 ctermbg=NONE cterm=NONE
+hi DiffChange guifg=#ffffcd guibg=#306b8f guisp=#306b8f gui=NONE ctermfg=230 ctermbg=24 cterm=NONE
+hi Cursor guifg=#404040 guibg=#8b8bff guisp=#8b8bff gui=NONE ctermfg=238 ctermbg=105 cterm=NONE
+"hi SpellLocal -- no settings --
+hi Error guifg=#ffffff guibg=#6e2e2e guisp=#6e2e2e gui=NONE ctermfg=15 ctermbg=95 cterm=NONE
+hi PMenu guifg=#eeeeee guibg=#4e4e8f guisp=#4e4e8f gui=NONE ctermfg=255 ctermbg=60 cterm=NONE
+hi SpecialKey guifg=#ab60ed guibg=NONE guisp=NONE gui=NONE ctermfg=135 ctermbg=NONE cterm=NONE
+hi Constant guifg=#ffcd8b guibg=NONE guisp=NONE gui=NONE ctermfg=222 ctermbg=NONE cterm=NONE
+"hi DefinedName -- no settings --
+hi Tag guifg=#c080d0 guibg=NONE guisp=NONE gui=NONE ctermfg=176 ctermbg=NONE cterm=NONE
+hi String guifg=#ffcd8b guibg=#404040 guisp=#404040 gui=NONE ctermfg=222 ctermbg=238 cterm=NONE
+hi PMenuThumb guifg=#eeeeee guibg=#6e6eaf guisp=#6e6eaf gui=NONE ctermfg=255 ctermbg=61 cterm=NONE
+hi MatchParen guifg=#404040 guibg=#8fff8b guisp=#8fff8b gui=NONE ctermfg=238 ctermbg=120 cterm=NONE
+"hi LocalVariable -- no settings --
+hi Repeat guifg=#ff8bff guibg=NONE guisp=NONE gui=NONE ctermfg=213 ctermbg=NONE cterm=NONE
+"hi SpellBad -- no settings --
+"hi CTagsClass -- no settings --
+hi Directory guifg=#00ff8b guibg=NONE guisp=NONE gui=NONE ctermfg=48 ctermbg=NONE cterm=NONE
+hi Structure guifg=#ff8bff guibg=NONE guisp=NONE gui=NONE ctermfg=213 ctermbg=NONE cterm=NONE
+hi Macro guifg=#409090 guibg=NONE guisp=NONE gui=NONE ctermfg=66 ctermbg=NONE cterm=NONE
+hi Underlined guifg=#df9f2d guibg=NONE guisp=NONE gui=NONE ctermfg=172 ctermbg=NONE cterm=NONE
+hi DiffAdd guifg=#ffffcd guibg=#306d30 guisp=#306d30 gui=NONE ctermfg=230 ctermbg=65 cterm=NONE
+"hi TabLine -- no settings --
+hi mbenormal guifg=#cfbfad guibg=#2e2e3f guisp=#2e2e3f gui=NONE ctermfg=187 ctermbg=237 cterm=NONE
+hi perlspecialstring guifg=#c080d0 guibg=#404040 guisp=#404040 gui=NONE ctermfg=176 ctermbg=238 cterm=NONE
+hi doxygenspecial guifg=#fdd090 guibg=NONE guisp=NONE gui=NONE ctermfg=222 ctermbg=NONE cterm=NONE
+hi mbechanged guifg=#eeeeee guibg=#2e2e3f guisp=#2e2e3f gui=NONE ctermfg=255 ctermbg=237 cterm=NONE
+hi mbevisiblechanged guifg=#eeeeee guibg=#4e4e8f guisp=#4e4e8f gui=NONE ctermfg=255 ctermbg=60 cterm=NONE
+hi doxygenparam guifg=#fdd090 guibg=NONE guisp=NONE gui=NONE ctermfg=222 ctermbg=NONE cterm=NONE
+hi doxygensmallspecial guifg=#fdd090 guibg=NONE guisp=NONE gui=NONE ctermfg=222 ctermbg=NONE cterm=NONE
+hi doxygenprev guifg=#fdd090 guibg=NONE guisp=NONE gui=NONE ctermfg=222 ctermbg=NONE cterm=NONE
+hi perlspecialmatch guifg=#c080d0 guibg=#404040 guisp=#404040 gui=NONE ctermfg=176 ctermbg=238 cterm=NONE
+hi cformat guifg=#c080d0 guibg=#404040 guisp=#404040 gui=NONE ctermfg=176 ctermbg=238 cterm=NONE
+hi lcursor guifg=#404040 guibg=#8fff8b guisp=#8fff8b gui=NONE ctermfg=238 ctermbg=120 cterm=NONE
+hi cursorim guifg=#404040 guibg=#8b8bff guisp=#8b8bff gui=NONE ctermfg=238 ctermbg=105 cterm=NONE
+hi doxygenspecialmultilinedesc guifg=#ad600b guibg=NONE guisp=NONE gui=NONE ctermfg=130 ctermbg=NONE cterm=NONE
+hi taglisttagname guifg=#808bed guibg=NONE guisp=NONE gui=NONE ctermfg=105 ctermbg=NONE cterm=NONE
+hi doxygenbrief guifg=#fdab60 guibg=NONE guisp=NONE gui=NONE ctermfg=215 ctermbg=NONE cterm=NONE
+hi mbevisiblenormal guifg=#cfcfcd guibg=#4e4e8f guisp=#4e4e8f gui=NONE ctermfg=252 ctermbg=60 cterm=NONE
+hi user2 guifg=#7070a0 guibg=#3e3e5e guisp=#3e3e5e gui=NONE ctermfg=103 ctermbg=60 cterm=NONE
+hi user1 guifg=#00ff8b guibg=#3e3e5e guisp=#3e3e5e gui=NONE ctermfg=48 ctermbg=60 cterm=NONE
+hi doxygenspecialonelinedesc guifg=#ad600b guibg=NONE guisp=NONE gui=NONE ctermfg=130 ctermbg=NONE cterm=NONE
+hi doxygencomment guifg=#ad7b20 guibg=NONE guisp=NONE gui=NONE ctermfg=130 ctermbg=NONE cterm=NONE
+hi cspecialcharacter guifg=#c080d0 guibg=#404040 guisp=#404040 gui=NONE ctermfg=176 ctermbg=238 cterm=NONE
+"hi clear -- no settings --
View
212 vim/colors/ir_black.vim
@@ -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
View
173 vim/plugin/rcodetools.vim
@@ -0,0 +1,173 @@
+" Copyright (C) 2006 Mauricio Fernandez <mfp@acm.org>
+" rcodetools support plugin
+"
+
+if exists("loaded_rcodetools")
+ finish
+endif
+
+let loaded_rcodetools = 1
+let s:save_cpo = &cpo
+set cpo&vim
+
+"{{{ set s:sid
+
+map <SID>xx <SID>xx
+let s:sid = maparg("<SID>xx")
+unmap <SID>xx
+let s:sid = substitute(s:sid, 'xx', '', '')
+
+"{{{ function: s:spellgetoption(name, default)
+" grab a user-specified option to override the default provided. options are
+" searched in the window, buffer, then global spaces.
+function! s:GetOption(name, default)
+ if exists("w:{&filetype}_" . a:name)
+ execute "return w:{&filetype}_".a:name
+ elseif exists("w:" . a:name)
+ execute "return w:".a:name
+ elseif exists("b:{&filetype}_" . a:name)
+ execute "return b:{&filetype}_".a:name
+ elseif exists("b:" . a:name)
+ execute "return b:".a:name
+ elseif exists("g:{&filetype}_" . a:name)
+ execute "return g:{&filetype}_".a:name
+ elseif exists("g:" . a:name)
+ execute "return g:".a:name
+ else
+ return a:default
+ endif
+endfunction
+
+"{{{ IsOptionSet
+function! s:IsOptionSet(name)
+ let bogus_val = "df hdsoi3y98 hjsdfhdkj"
+ return s:GetOption(a:name, bogus_val) == bogus_val ? 0 : 1
+endfunction
+
+
+"{{{ RCT_completion function
+
+let s:last_test_file = ""
+let s:last_test_lineno = 0
+
+let s:rct_completion_col = 0
+let s:rct_tmpfile = ""
+
+function! <SID>RCT_command_with_test_options(cmd)
+ if s:last_test_file != ""
+ return a:cmd .
+ \ "-" . "-filename='" . expand("%:p") . "' " .
+ \ "-t '" . s:last_test_file . "@" . s:last_test_lineno . "' "
+ endif
+ return a:cmd
+endfunction
+
+function! <SID>RCT_completion(findstart, base)
+ if a:findstart
+ let s:rct_completion_col = col('.') - 1
+ let s:rct_tmpfile = "tmp-rcodetools" . strftime("Y-%m-%d-%H-%M-%S.rb")
+ silent exec ":w " . s:rct_tmpfile
+ return strridx(getline('.'), '.', col('.')) + 1
+ else
+ let line = line('.')
+ let column = s:rct_completion_col
+
+ let command = "rct-complete --completion-class-info --dev --fork --line=" .
+ \ line . " --column=" . column . " "
+ let command = <SID>RCT_command_with_test_options(command) . s:rct_tmpfile
+
+ let data = split(system(command), '\n')
+
+ for dline in data
+ let parts = split(dline, "\t")
+ let name = get(parts, 0)
+ let selector = get(parts, 1)
+ echo name
+ echo selector
+ if s:GetOption('rct_completion_use_fri', 0) && s:GetOption('rct_completion_info_max_len', 20) >= len(data)
+ let fri_data = system('fri -f plain ' . "'" . selector . "'" . ' 2>/dev/null')
+ call complete_add({'word': name,
+ \ 'menu': get(split(fri_data), 2, ''),
+ \ 'info': fri_data } )
+ else
+ call complete_add(name)
+ endif
+ if complete_check()
+ break
+ endif
+ endfor
+
+ call delete(s:rct_tmpfile)
+ return []
+ endif
+endfunction
+
+"{{{ ri functions
+
+function! <SID>RCT_new_ri_window()
+ execute "new"
+ execute "set bufhidden=delete buftype=nofile noswapfile nobuflisted"
+ execute 'nmap <buffer><silent> <C-T> 2u'
+ execute 'nmap <buffer><silent> <C-]> :call' . s:sid . 'RCT_execute_ri(expand("<cWORD>"))<cr>'
+endfunction
+
+function! <SID>RCT_execute_ri(query_term)
+ silent %delete _
+ let term = matchstr(a:query_term, '\v[^,.;]+')
+ let cmd = s:GetOption("RCT_ri_cmd", "fri -f plain ")
+ let text = system(cmd . "'" . term . "'")
+ call append(0, split(text, "\n"))
+ normal gg
+endfunction
+
+function! RCT_find_tag_or_ri(fullname)
+ " rubikitch: modified for rtags-compatible tags
+ let tagname = '::' . a:fullname
+ let tagresults = taglist(tagname)
+ if len(tagresults) != 0
+ execute "tjump " . tagname
+ else
+ call <SID>RCT_new_ri_window()
+ call <SID>RCT_execute_ri(a:fullname)
+ endif
+endfunction
+
+function! <SID>RCT_smart_ri()
+ let tmpfile = "tmp-rcodetools" . strftime("Y-%m-%d-%H-%M-%S.rb")
+ silent exec ":w " . tmpfile
+
+ let line = line('.')
+ let column = col('.') - 1
+ let command = "rct-doc --ri-vim --line=" . line . " --column=" . column . " "
+ let command = <SID>RCT_command_with_test_options(command) . tmpfile
+ "let term = matchstr(system(command), "\\v[^\n]+")
+ exec system(command)
+ call delete(tmpfile)
+ "call RCT_find_tag_or_ri(term)
+endfunction
+
+function! <SID>RCT_ruby_toggle()
+ let curr_file = expand("%:p")
+ let cmd = "ruby -S ruby-toggle-file " . curr_file
+ if match(curr_file, '\v_test|test_') != -1
+ let s:last_test_file = curr_file
+ let s:last_test_lineno = line(".")
+ endif
+ let dest = system(cmd)
+ silent exec ":w"
+ exec ("edit " . dest)
+ silent! normal g;
+endfunction
+
+"{{{ bindings and au
+
+if v:version >= 700
+ execute "au Filetype ruby setlocal completefunc=" . s:sid . "RCT_completion"
+endif
+execute 'au Filetype ruby nmap <buffer><silent> <C-]> :exec "call ' .
+ \ 'RCT_find_tag_or_ri(''" . expand("<cword>") . "'')"<cr>'
+execute 'au Filetype ruby nmap <buffer><silent>' . s:GetOption("RCT_ri_binding", "<LocalLeader>r") .
+ \ ' :call ' . s:sid . 'RCT_smart_ri()<cr>'
+execute 'au Filetype ruby nmap <buffer><silent>' . s:GetOption("RCT_toggle_binding", "<LocalLeader>t") .
+ \ ' :call ' . s:sid . 'RCT_ruby_toggle()<cr>'
+let &cpo = s:save_cpo
View
5 vimrc
@@ -110,5 +110,6 @@ map <F2> :NERDTreeToggle<CR>
syntax enable
set background=dark
-colorscheme solarized
-
+colorscheme codeschool
+let g:Powerline_symbols = 'unicode'
+let g:rct_completion_use_fri = 1
View
4 zshrc
@@ -70,3 +70,7 @@ setopt EXTENDED_GLOB
NODE_PATH=/usr/local/lib/node_modules
NODE_PATH=/usr/local/lib/node_modules
export PATH=/usr/local/bin:$PATH
+
+#share history among shell
+setopt inc_append_history
+setopt share_history
Please sign in to comment.
Something went wrong with that request. Please try again.