Keyboard Shortcuts

These tables list the default keyboard shortcuts, by area. A command with no shortcut here has none by default. The Cheat Sheet puts every key on one page; the topics after it explain them.

Cheat Sheet

Every default key in Aember, on one page.

Files and windows

KeysCommand
⌘NNew text document
⇧⌘NFile > New Window
⌘OFile > Open…
⇧⌘OFile > Open Folder…
⌘SFile > Save
⇧⌘SFile > Save As…
⌥⌘SFile > Save All
⌘WFile > Close
⌘,Settings…
⌘QQuit Aember

History

KeysCommand
⌘YHistory > History Timeline
⌥⌘YHistory > Show History
⌃⌘YHistory > Name This Moment…
EscReturn to now from a parked window
SpaceOpen the selected timeline row
← ↓ / → ↑Step a focused scrubber back or forward one moment
⌥ while dragging a split handleOpen a History pane

Editing

KeysCommand
⌘Z / ⇧⌘ZEdit > Undo / Edit > Redo
⌘X / ⌘C / ⌘VEdit > Cut / Edit > Copy / Edit > Paste
⌘AEdit > Select All
⌘/Edit > Toggle Line Comment
⌥⌘/Edit > Toggle Block Comment
⇧⌘E / ⌥⌘EEdit > Expand Selection / Edit > Contract Selection
Tab / ⇧TabIndent / remove an indent
⌥TabInsert a tab character
⌘FEdit > Find…
Return / ⇧ReturnNext / previous match in the find bar
⇧⌘FEdit > Find in Project…

Moving and deleting

KeysAction
⌥← ⌥→One word
⌘← ⌘→, ⌃A ⌃EStart or end of the line
⌘↑ ⌘↓, Home EndStart or end of the file
Page Up, Page DownOne page
⌃↑ ⌃↓Scroll one line
⌃P ⌃N, ⌃B ⌃FLine up or down, character back or forward
⇧ with any of theseExtend the selection
⌥⌫, ⌃W / ⌥⌦Delete the word before / after
⌘⌫, ⌃U / ⌃KDelete to the start / end of the line
⌃H / ⌃DDelete the character before / after

Code

KeysCommand
⌃SpaceShow code completion
⇧⌘SpaceEdit > Show Signature Help
⇧⌘IShow or hide inlay hints
⇧⌘↓ / ⇧⌘↑Edit > Go to Next Function / Edit > Go to Previous Function
⌘JEdit > Go to Definition
⇧⌘DEdit > Go to Declaration
⌘T, ⌥⌘REdit > Find Symbol…
⇧⌘HEdit > Show Quick Help
⇧⌘CEdit > Show Call Hierarchy
⇧⌘YEdit > Show Type Hierarchy
⌥⌘.Edit > Quick Fix…

AI

KeysCommand
⌥\Edit > Suggest Completion, or rewrite the selection
⌥⇧\Edit > Ask Cogitae
TabAccept a suggestion or rewrite
⌘→Accept a suggestion’s next word or line
EscDismiss a suggestion

View, Git and Build

KeysCommand
⇧⌘PView > Toggle Markdown Preview
⌥⌘BView > Show Blame
⇧⌘G / ⌥⌘GGit > Stage Current File / Git > Unstage Current File
⌃⌘GGit > Stage Hunks…
⌘KGit > Commit…
⌥⌘KGit > Commit from History…
⇧⌘BGit > Branch…
⇧⌘TGit > Tags…
⇧⌘MGit > Merge Branch…
⇧⌘RGit > Rebase onto Branch…
⌃⌘HGit > View History…
EscEnd a commit preview
⌘BBuild > Build
⌘UBuild > Test
⌘.Build > Stop Build

Keys that work in one list or window, such as Git History’s boundaries or the results of Edit > Find in Project…, are in Keys in Panes and Windows.

File and History Shortcuts

CommandShortcut
New text document⌘N
File > New Window⇧⌘N
File > Open…⌘O
File > Open Folder…⇧⌘O
File > Save⌘S
File > Save As…⇧⌘S
File > Save All⌥⌘S
History > Show History⌥⌘Y
History > History Timeline⌘Y
History > Name This Moment…⌃⌘Y
File > Close⌘W
Settings…⌘,
Quit Aember⌘Q

The new text document command is in the File > New submenu.

When the window is parked at a past moment, Esc returns it to now. See History.

Edit Shortcuts

CommandShortcut
Edit > Undo⌘Z
Edit > Redo⇧⌘Z
Edit > Cut⌘X
Edit > Copy⌘C
Edit > Paste⌘V
Edit > Select All⌘A
Edit > Toggle Line Comment⌘/
Edit > Toggle Block Comment⌥⌘/
Edit > Expand Selection⇧⌘E
Edit > Contract Selection⌥⌘E
Edit > Find…⌘F
Edit > Find in Project…⇧⌘F
Edit > Suggest Completion⌥\
Edit > Ask Cogitae⌥⇧\

Edit > Find… searches the active file. Edit > Find in Project… searches every file in the project.

