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 ...

Get Mastering CSS now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.