Files
helder/docs/guide/keyboard-shortcuts.md
T

9.4 KiB

Keyboard shortcuts

Helder is built to run from the keyboard. Press ? to see a short list of the main shortcuts in an overlay; this page lists every shortcut in the app, grouped by area.

Guide index · Related: Window layout, Title bar, Configuration

At a glance

+----------------------------------------------------------------------------+
|              +----------------------------------------------+              |
|              | (?) Keyboard shortcuts                 [esc] |  (1)         |
|              +----------------------------------------------+              |
|              | NAVIGATE                                 (2) |              |
|              | [Cmd][F]       Search contents and names (3) |              |
|              | [Cmd][Up Dn]   Move through a list           |              |
|              | ...                                          |              |
|              | AGENT                                        |              |
|              | [Cmd][->]      Pass the selection to agent   |              |
|              | ...                                          |              |
|              | GIT                                          |              |
|              | ...                                          |              |
|              | SCHEMA                                       |              |
|              | ...                                          |              |
|              | FILE                                         |              |
|              | ...                                          |              |
|              +----------------------------------------------+              |
|                      (dimmed workspace behind)                             |
+----------------------------------------------------------------------------+
  1. Header: a question-mark icon, the title and an esc chip.
  2. Group label: NAVIGATE, AGENT, GIT, SCHEMA and FILE.
  3. Row: the keys as keycaps, then what they do.

Features

The shortcuts overlay

  • Open it with ? when no text field, code view or terminal has the keyboard. You can also click the ? button in the title bar, or choose View > Keyboard Shortcuts or Help > Keyboard Shortcuts.
  • Close it with Esc, or by clicking the dimmed backdrop.
  • It scrolls only when the window is too short to show all of it.
  • It holds the main shortcuts, in five groups:
    • Navigate: search, list movement, column movement, the Explorer row cursor, the column toggles Cmd+1 to Cmd+3, recent projects, open folder, new window, PHP class lookup, and this list.
    • Agent: pass the selection to the agent.
    • Git: open or close the Git view, focus the commit message, commit, push.
    • Schema: open or close the Schema view (Laravel apps), and Return in its table search.
    • File: save, Markdown preview, close, refresh, hidden files, select all, Fluid columns, zoom, and Esc.
  • The full reference is below.

How Helder decides who gets a key

  • A text field, the code, or a terminal keeps the keys it needs. Arrows, Return, ?, Cmd+A and Cmd+C with a selection go to the field, not to Helder.
  • Keys with Ctrl or Opt always go to the field or terminal, except the menu shortcuts that use them.
  • While an overlay is open, it owns the keys. Esc closes it. The Diff is the exception: the workspace shortcuts keep working over it.
  • Esc closes the topmost layer: a right-click menu, a dialog, search or the Diff first, then the Schema view's selection, its search text and the view itself, or the Git view. With none of those open, Esc goes to the terminal.
  • While the Git or Schema view is open, the column keys rest: arrows, Return and Cmd+Left / Cmd+Right do nothing in the columns under it.

Keyboard

Window and project

See Window layout, Start screen and Recent projects.

Keys Action
Shift+Cmd+N New window, on the start screen
Cmd+O Open a folder in this window
Shift+Cmd+O Open a recent project
Cmd+W Close the open file, or the window when no file is open
Shift+Cmd+W Close the window
Cmd+Q Quit (asks about unsaved files first)
Cmd+R Refresh git, the file tree and the open file from disk
Ctrl+Cmd+F Enter or exit full screen
? Keyboard shortcuts overlay (outside text fields and terminals)

Layout and focus

See Window layout and Title bar.

Keys Action
Cmd+1 Show or hide the Explorer column
Cmd+2 Show or hide the File column
Cmd+3 Show or hide the Claude column
Cmd+L Fluid column widths on or off
Cmd+. Hidden files on or off
Cmd+Left / Cmd+Right Focus the column to the left or right (outside text fields and terminals)
Cmd++ Zoom in (code, Diff and terminal text)
Cmd+- Zoom out
Cmd+0 Actual size

Start screen

See Start screen.

Keys Action
Up / Down, Cmd+Up / Cmd+Down Move the selection
Return Open the selected row

Git view

See Git and Git commit form.

Keys Action
Cmd+G Open or close the Git view
Esc Close the Git view (when nothing is on top of it)
Cmd+C Open the Git view on the commit message (with no text selected, outside a terminal)
Cmd+Return Commit, while the Git view is open (not from the console input)
Cmd+P Push the current branch (also with the view closed)
Return Run the command in the console input
Up Recall the previous console command

Schema view

See Schema. Only in a Laravel app: a project with an artisan file.

Keys Action
Cmd+D Open or close the Schema view
Return In the table search: select and centre the first match
Esc Deselect the table, then clear the search (while it has the keyboard), then close the view

Explorer

See Explorer.

Keys Action
Up / Down Move the row cursor (when the column is active)
Return Open the file, or open or close the folder
Cmd+Right Open the selected row's menu

File view

See File view, Markdown and Code symbols.

Keys Action
Cmd+S Save the file
Cmd+W Close the file
Cmd+M Markdown: switch between code and the rendered preview
Cmd+A Select all in the file (also when the code view does not have the keyboard)
Cmd+Up / Cmd+Down Open the recent files list (when the File column has focus)
Tab / Shift+Tab Indent or outdent the line or selection
Cmd+click on a PHP class name Show its declaration and references
Click a line number Select that line
Shift+click a line number Extend the selection to that line
Right-click a marked (changed) line, Show diff Open the Diff at that line

Recent files list

See Go to file.

Keys Action
Up / Down, Cmd+Up / Cmd+Down Move the selection
Return Open the selected file
Esc Close the list

Diff

See Diff view.

Keys Action
Esc Close the menu, then the pass-on prompt, then the Diff itself
Cmd+A Select all lines on one side
Cmd+C Copy the selected lines
Up / Down, Return Move through and choose in the Diff's right-click menu

Pass on to the agent

See Pass on to agent.

Keys Action
Cmd+Right Pass the selected code to the agent (with a selection in the File column)
Return Insert the reference into the agent
Esc Cancel

See Search.

Keys Action
Cmd+F Open search; selected text becomes the query
Cmd+Left / Cmd+Right Move to the column on the left or right
Up / Down, Cmd+Up / Cmd+Down Move through the results in a column
Return Open the selected result
Esc Close search

Clean copy

See Clean copy.

Keys Action
Cmd+Enter Copy the text and close the card
Esc Close the card without copying

Right-click menus and dialogs

See Right-click menu and Dialogs.

Keys Action
Up / Down, Cmd+Up / Cmd+Down Move through a menu
Return Choose the menu item, confirm a dialog, or accept a name
Esc Close the menu or dialog
Ctrl+click Same as a right-click on a Git view or Explorer row

Terminals

See Claude Code and Command line.

Keys Action
Opt+Left / Opt+Right Jump back or forward one word (when terminal.optionIsMeta is off)
Select text Copies it to the clipboard

Recent projects

See Recent projects.

Keys Action
Up / Down, Cmd+Up / Cmd+Down Move the selection
Return Switch to the selected project
Esc Close the list