Browse Source

Add preview image and references to joshdick/airline-onedark.vim

pull/10/head
Josh Dick 9 years ago
parent
commit
1f97b73021
  1. 13
      README.md
  2. 4
      colors/onedark.vim
  3. BIN
      preview.png

13
README.md

@ -2,6 +2,14 @@
A dark Vim colorscheme for the GUI and 256-color terminals, based on [FlatColor](https://github.com/MaxSt/FlatColor), with colors inspired by the excellent [One Dark syntax theme](https://github.com/atom/one-dark-syntax) for the [Atom text editor](https://atom.io). A dark Vim colorscheme for the GUI and 256-color terminals, based on [FlatColor](https://github.com/MaxSt/FlatColor), with colors inspired by the excellent [One Dark syntax theme](https://github.com/atom/one-dark-syntax) for the [Atom text editor](https://atom.io).
![onedark.vim Preview](https://raw.github.com/joshdick/onedark.vim/master/preview.png)
Preview image taken using:
* [iTerm2](https://iterm2.com/) terminal emulator on Mac OS X
* 12 pt. [PragmataPro Mono](http://www.fsd.it/fonts/pragmatapro.htm#.VlDa1q6rTOY) font
* [airline-onedark.vim](https://github.com/joshdick/airline-onedark.vim) theme for [vim-airline](https://github.com/bling/vim-airline)
## Installation ## Installation
Place `onedark.vim` in your `~/.vim/colors/` directory either manually or by using your Vim plug-in manager of choice, then add the following lines to your `~/.vimrc`: Place `onedark.vim` in your `~/.vim/colors/` directory either manually or by using your Vim plug-in manager of choice, then add the following lines to your `~/.vimrc`:
@ -14,3 +22,8 @@ Place `onedark.vim` in your `~/.vim/colors/` directory either manually or by usi
* `g:onedark_termcolors`: Set to `256` for 256-color terminals (the default), or set to `16` to use your terminal emulator's native colors. A 16-color palette for this theme is not available yet. * `g:onedark_termcolors`: Set to `256` for 256-color terminals (the default), or set to `16` to use your terminal emulator's native colors. A 16-color palette for this theme is not available yet.
* `g:onedark_terminal_italics`: Set to `1` if your terminal emulator supports italics; `0` otherwise (the default). * `g:onedark_terminal_italics`: Set to `1` if your terminal emulator supports italics; `0` otherwise (the default).
## vim-airline Theme
A companion [vim-airline](https://github.com/bling/vim-airline) theme for this theme is available at [joshdick/airline-onedark.vim](https://github.com/joshdick/airline-onedark.vim).

4
colors/onedark.vim

@ -1,10 +1,12 @@
" Vim Color File " Vim Color File
" Name: onedark.vim " Name: onedark.vim
" Version: 1.1 " Version: 1.2
" Maintainer: https://github.com/joshdick/onedark.vim/ " Maintainer: https://github.com/joshdick/onedark.vim/
" License: The MIT License (MIT) " License: The MIT License (MIT)
" Based On: https://github.com/MaxSt/FlatColor/ " Based On: https://github.com/MaxSt/FlatColor/
" A companion [vim-airline](https://github.com/bling/vim-airline) theme is available at: https://github.com/joshdick/airline-onedark.vim
" +----------------+ " +----------------+
" | Initialization | " | Initialization |
" +----------------+ " +----------------+

BIN
preview.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 132 KiB

Loading…
Cancel
Save