Sublime Text -Editors
M2-R5.1 · Chapter 2: Editors · 2 min read
🖋️ Sublime Text Editor
-
A powerful, versatile, cross-platform text editor widely used by developers.
-
Built with a Python API for extensibility.
-
Optimized for speed, shortcuts, and ease-of-use.
-
Download: https://www.sublimetext.com
✨ Features of Sublime Text
-
Syntax highlighting
-
Auto indentation
-
File type recognition
-
Sidebar for file navigation
-
Macros
-
Plug-ins & Packages support
-
Cross-platform (Windows, macOS, Linux)
How to Download Sublime Text
-
Visit the official website.
-
Select your OS (Windows, macOS, Linux).
-
Download & run the installer.
-
Launch Sublime Text from desktop/applications menu.
Working with Files
-
Create new file
-
Open existing file
-
Open recent files
-
Save / Save As
-
Close file
-
Edit text (Undo, Redo, Cut, Copy, Paste, Delete, Change case, Find & Replace, Multi-line editing)
⌨️ Shortcut Keys in Sublime Text
File & Navigation
-
Ctrl+P → Quick open file by name
-
Ctrl+G → Go to line
-
Ctrl+R → Go to symbol
-
Ctrl+; → Go to word
Editing
-
Ctrl+L → Select line
-
Ctrl+D → Select word
-
Ctrl+X → Cut line
-
Ctrl+Enter → Insert line after
-
Shift+Ctrl+Enter → Insert line before
-
Ctrl+J → Join lines
-
Ctrl+/ → Toggle comment
-
Ctrl+] → Indent
-
Ctrl+[ → Un-indent
-
Shift+Ctrl+D → Duplicate line
Search & Replace
-
Ctrl+F → Find
-
F3 → Find next
-
Shift+F3 → Find previous
-
Ctrl+H → Replace
-
Shift+Ctrl+F → Find in files
Bookmarks & Marks
-
Ctrl+F2 → Toggle bookmark
-
F2 → Next bookmark
-
Shift+F2 → Previous bookmark
Splits & Views
-
Shift+Alt+1 → Single column view
-
Shift+Alt+2 → Two columns
-
Shift+Alt+5 → Grid view
Case Conversions
-
Ctrl+K, Ctrl+U → Uppercase
-
Ctrl+K, Ctrl+L → Lowercase
Code Folding
-
Shift+Ctrl+[ → Fold
-
Shift+Ctrl+] → Unfold
-
Ctrl+K, Ctrl+J → Unfold all