diff --git a/zencoding.vim b/zencoding.vim index 06f5dbd..a4bfbd5 100644 --- a/zencoding.vim +++ b/zencoding.vim @@ -1040,10 +1040,10 @@ inoremap ZenCodingExpandAbbr u:call zen_expand(0)a if !exists('g:user_zen_expandword_key') let g:user_zen_expandword_key = '.' endif -if !hasmapto(g:user_zen_expandword_key) +if !hasmapto(g:user_zen_expandword_key, 'i') exe "imap " . g:user_zen_expandword_key . " ZenCodingExpandWord" endif -if !exists('g:user_zen_expandabbr_key') +if !exists('g:user_zen_expandabbr_key', 'i') let g:user_zen_expandabbr_key = ',' endif if !hasmapto(g:user_zen_expandabbr_key)