mattn / emmet-vim

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

Question: embed selected lines #475

Closed Char-Aznable closed 4 years ago

Char-Aznable commented 4 years ago

Say I have visually selected:

test1.png
test23.png
testCD.png

Is there any easy way to make it into:

<embed src="test1.png">
<embed src="test23.png">
<embed src="testCD.png">

I tried something like embed or embed src but none work.

mattn commented 4 years ago
  1. Select 3 lines
  2. <c-y> + ,
  3. input embed[$#]* on the prompt