Sublime Forum

Over typing snippet?

#1

Hello,

I was wondering how I could make a snippet so that it wrapped current code not over wrote it, for example I have an img tag which I want to wrap in a div i type my tabkeyword e.g “divid” that inserts a div but it will go above or below the img tab if I highlight the img tag it will overwrite it. How can I make it so it will just wrap around the img tag.

Thanks!

0 Likes

#2

Try to install emmet. It kinda does what do you want.

0 Likes