Skip to content

Keyboard shortcuts

The window's accelerators are registered on the capture phase, so they work wherever focus sits — except where a text field or the terminal owns the key, which is the point.

This page is not a transcript. It renders SHORTCUT_GROUPS from src/ui/app/shellShortcuts.ts, the array the in-app sheet draws, so a key added there appears here without an edit.

A native menu accelerator wins over an in-app binding with the same chord: a row marked menu opens the menu action, and a note names any in-app command that lost its chord.

Project

KeysAction
Cmd + KToggle shortcut sheetmenuThe menu opens the sheet, so this chord no longer closes it.
Cmd + Shift + POpen command palette
Cmd + ,Open settingsmenu
Cmd + ;Open settings (same page)
?Open shortcut sheet (outside editor)
Cmd + NNew projectmenuThe in-app generate binding on this chord never runs and has no other route.
Cmd + OOpen projectmenuThe in-app go to class binding on this chord never runs; the palette row "Go to symbol in workspace…" opens that list.

Editing

KeysAction
Cmd + SSave active filemenu
Cmd + Alt + SSave all dirty filesmenu
Cmd + FFind in file
Cmd + Alt + FFind in projectmenuThe in-app in-file replace binding on this chord never runs and has no other route.
Cmd + GNext match
Cmd + LGo to line
Cmd + Alt + LFormat active file
Alt + EnterCode actions at the caret

Editor

KeysAction
Cmd + DSelect the word, then the next occurrence
Cmd + Shift + LSelect every occurrence
Cmd + UDrop the last added range
Cmd + /Toggle a line comment
Cmd + ]Indent
Cmd + [Outdent
Cmd + Shift + KDelete the line
Cmd + SpaceCompletion
Cmd + Shift + SpaceSignature help
Alt + EnterCode actions at the caret
Shift + Alt + TType hierarchy
Cmd + Shift + \Jump to the matching bracket
Cmd + Shift + [Fold the block
Cmd + Shift + ]Unfold the block
Cmd + =Increase the editor font size
Cmd + -Decrease the editor font size
Cmd + 0Reset the editor font size

Navigation

KeysAction
Cmd + PQuick open by file namemenu
Cmd + Shift + EReveal active file in explorermenu
F12Go to definition
Cmd + F12Go to symbol in file
Cmd + Alt + KToggle a bookmark on the caret line
Cmd + Alt + NNext bookmark
Cmd + Alt + PPrevious bookmark
Shift + F12Find references
Cmd + ClickGo to definition

Build and run

KeysAction
Ctrl + RRun the selected target
Ctrl + DDebug the selected target
Ctrl + F2Stop
Shift + F10Run
Shift + F9Debug
Cmd + RRerun

Debug

KeysAction
Cmd + F10Run to cursormenu
Cmd + F8Toggle breakpoint on the caret line
F7Step into
F8Step over
Shift + F8Step out
F9Resume

Panels

KeysAction
EscClose in-file search / sheet
Alt + F12Toggle terminal

View

KeysAction
Cmd + BToggle left railmenu
Cmd + WClose the active tabmenuFile ▸ Close Window is a predefined macOS menu item whose chord is Cmd+W, so the in-app close-tab binding never runs.
Cmd + Shift + TReopen the last closed tab
Ctrl + TabNext tab
Ctrl + Shift + TabPrevious tab
Cmd + JToggle bottom dockmenu
Cmd + `Split editor right
Cmd + 6Show TODO list
Cmd + Shift + DShow debugger
Cmd + Shift + GToggle source control

Next

Architecture if you want to see how these are wired.

Reference · Keyboard shortcutsEdit this page on GitHub

quarry 0.1.0-alpha.101 · MITSource