Skip to main content

Atom

Atom text editor

My Packages​

https://github.com/windhamdavid/atom-sunburst https://atom.io/themes/atom-sunburst

Packages I use​

Atom Keyboard Shortcuts​

Source

Complete listing of all available shortcuts, consult the Settings > Keybindings page in Atom.

General​

Some general keyboard shortcuts that I use frequently.

CommandmacOSWindowsLinuxDescription
Preferences/Settingscmd-,ctrl-,ctrl-,Opens the Preferences/Settings view
Command Paletteshift-cmd-pshift-ctrl-pctrl-shift-pOpens & closes the command palette
Open File (Fuzzy)cmd-pctrl-p
or
ctrl-t
ctrl-pOpens the Fuzzy Finder palette in which you can search and open files
Browse Open Filescmd-bctrl-bctrl-bBrowse tabs within the window
Grammar Selectorctrl-shift-lctrl-shift-lctrl-shift-lSelects the language the file is in
Markdown Previewctrl-shift-mctrl-shift-mctrl-shift-mPreviews the file in the Markdown format
Key Binding Resolvercmd-.ctrl-.ctrl-.Shows what keybindings the pressed key combination resolves to
Toggle Tree Viewcmd-k cmd-b
or
cmd-\
ctrl-k ctrl-b
or
ctrl-\
ctrl-k ctrl-b
or
ctrl-\
Toggles Atom's file Tree View
Reload Atomctrl-alt-cmd-lalt-ctrl-ralt-ctrl-rReloads the Editor
Open Linkctrl-shift-oOpens up a HTTP or HTTPS link
Toggle Developer Toolsalt-cmd-ictrl-alt-ictrl-shift-iOpens up the Chrome Developer Tools/Console
Show Available Snippetsalt-shift-salt-shift-salt-shift-sShows the snippets available to Atom

Window Management​

CommandmacOSWindowsLinuxDescription
New Filecmd-nctrl-nctrl-nOpens an empty file in a new tab
New Windowshift-cmd-nctrl-shift-nctrl-shift-nOpens a new editor window
Opencmd-octrl-octrl-oShows the Open File dialog, which lets you select a file to open in the editor
Open Foldercmd-shift-octrl-shift-octrl-shift-oShows the Open Folder dialog, which lets you select a folder to add to the editor's Tree View
Savecmd-sctrl-sctrl-sSaves the currently active file
Save Asshift-cmd-sctrl-shift-sctrl-shift-sSaves the currently active file under a different name
Save Allalt-cmd-sSaves all changed files
Close Tabcmd-wctrl-wctrl-wCloses the currently active tab
Close Windowshift-cmd-wctrl-shift-wctrl-shift-wCloses the currently active editor window

Editing​

CommandmacOSWindowsLinuxDescription
Duplicate Linesshift-cmd-dctrl-shift-dctrl-shift-dDuplicates the line of the current cursor position and creates a new line under it with the same contents
Delete Linectrl-shift-kctrl-shift-kctrl-shift-kDeletes the current line
Move Line Upctrl-cmd-upctrl-upctrl-upMoves 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 Downctrl-cmd-downctrl-downctrl-downMoves 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/Replacecmd-fctrl-fctrl-fOpens up the Find/Replace panel
Find Nextcmd-gF3F3Toggles forward through the results of the current buffer in the file while the Find/Replace panel is active
Find Previousshift-cmd-gshift-F3shift-F3Toggles backward through the results of the current buffer in the file while the Find/Replace panel is active
Find in Projectshift-cmd-fctrl-shift-fctrl-shift-fOpens the Find in Project Panel
Go To Linectrl-gctrl-gctrl-gOpens the Go To Line panel
Go To Matching Bracketctrl-mctrl-mctrl-mThe cursor goes to the matching top bracket that the cursor is ecapsulated in
Select Linecmd-lctrl-lctrl-lSelects the entire line the cursor's current position is in
Toggle Commentcmd-/ctrl-/ctrl-/Toggles the selected text into a comment of the current grammar
Column Selectionctrl-shift-up/downshift-alt-up/downAllows to select multiple rows, where the same edit will be applied
Select Same Wordscmd-dctrl-dctrl-dIf 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.

Various Packages​

These are some packages I find useful, and their most useful key bindings. A list of my favorite packages can be found here.

CommandmacOSWindowsLinuxPackage
Block Travel up/downalt-up, alt-downBlock Travel
Beautifyctrl-alt-bBeautify
Expand Abbreviationshift-cmd-ectrl-ectrl-eEmmet
Incremental Searchcmd-iIncremental Search
Git Plus Menushift-cmd-hctrl-shift-hctrl-shift-hGit Plus
Jumpyshift-enterJumpy
Minimap Togglectrl-k ctrl-mMinimap
Open File in Browserctrl-alt-mOpen in Browser
Run Scriptctrl-cmd-iScript - Keybinding remapped from original cmd-i to avoid conflict with Incremental Search
Open Terminalctrl-alt-tTerm2
Open Projectctrl-cmd-palt-shift-pctrl-alt-shift-pProject Manager
Open Inctrl-alt-oOpen In
Sublime Style Column Selectionalt-mouseSublime Style Column Selection

apm​

apm is Atom's package manager, based on Node's npm tool.

CommandDescription
apm upgradeUpdates all locally installed packages
apm upgrade --no-confirmUpdates all locally installed packages without asking any questions
apm stars --installInstalls/updates all packages that you have marked as a favorite (starred) in your Atom.io profile
apm publish minorIf you're developing your own package, run this in the package's directory to publish a new version of the package, increasing the minor version number by one.