mirror of
https://github.com/joshdick/onedark.vim.git
synced 2025-11-08 11:03:49 -05:00
1f97b7302144e9d4c42c60ccc0269916c909ace3
onedark.vim
A dark Vim colorscheme for the GUI and 256-color terminals, based on FlatColor, with colors inspired by the excellent One Dark syntax theme for the Atom text editor.
Preview image taken using:
- iTerm2 terminal emulator on Mac OS X
- 12 pt. PragmataPro Mono font
- airline-onedark.vim theme for vim-airline
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 to256for 256-color terminals (the default), or set to16to use your terminal emulator's native colors. A 16-color palette for this theme is not available yet. -
g:onedark_terminal_italics: Set to1if your terminal emulator supports italics;0otherwise (the default).
vim-airline Theme
A companion vim-airline theme for this theme is available at joshdick/airline-onedark.vim.
Languages
Vim Script
86.7%
JavaScript
13.3%
