Atom Keyboard Shortcuts
https://github.com/nwinkler/atom-keyboard-shortcuts
Editing
Command | macOS | Windows | Linux | Description |
---|---|---|---|---|
Duplicate Lines | shift-cmd-d |
ctrl-shift-d |
ctrl-shift-d |
Duplicates the line of the current cursor position and creates a new line under it with the same contents |
Delete Line | ctrl-shift-k |
ctrl-shift-k |
ctrl-shift-k |
Deletes the current line |
Move Line Up | ctrl-cmd-up |
ctrl-up |
ctrl-up |
Moves the contents of the current cursor position up one line. If there is a line above with content, the current lines content will swap with the one above it. |
Move Line Down | ctrl-cmd-down |
ctrl-down |
ctrl-down |
Moves the contents of the current cursor position down one line. If there is a line below with content, the line's content will swap with the one below it. |
Find/Replace | cmd-f |
ctrl-f |
ctrl-f |
Opens up the Find/Replace panel |
Find Next | cmd-g |
F3 |
F3 |
Toggles forward through the results of the current buffer in the file while the Find/Replace panel is active |
Find Previous | shift-cmd-g |
shift-F3 |
shift-F3 |
Toggles backward through the results of the current buffer in the file while the Find/Replace panel is active |
Find in Project | shift-cmd-f |
ctrl-shift-f |
ctrl-shift-f |
Opens the Find in Project Panel |
Go To Line | ctrl-g |
ctrl-g |
ctrl-g |
Opens the Go To Line panel |
Go To Matching Bracket | ctrl-m |
ctrl-m |
ctrl-m |
The cursor goes to the matching top bracket that the cursor is ecapsulated in |
Select Line | cmd-l |
ctrl-l |
ctrl-l |
Selects the entire line the cursor's current position is in |
Toggle Comment | cmd-/ |
ctrl-/ |
ctrl-/ |
Toggles the selected text into a comment of the current grammar |
Column Selection | ctrl-shift-up/down |
ctrl-alt-up/down |
shift-alt-up/down |
Allows to select multiple rows, where the same edit will be applied |
Select Same Words | cmd-d |
ctrl-d |
ctrl-d |
If you select a word, and then hit the key combo for this command, Atom will select the next same word for you. Then you can either type directly (which will replace the old words) or use left or right arrow to append things. |
Undo Selection | cmd-u |
ctrl-u |
ctrl-u |
This undoes the previous selection, like from Select Same Words. |
Select All The Same Words At Once | cmd-ctrl-g |
alt-f3 |
alt-f3 |
This shortcut is similar tocmd-d/ctrl-d but it selects all the matching words at once. |
Show Symbols Palette | cmd-r |
ctrl-r |
ctrl-r |
This shortcuts opens a palette that lists all the symbols (or functions) in your current file allowing you to fuzzy search and jump lines. |
Show auto-completions | ctrl-space |
ctrl-space |
ctrl-space |
Show available auto-completions |
Fold/Unfold sections of code | option-cmd-[ andoption-cmd-] |
ctrl-shift-[ andctrl-shift-] |
ctrl-shift-[ andctrl-shift-] |
Fold and Unfold sections of code |
Fold/Unfold at a specific indentation level | cmd-k thencmd-(0-9) |
ctrl-k thenctrl-(0-9) |
ctrl-k thenctrl-(0-9) |
Fold/Unfold at a specific indentation level where the number is the indentation depth |
Various Packages
These are some packages I find useful, and their most useful key bindings. A list of my favorite packages can be foundhere.
Command | macOS | Windows | Linux | Package |
---|---|---|---|---|
Block Travel up/down | alt-up ,alt-down |
Block Travel | ||
Beautify | ctrl-alt-b |
Beautify | ||
Build Project | cmd-alt-b |
ctrl-alt-b |
ctrl-alt-b |
Build |
Expand Abbreviation | shift-cmd-e |
ctrl-e |
ctrl-e |
Emmet |
Git Plus Menu | shift-cmd-h |
ctrl-shift-h |
ctrl-shift-h |
Git Plus |
Jumpy | shift-enter |
Jumpy | ||
Minimap Toggle | ctrl-k ctrl-m |
Minimap | ||
Open File in Browser | ctrl-alt-m |
Open in Browser | ||
Open Project | ctrl-cmd-p |
alt-shift-p |
ctrl-alt-shift-p |
Project Manager |
Sublime Style Column Selection | alt-mouse |
Sublime Style Column Selection |