Skip to main content
Noble Desktop/1 min read

Quickly Select One or More Lines in Sublime Text

Line Selection Shortcuts

Select Current Line

Cmd-L (Mac) or Ctrl-L (Windows) — selects the entire line.

Extend by More Lines

Repeat Cmd-L / Ctrl-L to extend the selection one line at a time.

Select to End of File

Cmd-Shift-Down (Mac) or Ctrl-Shift-End (Windows).

Pair with Operations

Combine with cut, copy, delete, or move-line shortcuts for fast edits.

Master Web Development at Noble Desktop

Noble Desktop's Full-Stack Web Development Certificate covers HTML, CSS, JavaScript, and the modern web stack.

In Sublime Text, you can select lines with a keystroke. Hit Cmd–L (Mac) or Ctrl–L (Windows) to select the current line. Repeat the keystroke to add the line below.

Ct select multiple lines

Learn more Sublime Text Coding Tips. These coding tips are covered in our hands-on coding classes and bootcamps in NYC.