-1

I have installed vim and emmet plugin.
To create the following html structure

 <ul>
     <li>About</li>
     <li>News</li>
     <li>Products</li>
     <li>Contacts</li>
    </ul>

with four lines text

About
News
Products
Contacts

Do as https://docs.emmet.io/actions/wrap-with-abbreviation/ say.
1. to select four lines

enter image description here

2.to enter ctrlshifta
Nothing happend!

Where to input the abbreviation ul>li* to create target html structure?
How to wrap the four lines with ul>li* tag in my emmet-vim
Why no logo such as Tag: at the left bottom of vim window in my vim? How to set it in my vim?

enter image description here

enter image description here

In sublime text 3 we can achieve it this way.
1.to select all the four lines.
enter image description here 2.to press ctrlshiftg
a narrow window pop up at the bottom enter image description here

3.to erase the red div tag with backspace key,and input ul>li*

enter image description here

Done!

How to do in pure vim environment with emmet plugin ?

showkey
  • 482
  • 42
  • 140
  • 295

1 Answers1

0

1.to press V into visul mode of vim

2.press V to select all the lines

enter image description here

3.to press ctrly,

enter image description here

Now the tag: logo display

  1. to input ul>li*

enter image description here

enter image description here

Done!

showkey
  • 482
  • 42
  • 140
  • 295