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

推薦閱讀
- ASP.NET Core:Cloud-ready,Enterprise Web Application Development
- Advanced Machine Learning with Python
- 深度實踐OpenStack:基于Python的OpenStack組件開發
- Visual C++串口通信開發入門與編程實踐
- Redis Applied Design Patterns
- Java程序員面試算法寶典
- INSTANT MinGW Starter
- The Data Visualization Workshop
- AutoCAD VBA參數化繪圖程序開發與實戰編碼
- 程序是怎樣跑起來的(第3版)
- 量化金融R語言高級教程
- 可解釋機器學習:模型、方法與實踐
- Oracle GoldenGate 12c Implementer's Guide
- Kubernetes源碼剖析
- 從程序員角度學習數據庫技術(藍橋杯軟件大賽培訓教材-Java方向)