├── .gitignore ├── .gitmodules ├── .vimrc ├── Install.sh ├── Manual.doc ├── README.md ├── autoload └── pathogen.vim ├── bundle ├── solarized │ ├── README.mkd │ ├── autoload │ │ └── togglebg.vim │ ├── bitmaps │ │ └── togglebg.png │ ├── colors │ │ └── solarized.vim │ └── doc │ │ ├── solarized.txt │ │ └── tags └── vim-l9 │ ├── .hg_archival.txt │ ├── .hgtags │ ├── autoload │ ├── l9.vim │ └── l9 │ │ ├── async.py │ │ ├── async.vim │ │ ├── quickfix.vim │ │ ├── tempbuffer.vim │ │ └── tempvariables.vim │ ├── doc │ ├── l9.jax │ └── l9.txt │ └── plugin │ └── l9.vim ├── colors └── solarized.vim ├── fonts ├── 10-powerline-symbols.conf ├── Powerline Consolas Bold Italic.ttf ├── Powerline Consolas Bold.ttf ├── Powerline Consolas Italic.ttf ├── Powerline Consolas.ttf └── PowerlineSymbols.otf └── snippets ├── java.snippets ├── mk.snippets └── xml.snippets /.gitignore: -------------------------------------------------------------------------------- 1 | .netrwhist 2 | bundle/snipmate/snippets/java.snippets 3 | bundle/snipmate/snippets/xml.snippets 4 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "bundle/supertab"] 2 | path = bundle/supertab 3 | url = https://github.com/ervandew/supertab.git 4 | [submodule "bundle/tabular"] 5 | path = bundle/tabular 6 | url = https://github.com/godlygeek/tabular.git 7 | [submodule "bundle/nerdcommenter"] 8 | path = bundle/nerdcommenter 9 | url = https://github.com/scrooloose/nerdcommenter.git 10 | [submodule "bundle/space"] 11 | path = bundle/space 12 | url = https://github.com/spiiph/vim-space.git 13 | [submodule "bundle/fuzzyfinder"] 14 | path = bundle/fuzzyfinder 15 | url = https://github.com/vim-scripts/FuzzyFinder.git 16 | [submodule "bundle/file-line"] 17 | path = bundle/file-line 18 | url = https://github.com/vim-scripts/file-line.git 19 | [submodule "bundle/nerdtree"] 20 | path = bundle/nerdtree 21 | url = https://github.com/scrooloose/nerdtree.git 22 | [submodule "bundle/tagbar"] 23 | path = bundle/tagbar 24 | url = https://github.com/vim-scripts/Tagbar.git 25 | [submodule "bundle/easygrep"] 26 | path = bundle/easygrep 27 | url = https://github.com/gmccreight/vim-easygrep.git 28 | [submodule "bundle/mark"] 29 | path = bundle/mark 30 | url = https://github.com/jkeylu/mark2666.git 31 | [submodule "bundle/snipmate"] 32 | path = bundle/snipmate 33 | url = https://github.com/msanders/snipmate.vim 34 | [submodule "bundle/vim-airline"] 35 | path = bundle/vim-airline 36 | url = http://github.com/bling/vim-airline 37 | [submodule "bundle/easymotion"] 38 | path = bundle/easymotion 39 | url = https://github.com/vim-scripts/EasyMotion.git 40 | [submodule "bundle/visincr"] 41 | path = bundle/visincr 42 | url = https://github.com/vim-scripts/VisIncr.git 43 | [submodule "bundle/startify"] 44 | path = bundle/startify 45 | url = https://github.com/mhinz/vim-startify.git 46 | -------------------------------------------------------------------------------- /.vimrc: -------------------------------------------------------------------------------- 1 | if has("win32") 2 | set nocompatible 3 | source $VIMRUNTIME/vimrc_example.vim 4 | source $VIMRUNTIME/mswin.vim 5 | behave mswin 6 | endif 7 | 8 | call pathogen#infect() 9 | syntax on 10 | filetype plugin indent on 11 | 12 | " basic config 13 | set nu 14 | set hlsearch 15 | set incsearch 16 | set autoindent 17 | set tabstop=4 18 | set shiftwidth=4 19 | set expandtab 20 | set mouse=n 21 | 22 | syntax enable 23 | set background=dark 24 | colorscheme solarized 25 | 26 | " tags settting 27 | set tags=tags; 28 | set autochdir 29 | 30 | let NERDTreeChristmasTree=1 31 | let NERDTreeMouseMode=2 32 | let NERDTreeHighlightCursorline=0 33 | 34 | let NERDCompactSexyComs=1 35 | let NERDSpaceDelims=1 36 | 37 | map :silent! NERDTreeToggle 38 | map :silent! TagbarToggle 39 | map :silent! FufCoverageFile 40 | 41 | " 保存上次文件打开位置 42 | map _u :call ID_search()execute "/\\<" . g:word . "\\>" 43 | map _n :nexecute "/\\<" . g:word . "\\>" 44 | function ID_search() 45 | let g:word = expand("") 46 | let x = system("lid --key=none ". g:word) 47 | let x = substitute(x, "\n", " ", "g") 48 | execute "next " . x 49 | endfun 50 | au BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$") | exe "normal g'\"" | endif 51 | autocmd BufWritePre * :%s/\s\+$//e 52 | 53 | " 配色方案 54 | if has("gui_running") 55 | colo solarized 56 | else 57 | colo desert 58 | endif 59 | "-------------------------------------------------- 60 | " Name: solarized 61 | " Description: 一个漂亮的配色方案 62 | " Git: https://github.com/altercation/vim-colors-solarized.git 63 | "-------------------------------------------------- 64 | let g:solarized_termcolors=256 65 | let g:solarized_termtrans=0 66 | let g:solarized_contrast="normal" 67 | let g:solarized_visibility="high" 68 | let g:solarized_underline=1 69 | let g:solarized_italic=0 70 | let g:solarized_degrade=0 71 | let g:solarized_bold=1 72 | let g:solarized_diffmode="normal" 73 | let g:solarized_hitrail=0 74 | let g:solarized_menu=1 75 | 76 | " Airline 77 | set laststatus=2 78 | set noshowmode 79 | set t_Co=256 80 | let g:airline#extensions#tabline#enabled = 1 81 | let g:airline_powerline_fonts = 1 82 | 83 | " 设置alt+左右键切换标签 84 | nnoremap gT 85 | nnoremap gt 86 | " 设置ctrl+左右键切换缓冲区 87 | nnoremap :bNext 88 | nnoremap :bnext 89 | 90 | " start screen 自定义Header 91 | let g:startify_custom_header = [ 92 | \' *********************************************', 93 | \' *****************OPEN VIMS*******************', 94 | \' *************Author Hy JayFeng***************', 95 | \' ************email:673592063@qq.com***********', 96 | \' *********************************************', 97 | \''] 98 | -------------------------------------------------------------------------------- /Install.sh: -------------------------------------------------------------------------------- 1 | cp .vimrc ~/.vimrc 2 | git submodule init 3 | git submodule update 4 | 5 | # copy custom snippets 6 | # cp snippets/java.snippets bundle/snipmate/snippets/java.snippets 7 | # cp snippets/xml.snippets bundle/snipmate/snippets/xml.snippets 8 | 9 | # powerline fancy font 10 | mkdir ~/.fonts 11 | cp ~/.vim/fonts/* ~/.fonts 12 | fc-cache -vf ~/.fonts 13 | 14 | # 终端配置powerline样式的方法: 15 | # 使用python配置powerline fancy font 16 | # 1. 安装pip 17 | # a. https://pypi.python.org/pypi/pip 18 | # b. python setup.py install 19 | # 2. 安装powerline 20 | # a. pip install powerline-status 21 | # b. 添加代码到~/.zshrc 22 | # if test $(which pip) 23 | # then 24 | # export POWERLINE_ROOT="/usr/local/lib/python2.7/dist-packages/powerline" 25 | # . ${POWERLINE_ROOT}/bindings/zsh/powerline.zsh 26 | # fi 27 | # 3. 配置终端字体 28 | # a. 选择Meslo LG S DZ for Powerline 29 | # 4. 终端和vim都会出现powerline样式了 30 | -------------------------------------------------------------------------------- /Manual.doc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openproject/openvims/887398935cd79cbeaa97edd8f04fd7e36b57db30/Manual.doc -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | openvims 2 | ======== 3 | open vim scripts 4 | 5 | use step: 6 | 7 | 1. git clone https://github.com/openproject/openvims.git .vim 8 | 9 | 2. cd .vim 10 | 11 | 3. git submodule init 12 | 13 | 4. git submodule update 14 | 15 | 5. execute the Install.sh will override your .vimrc by openvims .vimrc 16 | 17 | if you want to add else vim-scripts, you can do it yourself like this: 18 | 19 | git submodule add https://github.com/scrooloose/nerdcommenter.git bundle/nerdcommenter 20 | -------------------------------------------------------------------------------- /autoload/pathogen.vim: -------------------------------------------------------------------------------- 1 | " pathogen.vim - path option manipulation 2 | " Maintainer: Tim Pope 3 | " Version: 2.0 4 | 5 | " Install in ~/.vim/autoload (or ~\vimfiles\autoload). 6 | " 7 | " For management of individually installed plugins in ~/.vim/bundle (or 8 | " ~\vimfiles\bundle), adding `call pathogen#infect()` to your .vimrc 9 | " prior to `filetype plugin indent on` is the only other setup necessary. 10 | " 11 | " The API is documented inline below. For maximum ease of reading, 12 | " :set foldmethod=marker 13 | 14 | if exists("g:loaded_pathogen") || &cp 15 | finish 16 | endif 17 | let g:loaded_pathogen = 1 18 | 19 | " Point of entry for basic default usage. Give a directory name to invoke 20 | " pathogen#runtime_append_all_bundles() (defaults to "bundle"), or a full path 21 | " to invoke pathogen#runtime_prepend_subdirectories(). Afterwards, 22 | " pathogen#cycle_filetype() is invoked. 23 | function! pathogen#infect(...) abort " {{{1 24 | let source_path = a:0 ? a:1 : 'bundle' 25 | if source_path =~# '[\\/]' 26 | call pathogen#runtime_prepend_subdirectories(source_path) 27 | else 28 | call pathogen#runtime_append_all_bundles(source_path) 29 | endif 30 | call pathogen#cycle_filetype() 31 | endfunction " }}}1 32 | 33 | " Split a path into a list. 34 | function! pathogen#split(path) abort " {{{1 35 | if type(a:path) == type([]) | return a:path | endif 36 | let split = split(a:path,'\\\@"),'!isdirectory(v:val)')) && (!filereadable(dir.sep.'doc'.sep.'tags') || filewritable(dir.sep.'doc'.sep.'tags')) 170 | helptags `=dir.'/doc'` 171 | endif 172 | endfor 173 | endfunction " }}}1 174 | 175 | command! -bar Helptags :call pathogen#helptags() 176 | 177 | " Like findfile(), but hardcoded to use the runtimepath. 178 | function! pathogen#runtime_findfile(file,count) "{{{1 179 | let rtp = pathogen#join(1,pathogen#split(&rtp)) 180 | let file = findfile(a:file,rtp,a:count) 181 | if file ==# '' 182 | return '' 183 | else 184 | return fnamemodify(file,':p') 185 | endif 186 | endfunction " }}}1 187 | 188 | " Backport of fnameescape(). 189 | function! pathogen#fnameescape(string) " {{{1 190 | if exists('*fnameescape') 191 | return fnameescape(a:string) 192 | elseif a:string ==# '-' 193 | return '\-' 194 | else 195 | return substitute(escape(a:string," \t\n*?[{`$\\%#'\"|!<"),'^[+>]','\\&','') 196 | endif 197 | endfunction " }}}1 198 | 199 | if exists(':Vedit') 200 | finish 201 | endif 202 | 203 | function! s:find(count,cmd,file,lcd) " {{{1 204 | let rtp = pathogen#join(1,pathogen#split(&runtimepath)) 205 | let file = pathogen#runtime_findfile(a:file,a:count) 206 | if file ==# '' 207 | return "echoerr 'E345: Can''t find file \"".a:file."\" in runtimepath'" 208 | elseif a:lcd 209 | let path = file[0:-strlen(a:file)-2] 210 | execute 'lcd `=path`' 211 | return a:cmd.' '.pathogen#fnameescape(a:file) 212 | else 213 | return a:cmd.' '.pathogen#fnameescape(file) 214 | endif 215 | endfunction " }}}1 216 | 217 | function! s:Findcomplete(A,L,P) " {{{1 218 | let sep = pathogen#separator() 219 | let cheats = { 220 | \'a': 'autoload', 221 | \'d': 'doc', 222 | \'f': 'ftplugin', 223 | \'i': 'indent', 224 | \'p': 'plugin', 225 | \'s': 'syntax'} 226 | if a:A =~# '^\w[\\/]' && has_key(cheats,a:A[0]) 227 | let request = cheats[a:A[0]].a:A[1:-1] 228 | else 229 | let request = a:A 230 | endif 231 | let pattern = substitute(request,'/\|\'.sep,'*'.sep,'g').'*' 232 | let found = {} 233 | for path in pathogen#split(&runtimepath) 234 | let path = expand(path, ':p') 235 | let matches = split(glob(path.sep.pattern),"\n") 236 | call map(matches,'isdirectory(v:val) ? v:val.sep : v:val') 237 | call map(matches,'expand(v:val, ":p")[strlen(path)+1:-1]') 238 | for match in matches 239 | let found[match] = 1 240 | endfor 241 | endfor 242 | return sort(keys(found)) 243 | endfunction " }}}1 244 | 245 | command! -bar -bang -range=1 -nargs=1 -complete=customlist,s:Findcomplete Ve :execute s:find(,'edit',,0) 246 | command! -bar -bang -range=1 -nargs=1 -complete=customlist,s:Findcomplete Vedit :execute s:find(,'edit',,0) 247 | command! -bar -bang -range=1 -nargs=1 -complete=customlist,s:Findcomplete Vopen :execute s:find(,'edit',,1) 248 | command! -bar -bang -range=1 -nargs=1 -complete=customlist,s:Findcomplete Vsplit :execute s:find(,'split',,1) 249 | command! -bar -bang -range=1 -nargs=1 -complete=customlist,s:Findcomplete Vvsplit :execute s:find(,'vsplit',,1) 250 | command! -bar -bang -range=1 -nargs=1 -complete=customlist,s:Findcomplete Vtabedit :execute s:find(,'tabedit',,1) 251 | command! -bar -bang -range=1 -nargs=1 -complete=customlist,s:Findcomplete Vpedit :execute s:find(,'pedit',,1) 252 | command! -bar -bang -range=1 -nargs=1 -complete=customlist,s:Findcomplete Vread :execute s:find(,'read',,1) 253 | 254 | " vim:set et sw=2: 255 | -------------------------------------------------------------------------------- /bundle/solarized/README.mkd: -------------------------------------------------------------------------------- 1 | --- 2 | Title: Solarized Colorscheme for Vim 3 | Description: Precision colors for machines and people 4 | Author: Ethan Schoonover 5 | Colors: light yellow 6 | Created: 2011 Mar 15 7 | Modified: 2011 Apr 16 8 | 9 | --- 10 | 11 | Solarized Colorscheme for Vim 12 | ============================= 13 | 14 | Developed by Ethan Schoonover 15 | 16 | Visit the [Solarized homepage] 17 | ------------------------------ 18 | 19 | See the [Solarized homepage] for screenshots, 20 | details and colorscheme versions for Vim, Mutt, popular terminal emulators and 21 | other applications. 22 | 23 | Screenshots 24 | ----------- 25 | 26 | ![solarized dark](https://github.com/altercation/solarized/raw/master/img/solarized-vim.png) 27 | 28 | Downloads 29 | --------- 30 | 31 | If you have come across this colorscheme via the [Vim-only repository] on 32 | github, or the [vim.org script] page see the link above to the Solarized 33 | homepage or visit the main [Solarized repository]. 34 | 35 | The [Vim-only repository] is kept in sync with the main [Solarized repository] 36 | and is for installation convenience only (with [Pathogen] or [Vundle], for 37 | instance). Issues, bug reports, changelogs are centralized at the main 38 | [Solarized repository]. 39 | 40 | [Solarized homepage]: http://ethanschoonover.com/solarized 41 | [Solarized repository]: https://github.com/altercation/solarized 42 | [Vim-only repository]: https://github.com/altercation/vim-colors-solarized 43 | [vimorg-script]: http://vim.org/script 44 | [Pathogen]: https://github.com/tpope/vim-pathogen 45 | [Vundle]: https://github.com/gmarik/vundle 46 | 47 | Installation 48 | ------------ 49 | 50 | ### Option 1: Manual installation 51 | 52 | 1. Move `solarized.vim` to your `.vim/colors` directory. After downloading the 53 | vim script or package: 54 | 55 | $ cd vim-colors-solarized/colors 56 | $ mv solarized.vim ~/.vim/colors/ 57 | 58 | ### Option 2: Pathogen installation ***(recommended)*** 59 | 60 | 1. Download and install Tim Pope's [Pathogen]. 61 | 62 | 2. Next, move or clone the `vim-colors-solarized` directory so that it is 63 | a subdirectory of the `.vim/bundle` directory. 64 | 65 | a. **Clone:** 66 | 67 | $ cd ~/.vim/bundle 68 | $ git clone git://github.com/altercation/vim-colors-solarized.git 69 | 70 | b. **Move:** 71 | 72 | In the parent directory of vim-colors-solarized: 73 | 74 | $ mv vim-colors-solarized ~/.vim/bundle/ 75 | 76 | ### Modify .vimrc 77 | 78 | After either Option 1 or Option 2 above, put the following two lines in your 79 | .vimrc: 80 | 81 | syntax enable 82 | set background=dark 83 | colorscheme solarized 84 | 85 | or, for the light background mode of Solarized: 86 | 87 | syntax enable 88 | set background=light 89 | colorscheme solarized 90 | 91 | I like to have a different background in GUI and terminal modes, so I can use 92 | the following if-then. However, I find vim's background autodetection to be 93 | pretty good and, at least with MacVim, I can leave this background value 94 | assignment out entirely and get the same results. 95 | 96 | if has('gui_running') 97 | set background=light 98 | else 99 | set background=dark 100 | endif 101 | 102 | See the [Solarized homepage] for screenshots which will help you 103 | select either the light or dark background. 104 | 105 | ### IMPORTANT NOTE FOR TERMINAL USERS: 106 | 107 | If you are going to use Solarized in Terminal mode (i.e. not in a GUI version 108 | like gvim or macvim), **please please please** consider setting your terminal 109 | emulator's colorscheme to used the Solarized palette. I've included palettes 110 | for some popular terminal emulator as well as Xdefaults in the official 111 | Solarized download available from [Solarized homepage]. If you use 112 | Solarized *without* these colors, Solarized will need to be told to degrade its 113 | colorscheme to a set compatible with the limited 256 terminal palette (whereas 114 | by using the terminal's 16 ansi color values, you can set the correct, specific 115 | values for the Solarized palette). 116 | 117 | If you do use the custom terminal colors, solarized.vim should work out of the 118 | box for you. If you are using a terminal emulator that supports 256 colors and 119 | don't want to use the custom Solarized terminal colors, you will need to use 120 | the degraded 256 colorscheme. To do so, simply add the following line *before* 121 | the `colorschem solarized` line: 122 | 123 | let g:solarized_termcolors=256 124 | 125 | Again, I recommend just changing your terminal colors to Solarized values 126 | either manually or via one of the many terminal schemes available for import. 127 | 128 | Advanced Configuration 129 | ---------------------- 130 | 131 | Solarized will work out of the box with just the two lines specified above but 132 | does include several other options that can be set in your .vimrc file. 133 | 134 | Set these in your vimrc file prior to calling the colorscheme. 135 | " 136 | option name default optional 137 | ------------------------------------------------ 138 | g:solarized_termcolors= 16 | 256 139 | g:solarized_termtrans = 0 | 1 140 | g:solarized_degrade = 0 | 1 141 | g:solarized_bold = 1 | 0 142 | g:solarized_underline = 1 | 0 143 | g:solarized_italic = 1 | 0 144 | g:solarized_contrast = "normal"| "high" or "low" 145 | g:solarized_visibility= "normal"| "high" or "low" 146 | ------------------------------------------------ 147 | 148 | ### Option Details 149 | 150 | * g:solarized_termcolors 151 | 152 | This is set to *16* by default, meaning that Solarized will attempt to use 153 | the standard 16 colors of your terminal emulator. You will need to set 154 | those colors to the correct Solarized values either manually or by 155 | importing one of the many colorscheme available for popular terminal 156 | emulators and Xdefaults. 157 | 158 | * g:solarized_termtrans 159 | 160 | If you use a terminal emulator with a transparent background and Solarized 161 | isn't displaying the background color transparently, set this to 1 and 162 | Solarized will use the default (transparent) background of the terminal 163 | emulator. *urxvt* required this in my testing; iTerm2 did not. 164 | 165 | Note that on Mac OS X Terminal.app, solarized_termtrans is set to 1 by 166 | default as this is almost always the best option. The only exception to 167 | this is if the working terminfo file supports 256 colors (xterm-256color). 168 | 169 | * g:solarized_degrade 170 | 171 | For test purposes only; forces Solarized to use the 256 degraded color mode 172 | to test the approximate color values for accuracy. 173 | 174 | * g:solarized_bold | g:solarized_underline | g:solarized_italic 175 | 176 | If you wish to stop Solarized from displaying bold, underlined or 177 | italicized typefaces, simply assign a zero value to the appropriate 178 | variable, for example: `let g:solarized_italic=0` 179 | 180 | * g:solarized_contrast 181 | 182 | Stick with normal! It's been carefully tested. Setting this option to high 183 | or low does use the same Solarized palette but simply shifts some values up 184 | or down in order to expand or compress the tonal range displayed. 185 | 186 | * g:solarized_visibility 187 | 188 | Special characters such as trailing whitespace, tabs, newlines, when 189 | displayed using `:set list` can be set to one of three levels depending on 190 | your needs. Default value is `normal` with `high` and `low` options. 191 | 192 | Toggle Background Function 193 | -------------------------- 194 | 195 | Solarized comes with a Toggle Background plugin that by default will map to 196 | if that mapping is available. If it is not available you will need to 197 | either map the function manually or change your current mapping to 198 | something else. 199 | 200 | To set your own mapping in your .vimrc file, simply add the following line to 201 | support normal, insert and visual mode usage, changing the "" value to the 202 | key or key combination you wish to use: 203 | 204 | call togglebg#map("") 205 | 206 | Note that you'll want to use a single function key or equivalent if you want 207 | the plugin to work in all modes (normal, insert, visual). 208 | 209 | Code Notes 210 | ---------- 211 | 212 | Use folding to view the `solarized.vim` script with `foldmethod=marker` turned 213 | on. 214 | 215 | I have attempted to modularize the creation of Vim colorschemes in this script 216 | and, while it could be refactored further, it should be a good foundation for 217 | the creation of any color scheme. By simply changing the sixteen values in the 218 | GUI section and testing in gvim (or mvim) you can rapidly prototype new 219 | colorschemes without diving into the weeds of line-item editing each syntax 220 | highlight declaration. 221 | 222 | The Values 223 | ---------- 224 | 225 | L\*a\*b values are canonical (White D65, Reference D50), other values are 226 | matched in sRGB space. 227 | 228 | SOLARIZED HEX 16/8 TERMCOL XTERM/HEX L*A*B sRGB HSB 229 | --------- ------- ---- ------- ----------- ---------- ----------- ----------- 230 | base03 #002b36 8/4 brblack 234 #1c1c1c 15 -12 -12 0 43 54 193 100 21 231 | base02 #073642 0/4 black 235 #262626 20 -12 -12 7 54 66 192 90 26 232 | base01 #586e75 10/7 brgreen 240 #4e4e4e 45 -07 -07 88 110 117 194 25 46 233 | base00 #657b83 11/7 bryellow 241 #585858 50 -07 -07 101 123 131 195 23 51 234 | base0 #839496 12/6 brblue 244 #808080 60 -06 -03 131 148 150 186 13 59 235 | base1 #93a1a1 14/4 brcyan 245 #8a8a8a 65 -05 -02 147 161 161 180 9 63 236 | base2 #eee8d5 7/7 white 254 #d7d7af 92 -00 10 238 232 213 44 11 93 237 | base3 #fdf6e3 15/7 brwhite 230 #ffffd7 97 00 10 253 246 227 44 10 99 238 | yellow #b58900 3/3 yellow 136 #af8700 60 10 65 181 137 0 45 100 71 239 | orange #cb4b16 9/3 brred 166 #d75f00 50 50 55 203 75 22 18 89 80 240 | red #dc322f 1/1 red 160 #d70000 50 65 45 220 50 47 1 79 86 241 | magenta #d33682 5/5 magenta 125 #af005f 50 65 -05 211 54 130 331 74 83 242 | violet #6c71c4 13/5 brmagenta 61 #5f5faf 50 15 -45 108 113 196 237 45 77 243 | blue #268bd2 4/4 blue 33 #0087ff 55 -10 -45 38 139 210 205 82 82 244 | cyan #2aa198 6/6 cyan 37 #00afaf 60 -35 -05 42 161 152 175 74 63 245 | green #859900 2/2 green 64 #5f8700 60 -20 65 133 153 0 68 100 60 246 | 247 | License 248 | ------- 249 | Copyright (c) 2011 Ethan Schoonover 250 | 251 | Permission is hereby granted, free of charge, to any person obtaining a copy 252 | of this software and associated documentation files (the "Software"), to deal 253 | in the Software without restriction, including without limitation the rights 254 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 255 | copies of the Software, and to permit persons to whom the Software is 256 | furnished to do so, subject to the following conditions: 257 | 258 | The above copyright notice and this permission notice shall be included in 259 | all copies or substantial portions of the Software. 260 | 261 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 262 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 263 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 264 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 265 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 266 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 267 | THE SOFTWARE. 268 | -------------------------------------------------------------------------------- /bundle/solarized/autoload/togglebg.vim: -------------------------------------------------------------------------------- 1 | " Toggle Background 2 | " Modified: 2011 Apr 29 3 | " Maintainer: Ethan Schoonover 4 | " License: OSI approved MIT license 5 | 6 | if exists("g:loaded_togglebg") 7 | finish 8 | endif 9 | let g:loaded_togglebg = 1 10 | 11 | " noremap is a bit misleading here if you are unused to vim mapping. 12 | " in fact, there is remapping, but only of script locally defined remaps, in 13 | " this case TogBG. The