mirror of
https://github.com/mattn/emmet-vim.git
synced 2025-12-06 10:44:24 +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')
|
||||
let g:user_zen_expandword_key = '<c-z>.'
|
||||
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"
|
||||
endif
|
||||
if !exists('g:user_zen_expandabbr_key')
|
||||
if !exists('g:user_zen_expandabbr_key', 'i')
|
||||
let g:user_zen_expandabbr_key = '<c-z>,'
|
||||
endif
|
||||
if !hasmapto(g:user_zen_expandabbr_key)
|
||||
|
||||
Reference in New Issue
Block a user