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
| Keys | Command |
|---|
| ⌘N | New text document |
| ⇧⌘N | File > New Window |
| ⌘O | File > Open… |
| ⇧⌘O | File > Open Folder… |
| ⌘S | File > Save |
| ⇧⌘S | File > Save As… |
| ⌥⌘S | File > Save All |
| ⌘W | File > Close |
| ⌘, | Settings… |
| ⌘Q | Quit Aember |
History
| Keys | Command |
|---|
| ⌘Y | History > History Timeline |
| ⌥⌘Y | History > Show History |
| ⌃⌘Y | History > Name This Moment… |
| Esc | Return to now from a parked window |
| Space | Open the selected timeline row |
| ← ↓ / → ↑ | Step a focused scrubber back or forward one moment |
| ⌥ while dragging a split handle | Open a History pane |
Editing
| Keys | Command |
|---|
| ⌘Z / ⇧⌘Z | Edit > Undo / Edit > Redo |
| ⌘X / ⌘C / ⌘V | Edit > Cut / Edit > Copy / Edit > Paste |
| ⌘A | Edit > Select All |
| ⌘/ | Edit > Toggle Line Comment |
| ⌥⌘/ | Edit > Toggle Block Comment |
| ⇧⌘E / ⌥⌘E | Edit > Expand Selection / Edit > Contract Selection |
| Tab / ⇧Tab | Indent / remove an indent |
| ⌥Tab | Insert a tab character |
| ⌘F | Edit > Find… |
| Return / ⇧Return | Next / previous match in the find bar |
| ⇧⌘F | Edit > Find in Project… |
Moving and deleting
| Keys | Action |
|---|
| ⌥← ⌥→ | One word |
| ⌘← ⌘→, ⌃A ⌃E | Start or end of the line |
| ⌘↑ ⌘↓, Home End | Start or end of the file |
| Page Up, Page Down | One page |
| ⌃↑ ⌃↓ | Scroll one line |
| ⌃P ⌃N, ⌃B ⌃F | Line up or down, character back or forward |
| ⇧ with any of these | Extend the selection |
| ⌥⌫, ⌃W / ⌥⌦ | Delete the word before / after |
| ⌘⌫, ⌃U / ⌃K | Delete to the start / end of the line |
| ⌃H / ⌃D | Delete the character before / after |
Code
| Keys | Command |
|---|
| ⌃Space | Show code completion |
| ⇧⌘Space | Edit > Show Signature Help |
| ⇧⌘I | Show or hide inlay hints |
| ⇧⌘↓ / ⇧⌘↑ | Edit > Go to Next Function / Edit > Go to Previous Function |
| ⌘J | Edit > Go to Definition |
| ⇧⌘D | Edit > Go to Declaration |
| ⌘T, ⌥⌘R | Edit > Find Symbol… |
| ⇧⌘H | Edit > Show Quick Help |
| ⇧⌘C | Edit > Show Call Hierarchy |
| ⇧⌘Y | Edit > Show Type Hierarchy |
| ⌥⌘. | Edit > Quick Fix… |
AI
| Keys | Command |
|---|
| ⌥\ | Edit > Suggest Completion, or rewrite the selection |
| ⌥⇧\ | Edit > Ask Cogitae |
| Tab | Accept a suggestion or rewrite |
| ⌘→ | Accept a suggestion’s next word or line |
| Esc | Dismiss a suggestion |
View, Git and Build
| Keys | Command |
|---|
| ⇧⌘P | View > Toggle Markdown Preview |
| ⌥⌘B | View > Show Blame |
| ⇧⌘G / ⌥⌘G | Git > Stage Current File / Git > Unstage Current File |
| ⌃⌘G | Git > Stage Hunks… |
| ⌘K | Git > Commit… |
| ⌥⌘K | Git > Commit from History… |
| ⇧⌘B | Git > Branch… |
| ⇧⌘T | Git > Tags… |
| ⇧⌘M | Git > Merge Branch… |
| ⇧⌘R | Git > Rebase onto Branch… |
| ⌃⌘H | Git > View History… |
| Esc | End a commit preview |
| ⌘B | Build > Build |
| ⌘U | Build > 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
| Command | Shortcut |
|---|
| 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
| Command | Shortcut |
|---|
| 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.
| Command | Shortcut |
|---|
| 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:
| Action | Shortcut |
|---|
| Show code completion | ⌃Space |
| Show or hide inlay hints | ⇧⌘I |
View, Git and Build Shortcuts
View
| Command | Shortcut |
|---|
| View > Toggle Markdown Preview | ⇧⌘P |
| View > Show Blame | ⌥⌘B |
Git
| Command | Shortcut |
|---|
| 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
| Command | Shortcut |
|---|
| 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.
| Action | Keys |
|---|
| 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 down | Page 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 after | Delete, 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:
| Action | Keys |
|---|
| Accept the whole suggestion | Tab |
| Accept its next word or line | ⌘→ |
| Dismiss it | Esc, 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
| Keys | Action |
|---|
| ↑ ↓ | Choose an item |
| Return | Insert the chosen item |
| Tab | Close the list without inserting anything |
| Esc | Close the list |
| Tab / ⇧Tab | Next / previous placeholder of an inserted template |
| Esc | Stop moving between placeholders |
See Complete Code.
Find
| Keys | Where | Action |
|---|
| Return | Find bar | Next match |
| ⇧Return | Find bar | Previous match |
| Esc | Find bar | Close it |
| Return | Edit > Find in Project… results | Open the file at the result |
| Space | Edit > Find in Project… results | Check or clear the result |
| ⌘A / ⇧⌘A | Edit > Find in Project… results | Check / clear every result |
| ↑ ↓, Return | Edit > Find Symbol… list | Choose a symbol, then open it |
See Find in a File and Find and Replace in the Project.
History
| Keys | Where | Action |
|---|
| Space | Timeline | Open the selected moment, or park at the selected marker |
| ← ↓ | Focused scrubber | One moment back |
| → ↑ | Focused scrubber | One moment forward |
| Esc | Parked window | Return to now |
See Browse the History Timeline and Park the Window at a Moment.
Git
| Keys | Where | Action |
|---|
| Space, Return, → ← | Git History’s moment rows | Expand or collapse |
| Return | Git History, a moment selected | Place a boundary below it, or edit the one there |
| Delete | Git History, a moment selected | Remove the boundary below it |
| ⌥↑ ⌥↓ | Git History, a moment selected | Move the boundary below it |
| Return | Boundary message | Keep the message |
| ⌘Return | Boundary message | Keep the message and make the commits |
| Esc | Boundary message | Restore the message |
| Return | Branch window | Switch to the branch, or create the one being named |
| Esc | Branch window | Cancel a new name |
| Esc | Commit preview | End the preview |
See Browse Git History, Commit from History and Switch and Manage Branches.
Other windows and fields
| Keys | Where | Action |
|---|
| Return / Esc | Rewrite field (⌥\ with code selected) | Send the instruction / cancel |
| Return / Esc | A tab’s name, while renaming | Rename / cancel |
| Esc | Call or Type Hierarchy window, a documentation popover | Close it |
| 0–9, A–F | Hex editor’s hex column | Type over the digit under the cursor |
| Tab / ⇧Tab, Return | Settings | Next / previous control |
Last updated November 23, 2026