You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Josh Dick 700280dd5e Update README.md to mention test/beta releases of iTerm2. 9 years ago
colors Minor whitespace changes 9 years ago
LICENSE Initial commit. 9 years ago
One Dark.itermcolors Update iTerm 16-color palette; use new grey shade for ColorColumn/CursorColumn/CursorLine/StatusLine in 16-color mode 9 years ago
README.md Update README.md to mention test/beta releases of iTerm2. 9 years ago
preview.png Update preview.png to be higher resolution and better compressed. 9 years ago

README.md

onedark.vim

A dark Vim colorscheme for the GUI and 16/256-color terminals, based on FlatColor, with colors inspired by the excellent One Dark syntax theme for the Atom text editor.

onedark.vim Preview

Preview image taken using:

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:

syntax on
colorscheme onedark

Options

  • g:onedark_termcolors: Set to 256 for 256-color terminals (the default), or set to 16 to use your terminal emulator's native colors (see below).

  • g:onedark_terminal_italics: Set to 1 if your terminal emulator supports italics; 0 otherwise (the default).

16-Color Mode

Setting g:onedark_termcolors=16 will cause the theme to use your terminal emulator's native 16 colors.

This theme looks best in 16-color mode when using its custom 16-color palette. If you don't use the custom 16-color palette in your terminal emulator while 16-color mode is enabled, the theme's colors will not display correctly.

The canonical version of the 16-color palette is an iTerm2 color scheme called One Dark.itermcolors, which lives in the root of this repository. This theme only works with the test/beta releases of iTerm2 (versions 2.9.x and later.)

You should be able to easily convert the iTerm2 color scheme for use with your terminal emulator of choice by using a tool like termcolors.

vim-airline Theme

A companion vim-airline theme for this theme is available at joshdick/airline-onedark.vim.