update doc

This commit is contained in:
mattn
2010-11-05 14:36:04 +09:00
parent e6299244b7
commit af324f7db0
2 changed files with 20 additions and 15 deletions

View File

@@ -176,22 +176,26 @@ Tutorial of zencoding.vim
</blockquote>
---------------------
14. Enable zencoding.vim for language you using.
14. Installing zencoding.vim for language you using.
There are two ways to enable zencoding.vim for language you using.
# cd ~/.vim
# unzip zencoding-vim.zip
or if you install pathogen.vim:
# cd ~/.vim/bundle # or make directory
# unzip /path/to/zencoding-vim.zip
if you get sources from repository:
# cd ~/.vim/bundle # or make directory
# git clone http://github.com/mattn/zencoding-vim.git
15. Enable zencoding.vim for language you using.
You can customize the behavior of language you using.
1. Enable with filetype.
---------------------
# mkdir $HOME/.vim/ftplugin/php
# cp zencoding.vim $HOME/.vim/ftplugin/php/.
---------------------
2. Enable with zen_settings.
---------------------
# cp zencoding.vim $HOME/.vim/plugin/.
And you can customize the behavior of language you using.
# cat >> ~/.vimrc
let g:user_zen_settings = {
\ 'php' : {

View File

@@ -1,6 +1,7 @@
"=============================================================================
" zencoding.vim
" Last Change: 2010-09-10
" Maintainer: Yasuhiro Matsumoto <mattn.jp@gmail.com>
" Author: Yasuhiro Matsumoto <mattn.jp@gmail.com>
" Last Change: 05-Nov-2010.
let s:save_cpo = &cpo
set cpo&vim