BBEdit Cheat Sheet
General
Open File:
Command + O
Save File:
Command + S
Close File:
Command + W
New File:
Command + N
Open Recent File:
Control + Command + O
Revert to Saved:
Command + R
Editing
Cut:
Command + X
Copy:
Command + C
Paste:
Command + V
Undo:
Command + Z
Redo:
Command + Shift + Z
Select All:
Command + A
Duplicate Line:
Control + Command + D
Delete Line:
Command + Option + K
Comment/Uncomment Line:
Command + /
Indent Selection:
Command + ]
Outdent Selection:
Command + [
Shift Line Up:
Control + Command + Up Arrow
Shift Line Down:
Control + Command + Down Arrow
Navigation
Go to Line:
Command + L
Next Document:
Control + Tab
Previous Document:
Control + Shift + Tab
Jump to Function:
Control + Command + J
Open Function Menu:
Control + Command + M
Open Selection in New Window:
Command + Control + N
Find and Replace
Find:
Command + F
Find Next:
Command + G
Find Previous:
Command + Shift + G
Replace:
Command + Option + F
Replace All:
Command + Option + R
Search in Files:
Command + Shift + F
Find in Project:
Command + Shift + S
Markup
Balance (Match) Braces:
Command + B
Shift Selection Left:
Command + Option + [
Shift Selection Right:
Command + Option + ]
Miscellaneous
Show/Hide Sidebar:
Control + Command + S
Show/Hide Line Numbers:
Command + Option + T
Toggle Soft Wrap:
Command + Option + W
Show/Hide Minimap:
Command + Shift + M
Preferences:
Command + ,
Customization
Edit Syntax Highlighting:
BBEdit > Preferences > Languages
Manage Scripts:
BBEdit > Scripts > Open Scripts Folder
Install Packages:
BBEdit > Packages
Multi-File Operations
Open Disk Browser:
Command + D
Search Disk Browser:
Command + Shift + D
Advanced
Run Unix Command:
Command + Shift + U
Run Text Factory:
Command + Option + E
Preview in Markup Language:
Command + Shift + P
Code Folding
Fold Selected Code:
Command + Option + F
Unfold Selected Code:
Command + Option + U
Fold All:
Command + Option + Control + F
Unfold All:
Command + Option + Control + U
Automation
Record Macro:
Control + Command + R
Play Macro:
Control + Command + P
This cheatsheet covers essential commands and shortcuts in BBEdit, making it easier to perform various tasks quickly and efficiently. BBEdit's functionality can be further extended through custom scripts and preferences, allowing you to tailor it to your specific workflow.