Ⅰ. 插件描述
A Vim color scheme.Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'sjl/badwolf'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'sjl/badwolf'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'sjl/badwolf'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/sjl/badwolf
Ⅳ. 文档说明
Bad Wolf
A color scheme for Vim, pieced together by Steve Losh.
There's still quite a lot of room for improvement (particularly in HTML) so feel
free to send me ideas through the [issue tracker][] or pull requests.
It's MIT/X11 licensed, so feel free to hack it apart if you like.
**If you're going to send a pull request that you want me to merge, please post
a comment in it with before/after screenshots!**
Screenshots
These screenshots may be out of date, but they'll at least give you a taste of
what you're in for.
Python
HTML (Django Templates)
Clojure
Markdown
Configuration
There are a few settings you can use to tweak how Bad Wolf looks.
g:badwolf_darkgutter
Determines whether the line number, sign column, and fold column are rendered
darker than the normal background, or the same.
" Make the gutters darker than the background.
let g:badwolf_darkgutter = 1
Default: 0
(off, gutters are the same as the background)
g:badwolf_tabline
Determines how light to render the background of the tab line (the line at the
top of the screen containing the various tabs (only in console mode)).
Can be set to 0
, 1
, 2
, or 3
.
" Make the tab line darker than the background.
let g:badwolf_tabline = 0
" Make the tab line the same color as the background.
let g:badwolf_tabline = 1
" Make the tab line lighter than the background.
let g:badwolf_tabline = 2
" Make the tab line much lighter than the background.
let g:badwolf_tabline = 3
Default: 1
(same color as the background)
g:badwolf_html_link_underline
Determines whether text inside a
tags in HTML files will be underlined.
" Turn off HTML link underlining
let g:badwolf_html_link_underline = 0
Default: 1
(on)
g:badwolf_css_props_highlight
Determines whether CSS properties should be highlighted.
" Turn on CSS properties highlighting
let g:badwolf_css_props_highlight = 1
Default: 0
(off)
Contributing
I'd love pull requests, but won't necessarily merge all of them. Color schemes
are a very subjective topic -- we don't all have the same taste.
**If you're going to send a pull request that you want me to merge, please post
a comment in it with before/after screenshots!**