Quickly Select One or More Lines in Sublime Text
Master Sublime Text line selection techniques efficiently
Line selection is one of the most fundamental operations in code editing. Mastering these shortcuts in Sublime Text will significantly speed up your development workflow.
Sublime Text Selection Methods
Single Line Selection
Click at the beginning of a line and drag to the end. Alternatively, triple-click anywhere on the line for instant selection.
Multiple Line Selection
Hold Ctrl (Cmd on Mac) while clicking to select multiple non-contiguous lines. Use Shift+Click for contiguous line ranges.
Keyboard Shortcuts
Use Ctrl+L to select the current line. Repeat the command to extend selection to additional lines below.
Key Takeaways
RELATED ARTICLES
Quickly Write Nested Tags in Sublime Text
Use > (greater-than symbol) to quickly write nested tags. For example, if you type article>h1and hit Tab, Emmet expands article>h1 to <article>...
Quickly Delete a Word in Any Text Editor
Hit Option–Delete (Mac) or Ctrl–Backspace (Windows) to delete the word to the left of the cursor. This is an operating system feature so it should work in any...
Proper Character Encoding with Unicode
To ensure special characters display properly on your website, do one of the following: Add <meta charset="UTF-8"> into the <head> of every HTML page....