2012-06-05 10:42:16 +09:00
2012-06-05 01:15:02 +09:00
2012-05-31 19:20:49 +09:00
2012-06-04 22:58:01 +09:00
2011-05-07 20:51:41 +02:00
2010-05-06 09:07:34 +09:00
2011-10-25 13:50:43 +09:00
2012-06-01 13:31:47 +09:00
2012-06-04 22:59:06 +09:00
2012-01-17 10:24:44 +09:00
2012-05-29 08:51:07 +09:00

ZenCoding-vim

zencoding-vim is vim script support for expanding abbreviation like zen-coding.

Installation

Download zip file:

cd ~/.vim
unzip zencoding-vim.zip

If you install pathogen.vim:

cd ~/.vim/bundle # or make directory
unzip /path/to/zencoding-vim.zip

If you get source from repository:

cd ~/.vim/bundle # or make directory
git clone http://github.com/mattn/zencoding-vim.git

or:

git clone http://github.com/mattn/zencoding-vim.git
cd zencoding-vim
cp plugin/zencoding.vim ~/.vim/plugin/
cp autoload/zencoding.vim ~/.vim/autoload/

Quick Tutorial

Open or create New File:

vim index.html

Type ("_" is the cursor position):

html:5_

Then type "," (Ctrl + y + ','), you should see:

<!DOCTYPE HTML>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title></title>
</head>
<body>
	_
</body>
</html>

More Tutorials

Project Authors

Yasuhiro Matsumoto

zen-coding official site:

http://code.google.com/p/zen-coding/

zencoding.vim:

http://mattn.github.com/zencoding-vim

development repository:

https://github.com/mattn/zencoding-vim

my blog posts about zencoding-vim:

http://mattn.kaoriya.net/software/vim/20100222103327.htm

http://mattn.kaoriya.net/software/vim/20100306021632.htm

japanese blog posts about zencoding-vim:

http://d.hatena.ne.jp/idesaku/20100424/1272092255

http://d.hatena.ne.jp/griefworker/20110118/vim_zen_coding

http://d.hatena.ne.jp/sakurako_s/20110126/1295988873

http://looxu.blogspot.jp/2010/02/zencodingvimhtml.html

tutorial traslated in chinese:

http://www.zfanw.com/blog/zencoding-vim-tutorial-chinese.html

Description
emmet for vim: http://emmet.io/
Readme 1.6 MiB
Languages
Vim Script 99.9%
Makefile 0.1%