Ⅰ. 插件描述
Zenburn is a low-contrast color scheme for Vim.Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'jnurmine/zenburn-enchanted'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'jnurmine/zenburn-enchanted'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'jnurmine/zenburn-enchanted'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/jnurmine/zenburn
Ⅳ. 文档说明
# ZENBURN
Zenburn is a low-contrast color scheme for Vim. It’s easy for your eyes and
designed to keep you in the zone for long programming sessions.
Zenburn has been ported to many different editors and environments. For more
information and list of derivatives, visit http://kippura.org/zenburnpage
No:
- dayglo vomit
- black, red, blue and green on screaming white background
- headache
- watery, squinting eyes
- the "I wanna run away" feeling
Yes:
- alien fruit salad
- harmonious colors help with concentration
- improved focus
- stay longer in the zone
- more productivity
- looks good
- 256-color terminal mode
- GVim mode
- customizeable
- etc.
INSTALLATION
To use Zenburn in GVim, simply copy the file to colors/ subdirectory under your
Vim configuration folder (e.g. ~/.vim/colors
or C:\vim\colors
).
To use Zenburn in Vim, you must enable the 256-color mode for Vim. This can be
done with e.g. export TERM=xterm-256color
. You might also need to add set t_Co=256
into your .vimrc
file, before loading the colorscheme. Note, that
due to limitations of the 256-color mode the color scheme is not exactly like
it appears in GVim, but very close nevertheless.
To load Zenburn in Vim/GVim:
:colors zenburn
To automatically load the colors upon startup of Vim, add this to .vimrc
:
colors zenburn
LICENSE
GNU GPL, http://www.gnu.org/licenses/gpl.html
DEVELOPERS
Captain Obvious says: make a symlink from ~/.vim/colors/zenburn.vim
which
points to the real zenburn.vim
. This way you don't need to copy files around
and making the Vimball is easy!
MAKING A VIMBALL
To make a Vimball, open zb-vimball.txt
and then :MkVimball zenburn.vba
THANKS
- Creators of "BlackDust", "Camo" and "Desert" themes. I used those to figure out
the Vim color schemes work in practise.
- All contributors - see
zenburn.vim
for a list. - All people who made derivatives and ports.
- All zenburners worldwide!
- All contributors - see
PARTING WORDS
Thank you for enjoying “Just some alien fruit salad to keep you in the zone”!
Cheers,
slinky at iki dot fi