Ⅰ. 插件描述
SVSS's Vim Style SheetⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'cocopon/svss-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'cocopon/svss-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'cocopon/svss-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/cocopon/svss.vim
Ⅳ. 文档说明
SVSS - SVSS's Vim Style Sheet
Are you a good friends with CSS or SCSS?
SVSS is a style sheet for Vim. You can easily create your own color scheme with SCSS-like syntax. For example:
$base-hue: 240;
Normal {
guibg: hsl($base-hue, 0, 0);
guifg: hsl($base-hue, 100%, 50%);
}It will be compiled as the following command:
hi! Normal guibg=#000000 guifg=#0000ffSVSS provides various useful features to create a color scheme.
See doc/svss.text for full features.
License
MIT License. See LICENSE.txt for more information.