Ⅰ. 插件描述
Vim color schemeⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'jalvesaq/southernlights'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'jalvesaq/southernlights'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'jalvesaq/southernlights'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/jalvesaq/southernlights
Ⅳ. 文档说明
# southernlights
Vim color scheme
Features
- Black background.
- Based on other color schemes. The starting point was "torte".
- Uses the same 256 colors in both GVim and terminal emulators capable of
displaying 256 colors. - Default to an 8 colors scheme if can not detect terminal capability of
displaying 256 colors. - Specific rules for html, mail, diff, wdiff, vim help and showmarks
plugin.
Screenshot

Bash configuration
To ensure that both Vim and Neovim will recognize the 256 colors capability of your
terminal, even when you are accessing your system through ssh, put the
following lines in your ~/.bashrc:
if [ "$TERM" = "xterm" ] || [ "$TERM" = "xterm-256color" ]
then
export TERM=xterm-256color
export HAS_256_COLORS=yes
fi
if [ "$TERM" = "screen" ] && [ "$HAS_256_COLORS" = "yes" ]
then
export TERM=screen-256color
fiTests
- To see at once how some file types are highlighted, open the file
test_colorscheme/openFiles.vimand, in Normal mode, type:so %. - To see what attributes your terminal support, do
./test_terminal.py.