Ⅰ. 插件描述
Emmet LiveStyle for VimⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'mattn/livestyle-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'mattn/livestyle-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'mattn/livestyle-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/mattn/livestyle-vim
Ⅳ. 文档说明
# LiveStyle for Vim

Requirements
- Google Chrome on Windows, Linux, MacOSX
Install
- Build server
Install golang and build.
$ cd /path/to/livestyle-vim/livestyled
$ go get -d
$ go build livestyled.go- Install Chrome Extension
Install from here
Usage
- Open local file with chrome.
Start LiveStyle server
:LiveStyleOpen the file
:e /path/to/style.css
Notice
If you don't get update of content even though modify css on vim, probably socket connection is not recognized by your http browser.
Type <F12> to open developer tools, and click LiveStyle tab, check that you can see Vim icon, and path is selected in the combo-box.

TODO
- Strict properties replacement
- Strict properties addition