forked from VimPlug/emmet-vim
user key map.
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
" File: zencoding.vim
|
" File: zencoding.vim
|
||||||
" Author: Yasuhiro Matsumoto <mattn.jp@gmail.com>
|
" Author: Yasuhiro Matsumoto <mattn.jp@gmail.com>
|
||||||
" Last Change: 22-Feb-2010.
|
" Last Change: 22-Feb-2010.
|
||||||
" Version: 0.12
|
" Version: 0.13
|
||||||
" WebPage: http://github.com/mattn/zencoding-vim
|
" WebPage: http://github.com/mattn/zencoding-vim
|
||||||
" Description: vim plugins for HTML and CSS hi-speed coding.
|
" Description: vim plugins for HTML and CSS hi-speed coding.
|
||||||
" SeeAlso: http://code.google.com/p/zen-coding/
|
" SeeAlso: http://code.google.com/p/zen-coding/
|
||||||
@@ -1029,10 +1029,16 @@ endfunction
|
|||||||
|
|
||||||
inoremap <plug>ZenCodingExpandWord <c-g>u<esc>:call <sid>zen_expand(1)<cr>a
|
inoremap <plug>ZenCodingExpandWord <c-g>u<esc>:call <sid>zen_expand(1)<cr>a
|
||||||
inoremap <plug>ZenCodingExpandAbbr <c-g>u<esc>:call <sid>zen_expand(0)<cr>a
|
inoremap <plug>ZenCodingExpandAbbr <c-g>u<esc>:call <sid>zen_expand(0)<cr>a
|
||||||
if !hasmapto('<c-z>.')
|
if !exists('g:user_zen_expandword_key')
|
||||||
|
let g:user_zen_expandword_key = '<c-z>.'
|
||||||
|
endif
|
||||||
|
if !hasmapto(g:user_zen_expandword_key)
|
||||||
imap <c-z>. <plug>ZenCodingExpandWord
|
imap <c-z>. <plug>ZenCodingExpandWord
|
||||||
endif
|
endif
|
||||||
if !hasmapto('<c-z>,')
|
if !exists('g:user_zen_expandabbr_key')
|
||||||
|
let g:user_zen_expandabbr_key = '<c-z>,'
|
||||||
|
endif
|
||||||
|
if !hasmapto(g:user_zen_expandabbr_key)
|
||||||
imap <c-z>, <plug>ZenCodingExpandAbbr
|
imap <c-z>, <plug>ZenCodingExpandAbbr
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
@@ -67,6 +67,8 @@ install_details: |
|
|||||||
copy zencoding.vim to your plugin directory.
|
copy zencoding.vim to your plugin directory.
|
||||||
|
|
||||||
versions:
|
versions:
|
||||||
|
- '0.13': |
|
||||||
|
This is an upgrade for ZenCoding.vim: user key map.
|
||||||
- '0.12': |
|
- '0.12': |
|
||||||
This is an upgrade for ZenCoding.vim: few extensive notation.
|
This is an upgrade for ZenCoding.vim: few extensive notation.
|
||||||
- '0.11': |
|
- '0.11': |
|
||||||
|
|||||||
Reference in New Issue
Block a user