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 |
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 |
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 |