From af324f7db0057a6f1e1b3f19030a47c4a612c58e Mon Sep 17 00:00:00 2001 From: mattn Date: Fri, 5 Nov 2010 14:36:04 +0900 Subject: [PATCH] update doc --- TUTORIAL | 30 +++++++++++++++++------------- autoload/zencoding.vim | 5 +++-- 2 files changed, 20 insertions(+), 15 deletions(-) diff --git a/TUTORIAL b/TUTORIAL index 1d7757d..a994e69 100644 --- a/TUTORIAL +++ b/TUTORIAL @@ -176,22 +176,26 @@ Tutorial of zencoding.vim --------------------- -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' : { diff --git a/autoload/zencoding.vim b/autoload/zencoding.vim index 8a9827d..4b51461 100644 --- a/autoload/zencoding.vim +++ b/autoload/zencoding.vim @@ -1,6 +1,7 @@ +"============================================================================= " zencoding.vim -" Last Change: 2010-09-10 -" Maintainer: Yasuhiro Matsumoto +" Author: Yasuhiro Matsumoto +" Last Change: 05-Nov-2010. let s:save_cpo = &cpo set cpo&vim