Vim key mapping for emmet-vim -
ok here want accomplish:
- in
insert
mode emmet autocompletetab
key
here have tried
let g:user_emmet_expandabbr_key = '<tab>'
(only works innormal
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
Post a Comment