You are on page 1of 8

10/28/2020 GitHub - nwinkler/atom-keyboard-shortcuts: A list of keyboard shortcuts for the Atom text editor

nwinkler / atom-keyboard-shortcuts

A list of keyboard shortcuts for the Atom text editor

MIT License

1.8k stars 434 forks

Star Watch

Code Issues 5 Pull requests 1 Actions Projects Security Insights

Dismiss
Join GitHub today
GitHub is home to over 50 million developers
working together to host and review code, manage
projects, and build software together.

Sign up

master Go to file

nwinkler … on Aug 7

View code

README.md

Atom Keyboard Shortcuts


This page lists keyboard shortcuts for the Atom text editor that I find valuable and use a lot.
Feel free to fork the page and add your own favorites. Pull Requests welcome!

This list is by no means meant to be a complete listing of every available shortcut. It simply
lists the shortcuts that I use on a regular basis. For a complete listing of all available
shortcuts, consult the Settings > Keybindings page in Atom.

Since I'm using a Mac, I have mainly listed the keyboard shortcuts macOS. Please feel free to
add the Windows or Linux shortcuts.

Where the shortcut is provided by a package, I have added a link to the package.

https://github.com/nwinkler/atom-keyboard-shortcuts 1/8
10/28/2020 GitHub - nwinkler/atom-keyboard-shortcuts: A list of keyboard shortcuts for the Atom text editor

General
Some general keyboard shortcuts that I use frequently.

Command macOS Windows Linux Description

Opens the
Preferences/Settings cmd , ctrl , ctrl ,
Preferences/Settings view

shift shift ctrl Opens & closes the


Command Palette
cmd p ctrl p shift p command palette

cmd p ctrl p ctrl p Opens the Fuzzy Finder


Open File (Fuzzy) or or or palette in which you can
cmd t ctrl t ctrl t search and open files

Browse tabs within the


Browse Open Files cmd b ctrl b ctrl b
window

alt
ctrl ctrl Cycles left through open
Previous Tab cmd
pageup pageup tabs (in the active pane)
left

alt
ctrl ctrl Cycles right through open
Next Tab cmd
pagedown pagedown tabs (in the active page)
right

ctrl
ctrl ctrl Selects the language the
Grammar Selector shift
shift l shift l file is in
l

ctrl
ctrl ctrl Previews the file in the
Markdown Preview shift
shift m shift m Markdown format
m

Shows what keybindings


Key Binding
cmd . ctrl . ctrl . the pressed key
Resolver
combination resolves to

cmd k ctrl k ctrl k

cmd b ctrl b ctrl b Toggles Atom's file Tree


Toggle Tree View
or or or View
cmd \ ctrl \ ctrl \

ctrl
alt ctrl alt
Reload Atom alt Reloads the Editor
r ctrl r
cmd l

https://github.com/nwinkler/atom-keyboard-shortcuts 2/8
10/28/2020 GitHub - nwinkler/atom-keyboard-shortcuts: A list of keyboard shortcuts for the Atom text editor

Command macOS Windows Linux Description

ctrl
Opens up a HTTP or
Open Link shift
HTTPS link
o

Toggle Developer alt ctrl alt ctrl Opens up the Chrome


Tools cmd i i shift i Developer Tools/Console

alt
Show Available alt alt Shows the snippets
shift
Snippets shift s shift s available to Atom
s

Window Management

Command macOS Windows Linux Description

New File cmd n ctrl n ctrl n Opens an empty file in a new tab

ctrl
New shift ctrl
shift Opens a new editor window
Window cmd n shift n
n

Shows the Open File dialog, which


Open cmd o ctrl o ctrl o lets you select a file to open in the
editor

cmd ctrl Shows the Open Folder dialog,


Open ctrl
shift shift which lets you select a folder to add
Folder shift o
o o to the editor's Tree View

Save cmd s ctrl s ctrl s Saves the currently active file

ctrl
shift ctrl Saves the currently active file under
Save As shift
cmd s shift s a different name
s

alt
Save All Saves all changed files
cmd s

Close Tab cmd w ctrl w ctrl w Closes the currently active tab

ctrl
Close shift ctrl Closes the currently active editor
shift
Window cmd w shift w window
w

https://github.com/nwinkler/atom-keyboard-shortcuts 3/8
10/28/2020 GitHub - nwinkler/atom-keyboard-shortcuts: A list of keyboard shortcuts for the Atom text editor

Command macOS Windows Linux Description

cmd k ctrl k ctrl k


Split Split the currently active tab in one
↑ / ↓ / ↑ / ↓ / ← ↑ / ↓ /
Window of the four directions
← / → / → ← / →

cmd k ctrl k
ctrl k
Focus cmd ↑ / ctrl ↑ Move the focus to the pane in one
ctrl ↑ /
Pane ↓ / ← / / ↓ / ← / of the four directions
↓ / ← / →
→ →

Toggle full ctrl


F11 F11 Toggle full screen window
screen cmd f

Editing

Command macOS Windows Linux Description

ctrl Duplicates the line of the current


Duplicate shift ctrl
shift cursor position and creates a new
Lines cmd d shift d
d line under it with the same contents

ctrl ctrl
ctrl
Delete Line shift shift Deletes the current line
shift k
k k

Moves the contents of the current


ctrl cursor position up one line. If there
Move Line ctrl
cmd ctrl up is a line above with content, the
Up up
up current lines content will swap with
the one above it.

Moves the contents of the current


ctrl cursor position down one line. If
Move Line ctrl ctrl
cmd there is a line below with content,
Down down down
down the line's content will swap with the
one below it.

ctrl
Find/Replace cmd f ctrl f Opens up the Find/Replace panel
f

Toggles forward through the results


Find Next cmd g F3 F3 of the current buffer in the file while
the Find/Replace panel is active

https://github.com/nwinkler/atom-keyboard-shortcuts 4/8
10/28/2020 GitHub - nwinkler/atom-keyboard-shortcuts: A list of keyboard shortcuts for the Atom text editor

Command macOS Windows Linux Description

Toggles backward through the


Find shift shift results of the current buffer in the
shift F3
Previous cmd g F3 file while the Find/Replace panel is
active

ctrl
Find in shift ctrl
shift Opens the Find in Project Panel
Project cmd f shift f
f

ctrl ctrl
Go To Line ctrl g Opens the Go To Line panel
g g

Go To The cursor goes to the matching top


ctrl ctrl
Matching ctrl m bracket that the cursor is
m m
Bracket ecapsulated in

ctrl Selects the entire line the cursor's


Select Line cmd l ctrl l
l current position is in

Toggle ctrl Toggles the selected text into a


cmd / ctrl /
Comment / comment of the current grammar

ctrl shift
Column ctrl alt Allows to select multiple rows, where
shift alt
Selection ↑ / ↓ the same edit will be applied
↑ / ↓ ↑ / ↓

If you select a word, and then hit the


key combo for this command, Atom
will select the next same word for
Select Same ctrl
cmd d ctrl d you. Then you can either type
Words d
directly (which will replace the old
words) or use left or right arrow to
append things.

Undo ctrl This undoes the previous selection,


cmd u ctrl u
Selection u like from Select Same Words.

Select All
cmd This shortcut is similar to cmd d /
The Same alt
ctrl alt f3 ctrl d but it selects all the
Words At f3
g matching words at once.
Once

This shortcuts opens a palette that


Show
ctrl lists all the symbols (or functions) in
Symbols cmd r ctrl r
r your current file allowing you to
Palette
fuzzy search and jump lines.
https://github.com/nwinkler/atom-keyboard-shortcuts 5/8
10/28/2020 GitHub - nwinkler/atom-keyboard-shortcuts: A list of keyboard shortcuts for the Atom text editor

Command macOS Windows Linux Description

Show auto- ctrl ctrl ctrl


Show available auto-completions
completions space space space

ctrl

option alt
ctrl alt
Fold/Unfold cmd [ [
[ and
sections of and and Fold and Unfold sections of code
ctrl alt
code option ctrl
]
cmd ] alt

ctrl

Fold/Unfold cmd k ctrl k k


Fold/Unfold at a specific indentation
at a specific then then then
level where the number is the
indentation cmd ( ctrl ( 0 - ctrl (
indentation depth
level 0 - 9 ) 9 ) 0 - 9

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.

Command macOS Windows Linux Package

Block Travel alt ↑ ,


Block Travel
up/down alt ↓

ctrl alt
Beautify Beautify
b

cmd alt ctrl alt ctrl alt


Build Project Build
b b b

shift
Expand Abbreviation ctrl e ctrl e Emmet
cmd e

shift ctrl ctrl shift


Git Plus Menu Git Plus
cmd h shift h h

shift
Jumpy Jumpy
enter

ctrl k
Minimap Toggle Minimap
ctrl m

https://github.com/nwinkler/atom-keyboard-shortcuts 6/8
10/28/2020 GitHub - nwinkler/atom-keyboard-shortcuts: A list of keyboard shortcuts for the Atom text editor

Command macOS Windows Linux Package

ctrl alt
Open File in Browser Open in Browser
m

ctrl cmd alt ctrl alt


Open Project Project Manager
p shift p shift p

Sublime Style alt Sublime Style


Column Selection mouse Column Selection

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

Command Description

apm
Updates all locally installed packages
upgrade

apm
upgrade --
Updates all locally installed packages without asking any questions
no-
confirm

apm stars  Installs/updates all packages that you have marked as a favorite (starred)
--install in your Atom.io profile

apm If you're developing your own package, run this in the package's
publish directory to publish a new version of the package, increasing the minor
minor version number by one.

Releases

No releases published

Packages

No packages published

Contributors 24

https://github.com/nwinkler/atom-keyboard-shortcuts 7/8
10/28/2020 GitHub - nwinkler/atom-keyboard-shortcuts: A list of keyboard shortcuts for the Atom text editor

+ 13 contributors

https://github.com/nwinkler/atom-keyboard-shortcuts 8/8

You might also like