Some checks failed
Detach Plugins / check (FlyGrep.vim) (push) Has been cancelled
Detach Plugins / check (GitHub.vim) (push) Has been cancelled
Detach Plugins / check (JavaUnit.vim) (push) Has been cancelled
Detach Plugins / check (SourceCounter.vim) (push) Has been cancelled
Detach Plugins / check (cpicker.nvim) (push) Has been cancelled
Detach Plugins / check (dein-ui.vim) (push) Has been cancelled
Detach Plugins / check (git.vim) (push) Has been cancelled
Detach Plugins / check (iedit.vim) (push) Has been cancelled
Detach Plugins / check (scrollbar.vim) (push) Has been cancelled
Detach Plugins / check (vim-chat) (push) Has been cancelled
Detach Plugins / check (vim-cheat) (push) Has been cancelled
Detach Plugins / check (vim-todo) (push) Has been cancelled
Detach Plugins / check (xmake.vim) (push) Has been cancelled
test / Linux (nvim, nightly) (push) Has been cancelled
test / Linux (nvim, v0.3.8) (push) Has been cancelled
test / Linux (nvim, v0.4.0) (push) Has been cancelled
test / Linux (nvim, v0.4.2) (push) Has been cancelled
test / Linux (nvim, v0.4.3) (push) Has been cancelled
test / Linux (nvim, v0.4.4) (push) Has been cancelled
test / Linux (nvim, v0.5.0) (push) Has been cancelled
test / Linux (nvim, v0.5.1) (push) Has been cancelled
test / Linux (nvim, v0.6.0) (push) Has been cancelled
test / Linux (nvim, v0.6.1) (push) Has been cancelled
test / Linux (nvim, v0.7.0) (push) Has been cancelled
test / Linux (nvim, v0.7.2) (push) Has been cancelled
test / Linux (nvim, v0.8.0) (push) Has been cancelled
test / Linux (nvim, v0.8.1) (push) Has been cancelled
test / Linux (nvim, v0.8.2) (push) Has been cancelled
test / Linux (nvim, v0.8.3) (push) Has been cancelled
test / Linux (nvim, v0.9.0) (push) Has been cancelled
test / Linux (nvim, v0.9.1) (push) Has been cancelled
test / Linux (true, vim, v7.4.052) (push) Has been cancelled
test / Linux (true, vim, v7.4.1689) (push) Has been cancelled
test / Linux (true, vim, v7.4.629) (push) Has been cancelled
test / Linux (true, vim, v8.0.0027) (push) Has been cancelled
test / Linux (true, vim, v8.0.0183) (push) Has been cancelled
test / Linux (vim, nightly) (push) Has been cancelled
test / Linux (vim, v8.0.0184) (push) Has been cancelled
test / Linux (vim, v8.0.1453) (push) Has been cancelled
test / Linux (vim, v8.1.2269) (push) Has been cancelled
test / Linux (vim, v8.2.2434) (push) Has been cancelled
test / Linux (vim, v8.2.3995) (push) Has been cancelled
test / Windows (nvim, nightly) (push) Has been cancelled
test / Windows (nvim, v0.3.8) (push) Has been cancelled
test / Windows (nvim, v0.4.2) (push) Has been cancelled
test / Windows (nvim, v0.4.3) (push) Has been cancelled
test / Windows (nvim, v0.4.4) (push) Has been cancelled
test / Windows (nvim, v0.5.0) (push) Has been cancelled
test / Windows (nvim, v0.5.1) (push) Has been cancelled
test / Windows (nvim, v0.6.0) (push) Has been cancelled
test / Windows (nvim, v0.6.1) (push) Has been cancelled
test / Windows (nvim, v0.7.0) (push) Has been cancelled
test / Windows (nvim, v0.7.2) (push) Has been cancelled
test / Windows (nvim, v0.8.0) (push) Has been cancelled
test / Windows (nvim, v0.8.1) (push) Has been cancelled
test / Windows (nvim, v0.8.2) (push) Has been cancelled
test / Windows (nvim, v0.8.3) (push) Has been cancelled
test / Windows (nvim, v0.9.0) (push) Has been cancelled
test / Windows (nvim, v0.9.1) (push) Has been cancelled
test / Windows (vim, nightly) (push) Has been cancelled
test / Windows (vim, v7.4.1185) (push) Has been cancelled
test / Windows (vim, v7.4.1689) (push) Has been cancelled
test / Windows (vim, v8.0.0027) (push) Has been cancelled
test / Windows (vim, v8.0.1453) (push) Has been cancelled
test / Windows (vim, v8.1.2269) (push) Has been cancelled
test / Windows (vim, v8.2.2434) (push) Has been cancelled
test / Windows (vim, v8.2.3995) (push) Has been cancelled
docker / docker (push) Has been cancelled
mirror / check (coding) (push) Has been cancelled
mirror / check (gitee) (push) Has been cancelled
mirror / check (gitlab) (push) Has been cancelled
111 lines
3.4 KiB
Markdown
111 lines
3.4 KiB
Markdown
# hybrid.vim
|
|
|
|
A dark colour scheme for Vim that combines the:
|
|
|
|
- Default palette from [Tomorrow-Night](https://github.com/chriskempson/vim-tomorrow-theme).
|
|
- Reduced contrast palette from [Codecademy](https://www.codecademy.com)'s
|
|
online editor.
|
|
- Syntax group highlighting scheme from [Jellybeans](https://github.com/nanotech/jellybeans.vim)
|
|
- Vimscript from [Solarized](https://github.com/altercation/vim-colors-solarized)
|
|
|
|
## Updates
|
|
|
|
- 05/01/2016: Replaced `let g:hybrid_use_Xresources = 1` in favour of __`let
|
|
g:hybrid_custom_term_colors = 1`__
|
|
- 05/01/2016: Added `let g:hybrid_reduced_contrast = 1`
|
|
|
|
## Requirements
|
|
|
|
- gVim 7.3+ on Linux, Mac and Windows.
|
|
- Vim 7.3+ on Linux and Mac, using a terminal that supports 256 colours.
|
|
|
|
## Installation
|
|
|
|
1. Copy colors/hybrid.vim to:
|
|
|
|
```
|
|
~/.vim/colors/hybrid.vim
|
|
```
|
|
|
|
or alternatively, use a plugin manger such as
|
|
[vim-plug](https://github.com/junegunn/vim-plug),
|
|
[NeoBundle](https://github.com/Shougo/neobundle.vim),
|
|
[Vundle](https://github.com/gmarik/Vundle.vim), or
|
|
[Pathogen](https://github.com/tpope/vim-pathogen).
|
|
|
|
2. Add to ~/.vimrc:
|
|
|
|
```vim
|
|
set background=dark
|
|
colorscheme hybrid
|
|
```
|
|
|
|
## Define custom terminal colours (recommended)
|
|
|
|
Due to the limited 256 palette, colours in Vim and gVim will still be slightly
|
|
different.
|
|
|
|
In order to have Vim use the same colours as gVim (the way this colour scheme
|
|
is intended) define the basic 16 colours in your terminal.
|
|
|
|
#### Linux users: rxvt-unicode, xterm
|
|
|
|
1. Add the default palette to ~/.Xresources:
|
|
|
|
https://gist.github.com/3278077
|
|
|
|

|
|
|
|
or alternatively, add the reduced contrast palette to ~/.Xresources:
|
|
|
|
https://gist.github.com/w0ng/16e33902508b4a0350ae
|
|
|
|

|
|
|
|
2. Add to ~/.vimrc:
|
|
|
|
```vim
|
|
let g:hybrid_custom_term_colors = 1
|
|
let g:hybrid_reduced_contrast = 1 " Remove this line if using the default palette.
|
|
colorscheme hybrid
|
|
```
|
|
|
|
#### OSX users: iTerm
|
|
|
|
1. Import the default colour preset into iTerm:
|
|
|
|
https://raw.githubusercontent.com/w0ng/dotfiles/master/iterm2/hybrid.itermcolors
|
|
|
|

|
|
|
|
or alternatively, import the reduced contrast color preset into iTerm:
|
|
|
|
https://raw.githubusercontent.com/w0ng/dotfiles/master/iterm2/hybrid-reduced-contrast.itermcolors
|
|
|
|

|
|
|
|
|
|
2. Add to ~/.vimrc:
|
|
|
|
```vim
|
|
let g:hybrid_custom_term_colors = 1
|
|
let g:hybrid_reduced_contrast = 1 " Remove this line if using the default palette.
|
|
colorscheme hybrid
|
|
```
|
|
|
|
## Screenshots
|
|
|
|
### Default palette on Linux
|
|
|
|

|
|

|
|

|
|

|
|

|
|
|
|
### Reduced contrast palette on OSX
|
|
|
|

|
|

|
|

|