neodark.vim


Ⅰ. 插件描述

A dark color scheme for vim

Ⅱ. 基本信息

创建日期:  2016-10-30
使用用户:  193
Github星:  289
插件作者:  Keita Nakamura

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'keitanakamura/neodark-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'keitanakamura/neodark-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'keitanakamura/neodark-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/keitanakamura/neodark.vim

Ⅳ. 文档说明

# 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

添加新评论