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

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -