Atom Docs

Keybindings

Atom uses Vim-inspired modal editing. This page lists the default keybindings for each mode.

Normal Mode

Normal mode is the default mode for navigation and editing.

Navigation

KeyAction
hMove Left
jMove Down
kMove Up
lMove Right
wMove Word Forward
bMove Word Backward
eMove Word End
gg, [[Jump to First Line
G, ]]Jump to Last Line
[num]j/kJump N lines down/up

Editing

KeyAction
iEnter Insert Mode
IEnter Insert Mode at Line Start
vEnter Visual Mode
Ctrl+vEnter Visual Block Mode
sSubstitute (delete char, enter insert)
uUndo
Ctrl+rRedo
xDelete Character
ddDelete Line
yyYank (Copy) Line
pPaste After
PPaste Before
Ctrl+cCopy selection to clipboard
oOpen Line Below
OOpen Line Above
ZZSave and Quit
ZQQuit Without Saving

Global & Plugin Shortcuts

KeyAction
:Enter Command Mode
/Enter Search Mode
\Toggle File Explorer
TabNext Buffer
Shift+TabPrevious Buffer
?Open Keymaps Help
gdGo to Definition (LSP)
<Space>ffTelescope: Find Files
<Space>fgTelescope: Live Grep
<Space>fbTelescope: Buffers
<Space>thTelescope: Theme Picker
<Space>ttToggle Trouble View
<Space>/Toggle Comment
<Space>nToggle Relative Line Numbers
<Space>bbToggle Autoformat
<Space>blGit Blame (popup)
<Space>xClose Current Buffer
zc / zaFold / Unfold
]g / [gNext / Previous Git Hunk

Insert Mode

Insert mode is used for typing text.

KeyAction
EscReturn to Normal Mode
BackspaceDelete Character Before
Tab2 Spaces / Completion Next
Shift+TabCompletion Prev
Up / DownCompletion Navigate
Ctrl+SpaceTrigger Completion
Ctrl+sSave File
Ctrl+vPaste from Clipboard

Visual Mode

Visual mode is used for selecting text.

KeyAction
EscReturn to Normal Mode
h / j / k / lExtend Selection
w / bExtend by Word
yYank Selection
d / xDelete Selection
sSubstitute Selection
pPaste After Selection
Ctrl+cCopy Selection to Clipboard
Ctrl+sSave File