Edit > Suggest Completion asks for an AI suggestion, or with code selected, asks to rewrite it. It works when AI completion is on in AI Completion Settings.

Edit > Ask Cogitae opens the project’s Cogitae conversation with where you are attached. See Ask Cogitae.

Code Navigation Shortcuts

These commands are in the Edit menu. Most need a language server. See Code Intelligence.

CommandShortcut
Edit > Go to Next Function⇧⌘↓
Edit > Go to Previous Function⇧⌘↑
Edit > Find Symbol…⌘T or ⌥⌘R
Edit > Quick Fix…⌥⌘.
Edit > Show Quick Help⇧⌘H
Edit > Show Signature Help⇧⌘Space
Edit > Go to Definition⌘J
Edit > Go to Declaration⇧⌘D
Edit > Show Call Hierarchy⇧⌘C
Edit > Show Type Hierarchy⇧⌘Y

Two more shortcuts work in the editor and have no menu item:

ActionShortcut
Show code completion⌃Space
Show or hide inlay hints⇧⌘I

View, Git and Build Shortcuts

View

CommandShortcut
View > Toggle Markdown Preview⇧⌘P
View > Show Blame⌥⌘B

Git

CommandShortcut
Git > Stage Current File⇧⌘G
Git > Unstage Current File⌥⌘G
Git > Stage Hunks…⌃⌘G
Git > Commit…⌘K
Git > Commit from History…⌥⌘K
Git > Branch…⇧⌘B
Git > Tags…⇧⌘T
Git > Merge Branch…⇧⌘M
Git > Rebase onto Branch…⇧⌘R
Git > View History…⌃⌘H

For these commands, see Git.

Build

CommandShortcut
Build > Build⌘B
Build > Test⌘U
Build > Stop Build⌘.

For builds and test runs, see Builds and Tests.

Editor Keys

These keys move the cursor and edit text in the code editor. Add Shift to a movement key to extend the selection.

ActionKeys
Move by character or line← → ↑ ↓
Move by word⌥← ⌥→
Start or end of line⌘← ⌘→, or ⌃A ⌃E
Start or end of file⌘↑ ⌘↓, or Home End
Page up or downPage Up, Page Down
Scroll one line, the cursor follows⌃↑ ⌃↓
Line up or down⌃P ⌃N
Character back or forward⌃B ⌃F
Delete the character before or afterDelete, Forward Delete, or ⌃H ⌃D
Delete the word before⌥Delete or ⌃W
Delete the word after⌥Forward Delete
Delete to the start of the line⌘Delete or ⌃U
Delete to the end of the line⌃K
Insert an indent (spaces or a tab, as set in Editor Settings)Tab
Remove an indent⇧Tab
Insert a tab character⌥Tab

AI suggestions

When an AI suggestion shows as faint text:

ActionKeys
Accept the whole suggestionTab
Accept its next word or line⌘→
Dismiss itEsc, or keep typing

See AI Completion.

Keys in Panes and Windows

These keys work while a list, field or window has the focus.

Completion list and placeholders

KeysAction
↑ ↓Choose an item
ReturnInsert the chosen item
TabClose the list without inserting anything
EscClose the list
Tab / ⇧TabNext / previous placeholder of an inserted template
EscStop moving between placeholders

See Complete Code.

Find

KeysWhereAction
ReturnFind barNext match
⇧ReturnFind barPrevious match
EscFind barClose it
ReturnEdit > Find in Project… resultsOpen the file at the result
SpaceEdit > Find in Project… resultsCheck or clear the result
⌘A / ⇧⌘AEdit > Find in Project… resultsCheck / clear every result
↑ ↓, ReturnEdit > Find Symbol… listChoose a symbol, then open it

See Find in a File and Find and Replace in the Project.

History

KeysWhereAction
SpaceTimelineOpen the selected moment, or park at the selected marker
← ↓Focused scrubberOne moment back
→ ↑Focused scrubberOne moment forward
EscParked windowReturn to now

See Browse the History Timeline and Park the Window at a Moment.

Git

KeysWhereAction
Space, Return, → ←Git History’s moment rowsExpand or collapse
ReturnGit History, a moment selectedPlace a boundary below it, or edit the one there
DeleteGit History, a moment selectedRemove the boundary below it
⌥↑ ⌥↓Git History, a moment selectedMove the boundary below it
ReturnBoundary messageKeep the message
⌘ReturnBoundary messageKeep the message and make the commits
EscBoundary messageRestore the message
ReturnBranch windowSwitch to the branch, or create the one being named
EscBranch windowCancel a new name
EscCommit previewEnd the preview

See Browse Git History, Commit from History and Switch and Manage Branches.

Other windows and fields

KeysWhereAction
Return / EscRewrite field (⌥\ with code selected)Send the instruction / cancel
Return / EscA tab’s name, while renamingRename / cancel
EscCall or Type Hierarchy window, a documentation popoverClose it
0–9, A–FHex editor’s hex columnType over the digit under the cursor
Tab / ⇧Tab, ReturnSettingsNext / previous control

Last updated November 23, 2026