From 6f7d59c030573dc213984551b8a1171dce16bfc3 Mon Sep 17 00:00:00 2001 From: Song Zheng Date: Fri, 25 Nov 2011 21:04:00 -0800 Subject: [PATCH 1/4] added readme file --- readme.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 readme.md diff --git a/readme.md b/readme.md new file mode 100644 index 0000000..2996f72 --- /dev/null +++ b/readme.md @@ -0,0 +1,21 @@ +ZenCoding-vim +==== +[zencoding-vim](http://github.com/mattn/zencoding-vim.git) is vim script support for expanding abbreviation like zen-coding. + +Installation +--- + +[Download zip +file](http://www.vim.org/scripts/script.php?script_id=2981) + 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: + git clone http://github.com/mattn/zencoding-vim.git + cd ~/.vim/bundle # or make directory + + From 66b00b5e40ae423a52c00b6581643c0cbafc678e Mon Sep 17 00:00:00 2001 From: Song Zheng Date: Fri, 25 Nov 2011 21:08:56 -0800 Subject: [PATCH 2/4] fixed a little format --- readme.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/readme.md b/readme.md index 2996f72..d4b3c62 100644 --- a/readme.md +++ b/readme.md @@ -7,14 +7,17 @@ Installation [Download zip file](http://www.vim.org/scripts/script.php?script_id=2981) + 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: + git clone http://github.com/mattn/zencoding-vim.git cd ~/.vim/bundle # or make directory From 304fb93d16a396b894dd93840d8e7a114828bbe4 Mon Sep 17 00:00:00 2001 From: Song Zheng Date: Fri, 25 Nov 2011 21:10:46 -0800 Subject: [PATCH 3/4] new formatting --- readme.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/readme.md b/readme.md index d4b3c62..698354b 100644 --- a/readme.md +++ b/readme.md @@ -6,19 +6,19 @@ Installation --- [Download zip -file](http://www.vim.org/scripts/script.php?script_id=2981) +file](http://www.vim.org/scripts/script.php?script_id=2981): - cd ~/.vim - unzip zencoding-vim.zip + cd ~/.vim + unzip zencoding-vim.zip If you install pathogen.vim: - cd ~/.vim/bundle # or make directory - unzip /path/to/zencoding-vim.zip + cd ~/.vim/bundle # or make directory + unzip /path/to/zencoding-vim.zip If you get source from repository: - git clone http://github.com/mattn/zencoding-vim.git - cd ~/.vim/bundle # or make directory + git clone http://github.com/mattn/zencoding-vim.git + cd ~/.vim/bundle # or make directory From aca236d40dcdc8f3270b6f5dc58f08ad5b206b19 Mon Sep 17 00:00:00 2001 From: Song Zheng Date: Fri, 25 Nov 2011 22:07:28 -0800 Subject: [PATCH 4/4] almost complete readme --- readme.md | 42 ++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 40 insertions(+), 2 deletions(-) diff --git a/readme.md b/readme.md index 698354b..4b24835 100644 --- a/readme.md +++ b/readme.md @@ -1,6 +1,6 @@ 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 --- @@ -18,7 +18,45 @@ If you install pathogen.vim: If you get source from repository: - git clone http://github.com/mattn/zencoding-vim.git 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: + + + + + + + + + _ + + + +[More +Tutorials](https://raw.github.com/mattn/zencoding-vim/master/TUTORIAL) + + +Project Authors +--- +[Yasuhiro Matsumoto](http://mattn.kaoriya.net/)