From the course: Learning Sublime Text 3
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Using multiple selections to edit multiple lines simultaneously - Sublime Text Tutorial
From the course: Learning Sublime Text 3
Using multiple selections to edit multiple lines simultaneously
- [Narrator] Probably the single most wizz-bang feature of Sublime Text and the one that attracts the most new users to this editor is multiple selection, but multiple selection is also one of the hardest features to use in this editor because it really isn't obvious how the editor's supposed to behave with multiple selections going on at once. So, let me show you how it works. I'm going to scroll down in index.htm, here to this unordered list that contains a bit of a markup issue. There's inconsistent spacing following these closing span tags, and we'd like to fix that up by adding the spaces that are needed on these bottom lines. The easiest way to do multiple selection is to start with a single selection, or in this case, a single cursor, and then hold down the command key, or the control key on Windows, and then click, click, click to add additional cursor's, and I now have six different cursor's in my document at once. You can see it says six selected regions in the status bar…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
Expanding selections of code3m 52s
-
(Locked)
Transposing and swapping code1m
-
(Locked)
Bookmarking a position in the file1m 8s
-
(Locked)
Using the Goto Anything command4m 44s
-
(Locked)
Navigating your project by indexed symbols3m 37s
-
(Locked)
Using the command palette to access seldom-used shortcuts1m 46s
-
(Locked)
Using multiple selections to edit multiple lines simultaneously5m 57s
-
(Locked)
Creating a multiple selection using matches4m 13s
-
(Locked)
Using multiple selections to edit large amounts of text2m 53s
-
(Locked)
Switching into Vintage mode to make Sublime Text work more like Vim3m 54s
-
-
-
-