Sweater


Ⅰ. 插件描述

Let's keep Vim warm.

Ⅱ. 基本信息

创建日期:  2014-10-05
使用用户:  19
Github星:  33
插件作者:  nice guy

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'nice/sweater'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'nice/sweater'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'nice/sweater'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/nice/sweater

Ⅳ. 文档说明

Sweater - Light color scheme for Vim.

Imgur

GVim :colorscheme sweater running on GNU/Linux - Elementary OS Luna

Installation

Using package managers

" Plug
Plug 'nice/sweater'
" Vundle
Plugin 'nice/sweater'
" NeoBundle
NeoBundle 'nice/sweater'

Manual install

Simply copy the colors/sweater.vim to ~/.vim/colors folder.

wget -P ~/.vim/colors https://raw.githubusercontent.com/nice/sweater/master/colors/sweater.vim

Activate color scheme

In your ~/.vimrc file add the following line.

colorscheme sweater

If you are using a 256 color terminal make sure you have the following line in your ~/.vimrc before activating the colorscheme.

set t_Co=256
colorscheme sweater

Contributing

Am I missing something? Fork this repository and send a pull request. Thanks in advance.

List of contributors.

Acknowledgments

  • Thanks to stackoverflow user ctrl_phil for hex to 256 color approximation code.
    Link to code
  • Thanks to Rudá Moura for zen color scheme.
    User profile
  • Thanks to Bram Moolenaar for the amazing Vim editor and default.vim colorscheme.

Licence

gpl
for more description see the license.

添加新评论