Ⅰ. 插件描述
A clean, dark vim color schemeⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'kniren/darkmirror'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'kniren/darkmirror'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'kniren/darkmirror'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/kniren/darkmirror
Ⅳ. 文档说明
Dark Mirror
A color scheme for Vim, by Alex Sanchez. You can get it at:
github.
This is my first attempt to make a clean, minimalistic and beautiful dark color
scheme that works on XTerms. Note that it is at a very early stage, and because of
that, you may encounter some color mismatches.
I've tested it with Java, C, Python, XML, HTML, Markdown and VimScript, and
I would love to see how does it looks for you, so if you use this, please, drop me
a line or send me a screenshot to <kniren@gmail.com>
Xresources Colors
To display this colorscheme as I have envisioned I suggest you to use this colors
for your Xterms (I use URxvt myself, but you can tweak them to make them work
with your setup):
" //////////// URxvt Colors ////////////"
"
"*foreground: #DDDDDD
"*background: #050505
"!black
"*color0: #393939
"*color8: #121212
"!red
"*color1: #da4939
"*color9: #ff6c5c
"!green
"*color10: #509F7E
"*color2: #61C29A
"!yellow
"*color3: #cc7833
"*color11: #bc9458
"!blue
"*color4: #6d9cbe
"*color12: #91c1e3
"!magenta
"*color5 :#9966D9
"*color13: #9954DE
"!cyan
"*color6: #435d75
"*color14: #6e98a4
"!white
"*color7: #dedede
"*color15: #dddddd
" //////////////////////////////////////"
"
Why I do this?
Well, I was pretty comfortable using gvim with molokai colors, but since I've
discovered tmux, I've found myself coding exclusively inside my terminal, and
although the jellybeans colorscheme that I've been using was kind of nice,
I wanted a cleaner scheme that highlights only the necessary bits and that worked
well with my Xdefaults colors.
License
This color scheme uses the FreeBSD license, so feel free of hacking it having this
into account:
Copyright 2012 Alex Sanchez. All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
- Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer. - Redistributions in binary form must reproduce the above copyright notice, this
list of conditions and the following disclaimer in the documentation and/or
other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY Alex Sanchez ''AS IS'' AND ANY EXPRESS OR IMPLIED
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
SHALL Alex Sanchez OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.
The views and conclusions contained in the software and documentation are those of
the authors and should not be interpreted as representing official policies,
either expressed or implied, of Alex Sanchez.