Vim key mapping for emmet-vim -


ok here want accomplish:

  • in insert mode emmet autocomplete tab key

here have tried

  • let g:user_emmet_expandabbr_key = '<tab>' (only works in normal mode)

though above code useful, need work in insert mode

i transferring on sublime text vim , miss having emmet functionality accessible. ideas how can achieve this?

thanks in advance.

solved problem including following lines in .vimrc file.

let g:user_emmet_expandabbr_key='<tab>' imap <expr> <tab> emmet#expandabbrintelligent("\<tab>") 

now can use tab key both indent , activate emmet snippets in insert mode :d


Comments

Popular posts from this blog

c++ - llvm function pass ReplaceInstWithInst malloc -

java.lang.NoClassDefFoundError When Creating New Android Project -

Decoding a Python 2 `tempfile` with python-future -