Ⅰ. 插件描述
ViM colorscheme for dark terminalsⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'hellabyte/lichen'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'hellabyte/lichen'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'hellabyte/lichen'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/hellabyte/lichen
Ⅳ. 文档说明
lichen
Lichen is configured to handle 256 color terminals.
Many of the colorschemes that can be found online are actually designed
for gViM, which is the GUI implementation of ViM.
Lichen will provide a similar syntax highlighting experience as gViM
but inside a terminal.
It also has most of the relevant keywords for configuring any new/old
colorscheme, so it provides as a good template for a new 256-terminal
colorscheme.
Lichen was modified from a colorscheme called moss, which partially
worked in the terminal.
Lichen provides a dark colorscheme with blues, greens, and browns
designed to minimize distraction and eyestrain from brightness
while maximizing utility by providing quick distinct color shorthands.
Reds and oranges are resolved for searching, error handling, and errors.
Lichen has been tested with nearly every programming language/format
including TeX (LaTeX), Python, Fortran, Fortran 90, C, C++, vimscript,
PERL, bash, csh, yaml, json, html, xml, md (markdown), MATLAB,
sed, and even binary.
The vimrc found in http://github.com/hellabyte/myconfig is recommended
to get syntax highlighting working for all the above filetypes (i.e.
for Fortran 90 the Hellabyte vimrc will correctly provide free-format
syntax highlighting).
Lichen has been tested on a variety of platforms, including Ubuntu,
Arch Linux, CentOS, Redhat, and Mac OS X.
It has also been tested successfully in a variety of terminals including
Terminal.app, iTerm2.app, Gnome Terminal, Terminator, xterm, and
rxvt-unicode (urxvt).
The most important setting is that the environment variable
`TERM' is set to 256 colors (although 88 colors works too).
To install, use your favorite plugin manager or just use cp after
cloning--just make sure that lichen.vim ends up in the
correct directory: $HOME/.vim/colors.


(C) 2014 - 12 - 23 -- Nathaniel Hellabyte