71 Shortcuts for Atom (text editor) 1.0 (Linux)  [edit]

minimize Hide all  maximize Show all

minusplus1. General
Ctrl+, Preferences
Ctrl+Shift+p Toggle command palette
Ctrl+b Browse list of open files
Ctrl+Alt+r Reload Atom
Ctrl+Shift+l Change synatx highlighting
Alt+Shift+s Show available code snippets
Ctrl+Shift+m Markdown preview
Ctrl+Alt+i Toggle Developer Tools

▲ up

minusplus2. File Management
Ctrl+n New file
Ctrl+Shift+n New Window
Ctrl+p Open file (type the name to perform a search)
Ctrl+o Open file
Ctrl+Shift+o Open folder
Ctrl+s Save
Ctrl+Shift+s Save as
Ctrl+w Close tab
Ctrl+Shift+w Close window

▲ up

minusplus3. Editing Lines
Ctrl+g Go to line
Ctrl+l Select line
Ctrl+Shift+d Duplicate line
Ctrl+Shift+k Delete line
Ctrl+Arrow Up/Arrow Down Move line up/down
Ctrl+/ Toggle comment line
Ctrl+Enter New line below
Ctrl+[/] Indent / outdent selected lines
Ctrl+j Join lines

▲ up

minusplus4. Editing Words and Brackets
Alt+b / f Move to beginning / end of current word
Alt+Shift+b / f Select to beginning / end of current word
Ctrl+Backspace OR Alt+h Delete to beginning of current word
Ctrl+Delete OR Alt+d Delete to end of current word
Ctrl+Alt+. Complete bracket
Ctrl+m Go to matching bracket
Ctrl+Alt+m Select code inside matching brackets

▲ up

minusplus5. Code Folding
Ctrl+k, then Ctrl+1 ... 9 Fold all code at indent level 1 ... 9
Ctrl+Alt+/ Fold / unfold code
Ctrl+Alt+f Fold selected code
Ctrl+Alt+[/] Fold / unfold all code

▲ up

minusplus6. Find and Replace
Ctrl+f Find in current file
Ctrl+Shift+f Find in project
F3 Find next
Shift+F3 Find previous
Ctrl+Enter Replace all
Ctrl+Alt+/ Use Regex in search
Ctrl+Alt+c Match case in search
Ctrl+Alt+s Search only in selection
Ctrl+Alt+w Match whole word

▲ up

minusplus7. View
Ctrl+Shift+=/- Increase / decrease text size
Ctrl+0 (zero) Reset text size
F11 Toggle fullscreen

▲ up

minusplus8. Tree View
Ctrl+0 (zero) Toggle focus Tree View
Ctrl+k, then b Toggle tree view
j/k Select next/previous item
h/l OR Arrow Right/Arrow Left Expand / collapse selected directory
Alt+ Arrow Left/Arrow Right OR Ctrl+Alt+[/] Recursively expand / collapse directories
Enter Open selected item
m OR F2 Move selected item
Backspace OR Delete Delete current item
d Duplicate selected item
Ctrl+1 ... 9 Open selected item in pane 1 ... 9
a Add new file
Shift+a Add new folder
i Toggle display of VCS ignored files

▲ up

minusplus9. Github Integration
Alt+g, then b Open on Github: blame
Alt+g, then c Open on Github: copy-url
Alt+g, then g Open on Github: repository
Alt+g, then h Open on Github: history
Alt+g, then i Open on Github: issues
Alt+g, then o Open on Github: file
Alt+g, then r Open on Github: branch-compare

▲ up

minusplus10. Manage Diffs
Alt+g, then d Toggle list of diffs in file
Alt+g, then Arrow Down/Arrow Up Move to next/previous diff in file

▲ up

 

Sources: nwinkler's list on GitHub Atom settings page


Uploaded by rsking84, updated on 7/14/2015