mattn / emmet-vim

emmet for vim: http://emmet.io/
http://mattn.github.io/emmet-vim
MIT License
6.39k stars 411 forks source link

Need help #534

Closed Iamafnan closed 2 years ago

Iamafnan commented 2 years ago

Is there any way to manually expand any emmet abbreviation?

Rz-Rz commented 2 years ago

Yes its in the docs, you can use or you can specify your own key maps like so by writing this in your .vimrc or init.vim let g:user_emmet_leader_key=',' This remaps to the coma, if you press ,, it will expand your abbrev

Iamafnan commented 2 years ago

I am trying to make a plugin which uses emmet so can you tell me how can I manually expand

ns740 commented 2 years ago

i think the function emmet-expand-abbr does what you want (you should have it if you install the mattn/emmet-vim plugin).

Iamafnan commented 2 years ago

Thanks