mirror of
https://github.com/mattn/emmet-vim.git
synced 2025-12-09 03:54:47 +08:00
almost complete readme
This commit is contained in:
42
readme.md
42
readme.md
@@ -1,6 +1,6 @@
|
|||||||
ZenCoding-vim
|
ZenCoding-vim
|
||||||
====
|
====
|
||||||
[zencoding-vim](http://github.com/mattn/zencoding-vim.git) is vim script support for expanding abbreviation like zen-coding.
|
[zencoding-vim](http://mattn.github.com/zencoding-vim) is vim script support for expanding abbreviation like zen-coding.
|
||||||
|
|
||||||
Installation
|
Installation
|
||||||
---
|
---
|
||||||
@@ -18,7 +18,45 @@ If you install pathogen.vim:
|
|||||||
|
|
||||||
If you get source from repository:
|
If you get source from repository:
|
||||||
|
|
||||||
git clone http://github.com/mattn/zencoding-vim.git
|
|
||||||
cd ~/.vim/bundle # or make directory
|
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 "<c-y>," (Ctrl + y + ','), you should see:
|
||||||
|
|
||||||
|
<!DOCTYPE HTML>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<title></title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
_
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
||||||
|
[More
|
||||||
|
Tutorials](https://raw.github.com/mattn/zencoding-vim/master/TUTORIAL)
|
||||||
|
|
||||||
|
|
||||||
|
Project Authors
|
||||||
|
---
|
||||||
|
[Yasuhiro Matsumoto](http://mattn.kaoriya.net/)
|
||||||
|
|||||||
Reference in New Issue
Block a user