mirror of
https://github.com/mattn/emmet-vim.git
synced 2025-12-09 12:04:47 +08:00
update doc
This commit is contained in:
30
TUTORIAL
30
TUTORIAL
@@ -176,22 +176,26 @@ Tutorial of zencoding.vim
|
|||||||
</blockquote>
|
</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
|
# cat >> ~/.vimrc
|
||||||
let g:user_zen_settings = {
|
let g:user_zen_settings = {
|
||||||
\ 'php' : {
|
\ 'php' : {
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
|
"=============================================================================
|
||||||
" zencoding.vim
|
" zencoding.vim
|
||||||
" Last Change: 2010-09-10
|
" Author: Yasuhiro Matsumoto <mattn.jp@gmail.com>
|
||||||
" Maintainer: Yasuhiro Matsumoto <mattn.jp@gmail.com>
|
" Last Change: 05-Nov-2010.
|
||||||
|
|
||||||
let s:save_cpo = &cpo
|
let s:save_cpo = &cpo
|
||||||
set cpo&vim
|
set cpo&vim
|
||||||
|
|||||||
Reference in New Issue
Block a user