Atom plugins and shortcuts (macOS) you cannot live without

Do you ❤️ Atom? What's not to love!? It treats a folder like a project, shows project files in the sidebar, has great plugin support and looks just great. It also has great shortcut key support. Here you will find a list of shortcut keys I use often in Atom and some of its packages

Atom Shortcuts

Action Shortcut keys
Move line up/down ⌃ + ⌘ + ↑/↓
Indent line (⇢) ⌘ + ]
Outdent line (⇠) ⌘ + [
Delete line ⌃ + ⇧ + k
Duplicate line ⌘ + ⇧ + d
Toggle comment line(s) ⌘ + /
Select line ⌘ + l
Move cursor between open and closing bracket ⌃ + m
New line below ⌘ + ↵
New line above ⌘ + ⇧ + ↵
Goto next search occurrence ⌘ + g
Move to previous/next word ⌥ + ←/→
Select word under cursor.
If word is selected, add next occurrence to selection
⌘ + d
Toggle Markdown preview ⌃ + ⇧ + m

In the sidebar

Select an item in the sidebar to use these shortcut keys.

Action Shortcut keys
Create new file (also creates subdirectories if needed: a/b/c.txt) a
Create new folder (also creates subdirectories if needed: a/b/c) ⇧ + a
Duplicate d

Atom Shortcuts for plugins

Action Shortcut keys Plugin
Format code ⌃ + ⌥ + b atom-beautify
Host project in a webserver on port 3000.
Open browser at 127.0.0.1:3000
⌃ + ⌥ + l atom-live-server
Copy selected selected text as RFT.
(to paste in keynote or powerpoint)
⌥ + r copy-as-rtf
Execute code ⌘ + i atom-script
Written by Loek van den Ouweland on March 28, 2019. Questions regarding this artice? You can send them to the address below.
By using this site, you acknowledge that you have read and understand our Cookie and Privacy Policy.