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++: Boost interprocess memory mapped file error -

python - IO.UnsupportedOperation: Not Writable -

python - Selecting distinct values from a column in Peewee -