Ⅰ. 插件描述
css/less/sass/html color preview for vimⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'gorodinskiy/vim-coloresque'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'gorodinskiy/vim-coloresque'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'gorodinskiy/vim-coloresque'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/gorodinskiy/vim-coloresque
Ⅳ. 文档说明
Coloresque
Important! If you experience any lags in css/html/less/sass files please update to latest version(0.9.5) of plugin.
The issue #13 from 26.09.2013. Sorry for the inconvenience.
color preview for vim.
Overview
This is merge of ap vim-css-color and colorizer.
The main goal was to fix cursorline bug and keep named colors(i.e. white, black, aqua). I ended up mixing both plugins plus wrote some stuff, so I decided to leave it as a separate plugin.
Installation
Via vundle:
Bundle 'https://github.com/gorodinskiy/vim-coloresque.git'
Features
You can still use hsl(a)
or multiple colours on same line
and you can use named colors(case insensitive)