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. 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).
Description
A dark Vim/Neovim color scheme inspired by Atom's One Dark syntax theme.