A dark color scheme for vim
Switch branches/tags
Nothing to show
Clone or download

README.md

neodark.vim

Vim (True color)

Default color

vim

#202020 background color

vim

Vim (256 color)

vim

tmux

tmux

Installation

Vim

For vim-plug

Plug 'KeitaNakamura/neodark.vim'
colorscheme neodark

If you want to change background, set the 6 digit color code:

let g:neodark#background = '#202020'

To use 256-color in both of vim and gvim:

let g:neodark#use_256color = 1 " default: 0

To use your default terminal background:

let g:neodark#terminal_transparent = 1 " default: 0

If you want solid vertical split matching the statusline:

let g:neodark#solid_vertsplit = 1 " default: 0

Airline and lightline themes are also included. For lightline,

let g:lightline = {}
let g:lightline.colorscheme = 'neodark'

For airline, just use!

Terminal

Custom terminal themes (terms/NeoDark.terminal for Terminal.app and terms/NeoDark.itermcolors for iTerm2) are also available.

let g:neodark#use_custom_terminal_theme = 1 " default: 0

In this case, even if you use a terminal which doesn't support true color like Terminal.app, you can get true color scheme!

tmux

cat tmuxcolors.conf >> ~/.tmux.conf

or

set -g @plugin 'KeitaNakamura/neodark.vim'

in .tmux.conf with Tmux Plugin Manager. tmux-statusbar is used for tmux statusbar in the screen shot.

Inspiration and special thanks