mirror of
https://github.com/mattn/emmet-vim.git
synced 2025-12-08 03:24:45 +08:00
check whether key is mapping.
This commit is contained in:
@@ -1040,10 +1040,10 @@ inoremap <plug>ZenCodingExpandAbbr <c-g>u<esc>:call <sid>zen_expand(0)<cr>a
|
|||||||
if !exists('g:user_zen_expandword_key')
|
if !exists('g:user_zen_expandword_key')
|
||||||
let g:user_zen_expandword_key = '<c-z>.'
|
let g:user_zen_expandword_key = '<c-z>.'
|
||||||
endif
|
endif
|
||||||
if !hasmapto(g:user_zen_expandword_key)
|
if !hasmapto(g:user_zen_expandword_key, 'i')
|
||||||
exe "imap " . g:user_zen_expandword_key . " <plug>ZenCodingExpandWord"
|
exe "imap " . g:user_zen_expandword_key . " <plug>ZenCodingExpandWord"
|
||||||
endif
|
endif
|
||||||
if !exists('g:user_zen_expandabbr_key')
|
if !exists('g:user_zen_expandabbr_key', 'i')
|
||||||
let g:user_zen_expandabbr_key = '<c-z>,'
|
let g:user_zen_expandabbr_key = '<c-z>,'
|
||||||
endif
|
endif
|
||||||
if !hasmapto(g:user_zen_expandabbr_key)
|
if !hasmapto(g:user_zen_expandabbr_key)
|
||||||
|
|||||||
Reference in New Issue
Block a user