diff --git a/README.mkd b/README.mkd index 2f08e17..2558ccf 100644 --- a/README.mkd +++ b/README.mkd @@ -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 "," (Ctrl + y + ','), you should see: +Then type "\," (Ctrl + y + ','), you should see: @@ -56,8 +58,8 @@ Then type "," (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`: > -### tutorial translated in Chinese: +### A Chinese translation of the tutorial: >