Ⅰ. 插件描述
Cobalt 2 colorscheme for VimⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'herrbischoff/cobalt2-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'herrbischoff/cobalt2-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'herrbischoff/cobalt2-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/herrbischoff/cobalt2.vim
Ⅳ. 文档说明
# cobalt2.vim
Cobalt 2 colorscheme for Vim, converted from Wes Bos' Sublime Text adaptation: https://github.com/wesbos/cobalt2
This colorscheme is raw for now. HTML syntax highlighting is mostly
complete, JavaScript and CSS are work-in-progress and a few bits of Twig are
sprinkled in. Please consider this Alpha quality software for the time being.
There are currently no terminal colors and given the limited color support of many terminal emulators, I don't I ever will. The scheme works quite good with Neovim though, if you enable its true color mode: export NVIM_TUI_ENABLE_TRUE_COLOR=1
Pull requests for additional language support are very welcome.
Screenshots
HTML

Installation
Option 1: Manual installation
Move cobalt2.vim to your .vim/colors directory.
Option 2: Install with a package manager
NeoBundle
NeoBundle 'herrbischoff/cobalt2.vim'Caffeinating
When you find this helpful, you could buy me a coffee. Keeping me properly caffeinated accelerates things. And it would really make my day. Kindness of strangers and all that. If you can't or won't, no hard feelings. It's available completely free for a reason. Still, it would be awesome.
Patreon: https://www.patreon.com/herrbischoff
License
The MIT License (MIT)
Copyright (c) 2015 Marcel Bischoff
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.