- Mastering CSS
- Rich Finelli
- 129字
- 2021-07-08 09:45:48
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:

推薦閱讀
- Vue 3移動Web開發與性能調優實戰
- Java 9 Concurrency Cookbook(Second Edition)
- 信息安全技術
- PHP 編程從入門到實踐
- Windows Presentation Foundation Development Cookbook
- 微信公眾平臺開發:從零基礎到ThinkPHP5高性能框架實踐
- 小學生C++創意編程(視頻教學版)
- Corona SDK Mobile Game Development:Beginner's Guide(Second Edition)
- 從零開始學Linux編程
- HTML5 APP開發從入門到精通(微課精編版)
- Apache Camel Developer's Cookbook
- Python編程:從入門到實踐(第3版)
- Python網絡爬蟲技術與應用
- MySQL數據庫教程(視頻指導版)
- Swift從入門到精通 (移動開發叢書)