[README] Correct some grammar problems.

This commit is contained in:
Shlomi Fish
2013-05-15 16:25:19 +03:00
parent 3b8f3ac778
commit f128d1013b

View File

@@ -1,6 +1,8 @@
# ZenCoding-vim
[zencoding-vim](http://mattn.github.com/zencoding-vim) is vim script support for expanding abbreviation like zen-coding(emmet).
[zencoding-vim](http://mattn.github.com/zencoding-vim) is a vim plug-in
which provides support for expanding abbreviations similar to
[zen-coding](http://code.google.com/p/zen-coding/).
## Installation
@@ -9,14 +11,14 @@
cd ~/.vim
unzip zencoding-vim.zip
If you install pathogen.vim:
To install using pathogen.vim:
cd ~/.vim/bundle # or make directory
cd ~/.vim/bundle
unzip /path/to/zencoding-vim.zip
If you get source from repository:
To checkout the source from repository:
cd ~/.vim/bundle # or make directory
cd ~/.vim/bundle
git clone http://github.com/mattn/zencoding-vim.git
or:
@@ -30,15 +32,15 @@ or:
## Quick Tutorial
Open or create New File:
Open or create a New File:
vim index.html
Type ("_" is the cursor position):
Type ("\_" is the cursor position):
html:5_
Then type "<c-y>," (Ctrl + y + ','), you should see:
Then type "\<c-y\>," (Ctrl + y + ','), you should see:
<!DOCTYPE HTML>
<html lang="en">
@@ -56,8 +58,8 @@ Then type "<c-y>," (Ctrl + y + ','), you should see:
## Enable in different mode
If you don't want enable zencoding in all mode,
you can use set a option in `vimrc`:
If you don't want to enable zencoding in all modes,
you can use set these options in `vimrc`:
let g:user_zen_mode='n' "only enable normal mode functions.
let g:user_zen_mode='inv' "enable all functions, which is equal to
@@ -97,7 +99,7 @@ you can use set a option in `vimrc`:
> <http://looxu.blogspot.jp/2010/02/zencodingvimhtml.html>
### tutorial translated in Chinese:
### A Chinese translation of the tutorial:
> <http://www.zfanw.com/blog/zencoding-vim-tutorial-chinese.html>