Atom is a free text and source code editor developed by GitHub. It's an open-source text editor which is supported by most operating systems including Windows, Mac, and Linux.
Atom is widely used by developers and popularly because it's easy to write, edit, style, highlight, and collaborate on the code in the smoothest way possible.
If you want to increase your productivity while working on a project, you can make use of all these Atom keyboard shortcuts for Windows, Mac, and Linux. You can use these shortcuts to manage files and folders, edit text, format code, and much more.
FREE DOWNLOAD: This cheat sheet is available as a downloadable PDF from our distribution partner, TradePub. You will have to complete a short form to access it for the first time only. Download the Atom Text Editor Keyboard Shortcuts Cheat Sheet.
Atom Text Editor Keyboard Shortcuts for Windows, Mac, and Linux
SHORTCUT (WINDOWS) |
SHORTCUT (MAC) |
SHORTCUT (LINUX) |
ACTION |
---|---|---|---|
COMMON SHORTCUTS |
|||
Ctrl + N |
⌘ + N |
Ctrl + N |
New file |
Ctrl + Shift + N |
⌘ + Shift + N |
Ctrl + Shift + N |
New window |
Ctrl + P |
⌘ + P |
Ctrl + P |
Open file (type the name to perform a search) |
Ctrl + O |
⌘ + O |
Ctrl + O |
Open new file |
Ctrl + Shift + O |
⌘ + Shift + O |
Ctrl + Shift + O |
Open folder |
Ctrl + S |
⌘ + S |
Ctrl + S |
Save |
Ctrl + Shift + S |
⌘ + Shift + S |
Ctrl + Shift + S |
Save as |
Ctrl + W |
⌘ + W |
Ctrl + W |
Close tab |
Ctrl + Shift + W |
⌘ + Shift + W |
Ctrl + Shift + W |
Close window |
Ctrl + Alt + R |
⌘ + Option + R |
Ctrl + Alt + R |
Reload Atom |
Ctrl + B |
⌘ + B |
Ctrl + B |
Browse list of open files |
Ctrl + Shift + P |
⌘ + Shift + P |
Ctrl + Shift + P |
Opens and closes the command palette |
Ctrl + Page Up |
⌘ + Alt + Arrow Left |
Ctrl + Page Up |
Cycles left through open tabs |
Ctrl + Page Down |
⌘ + Alt + Arrow Right |
Ctrl + Page Down |
Cycles right through open tabs |
Ctrl + , |
⌘ + , |
Ctrl + , |
Opens Preferences/Settings |
Ctrl + Shift + L |
⌘ + Shift + L |
Ctrl + Shift + L |
Selects the language the file is in |
Ctrl + Shift + I |
⌘ + Shift + I |
Ctrl + Shift + I |
Opens the Chrome Developer Tools |
Alt + Shift + S |
Option + Shift + S |
Alt + Shift + S |
Show available code snippets |
Ctrl + Shift + M |
⌘ + Shift + M |
Ctrl + Shift + M |
Markdown preview |
Ctrl + Alt + I |
⌘ + Option + I |
Ctrl + Alt + I |
Toggle Developer Tools |
Ctrl + Shift + = |
⌘ + Shift + = |
Ctrl + Shift + = |
Increase text size |
Ctrl + Shift + - |
⌘ + Shift + - |
Ctrl + Shift + - |
Decrease text size |
Ctrl + 0 (zero) |
⌘ + 0 (zero) |
Ctrl + 0 (zero) |
Reset text size |
F11 |
F11 |
F11 |
Toggle full screen |
MANAGE LINES |
|||
Ctrl + G |
⌘ + G |
Ctrl + G |
Go to line |
Ctrl + L |
⌘ + L |
Ctrl + L |
Select line |
Ctrl + Shift + D |
⌘ + Shift + D |
Ctrl + Shift + D |
Duplicate line |
Ctrl + Shift + K |
⌘ + Shift + K |
Ctrl + Shift + K |
Delete line |
Ctrl + Arrow Up |
⌘ + Arrow Up |
Ctrl + Arrow Up |
Move line up |
Ctrl + Arrow Down |
⌘ + Arrow Down |
Ctrl + Arrow Down |
Move line down |
Ctrl + / |
⌘ + / |
Ctrl + / |
Toggle comment line |
Ctrl + Enter |
⌘ + Return |
Ctrl + Enter |
New line below |
Ctrl + [ |
⌘ + [ |
Ctrl + [ |
Indent selected lines |
Ctrl + ] |
⌘ + ] |
Ctrl + ] |
Outdent selected lines |
Ctrl + J |
⌘ + J |
Ctrl + J |
Join lines |
MANAGE WORDS AND BRACKETS |
|||
Ctrl + Backspace |
Option + H |
Ctrl + Backspace |
Delete until beginning of the current word |
Ctrl + Delete |
Option + D |
Ctrl + Delete |
Delete until end of the current word |
Ctrl + Alt + . |
⌘ + Option + . |
Ctrl + Alt + . |
Complete bracket |
Ctrl + M |
⌘ + M |
Ctrl + M |
Go to the matching bracket |
Ctrl + Alt + M |
⌘ + Option + M |
Ctrl + Alt + M |
Select code inside matching brackets |
FIND AND REPLACE |
|||
Ctrl + F |
⌘ + F |
Ctrl + F |
Find in current file |
Ctrl + Shift + F |
⌘ + Shift + F |
Ctrl + Shift + F |
Find in project |
F3 |
F3 |
F3 |
Find next |
Shift + F3 |
Shift + F3 |
Shift + F3 |
Find previous |
Ctrl + Enter |
⌘ + Enter |
Ctrl + Enter |
Replace all |
Ctrl + Alt + / |
⌘ + Option + / |
Ctrl + Alt + / |
Use Regex in search |
Ctrl + Alt + C |
⌘ + Option + C |
Ctrl + Alt + C |
Match case in search |
Ctrl + Alt + S |
⌘ + Option + S |
Ctrl + Alt + S |
Search only in selection |
Ctrl + Alt + W |
⌘ + Option + W |
Ctrl + Alt + W |
Match whole word |
TREE VIEW |
|||
Alt + \ |
Option + \ |
Ctrl + 0 (zero) |
Toggle focus tree view |
Ctrl + \ |
⌘ + \ |
Ctrl + K, then B |
Toggle tree view |
J |
J |
J |
Select next item |
K |
K |
K |
Select previous item |
Arrow Right |
Arrow Right |
Arrow Right |
Expand selected directory |
Arrow Left |
Arrow Left |
Arrow Left |
Collapse selected directory |
Alt + Arrow Left |
Option + Arrow Left |
Alt + Arrow Left |
Recursively expand directories |
Alt + Arrow Right |
Option + Arrow Right |
Alt + Arrow Right |
Recursively collapse directories |
Enter |
Return |
Enter |
Open selected item |
F2 |
F2 |
F2 |
Move selected item |
Backspace |
Delete |
Backspace |
Delete current item |
D |
D |
D |
Duplicate selected item |
Ctrl + 1 ... 9 |
⌘ + 1 ... 9 |
Ctrl + 1 ... 9 |
Open selected item in pane 1 ... 9 |
A |
A |
A |
Add new file |
Shift + A |
Shift + A |
Shift + A |
Add new folder |
I |
I |
I |
Toggle display of VCS ignored files |
MANAGE DIFFS AND CODE FOLDING |
|||
Alt + G, then D |
Option + G, then D |
Alt + G, then D |
Toggle list of diffs in the file |
Alt + G, then Arrow Down |
Option + G, then Arrow Down |
Alt + G, then Arrow Down |
Move to next diff in the file |
Alt + G, then Arrow Up |
Option + G, then Arrow Up |
Alt + G, then Arrow Up |
Move to previous diff in the file |
Ctrl + K, then Ctrl + 1 ... 9 |
⌘ + K then ⌘ + 1 ... 9 |
Ctrl + K, then Ctrl + 1 ... 9 |
Fold all code at indent level 1 ... 9 |
Ctrl + Alt + / |
⌘ + Option + / |
Ctrl + Alt + / |
Fold / unfold code |
Ctrl + Alt + F |
⌘ + Option + F |
Ctrl + Alt + F |
Fold selected code |
Ctrl + Alt + [ |
⌘ + Option + [ |
Ctrl + Alt + [ |
Fold all code |
Ctrl + Alt + ] |
⌘ + Option + ] |
Ctrl + Alt + ] |
Unfold all code |
Speed Up Your Project Development Using Atom
With these keyboard shortcuts, you can take your project development speed to the next level. You can also manage and keep track of source code using the embedded Git Control in Atom.
Atom is one of the best text editors available in the market. That said, it's still behind Visual Studio Code in terms of performance and speed, although there is a trade-off and tough competition between the two.