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 - How to retrieve a variable from the Apache configuration inside the module? -

c# - Constructor arguments cannot be passed for interface mocks -

python - malformed header from script index.py Bad header -