
上QQ阅读APP看书,第一时间看更新
Multiple cursors
Keeping the div tag we just expanded with Emmet, let's look at Sublime's multiple cursors feature. Since we had five lists, we may need to type in the same thing in each one. If you hold down your cmd key and click on separate lines of code, you can actually create multiple cursors. As illustrated, you can now type the same thing in five different spots:

Now, let's say you want to type in some placeholder text where you will have multiple cursors. First, type in "lorem5", or "lorem" followed by any other number, and you'll get than many words of placeholder "lorem ipsum" text:

Then, just hit Tab, and it will automatically expand to, in our case, 5 words of lorem ipsum text, as illustrated here:
