Skip to content

Keyboard shortcuts ​

Leyline provides composer, browser, rename, terminal, and Electron shortcuts.

Use composer shortcuts ​

ShortcutAction
EnterSend a prompt when idle with an empty queue. During a run, add a task to Up next.
Option+EnterDuring a run, Steer current run.
Shift+EnterAdd a line break.
EscapeClose an open menu, queue tray, drawer, dialog, preview, or edit mode. With no open surface, stop the active run.

When pending tasks remain, Enter adds to the queue. A held queue stays held until you select Resume. Resume the queue before you use Option+Enter to steer.

Use slash command shortcuts ​

These shortcuts apply while the slash command picker is open.

ShortcutAction
Arrow DownSelect the next result.
Arrow UpSelect the previous result.
Tab or EnterInsert the selected command.
EscapeClose the picker.

Use navigation shortcuts ​

ShortcutAction
Command+K or Ctrl+KOpen Go to for projects and sessions.
EscapeClose the open navigator.

Leyline ignores the Go to shortcut during deletion confirmation, transcript editing, or session renaming.

Open a target in another window ​

Command-click an internal target on macOS. Use Ctrl-click on other platforms or middle-click with a mouse.

This behavior applies to session and project targets, New session, and backend choices. Electron opens a foreground Leyline window. The browser build uses the browser's tab or window behavior. The current window does not change.

A modified New session action creates one session in the new window. A modified backend choice opens the home workspace on that backend. External links keep their normal browser behavior.

Use project folder shortcuts ​

These shortcuts apply in Add project.

ShortcutAction
Arrow DownHighlight the next folder.
Arrow UpHighlight the previous folder.
EnterOpen the highlighted folder.
Command+Enter or Ctrl+EnterAdd the typed path.
EscapeClose the folder browser.

Use session and rename shortcuts ​

ShortcutAction
Enter or SpaceOpen a focused session row.
Arrow DownFocus the next session row.
Arrow UpFocus the previous session row.
Enter while renamingSave the session name.
Escape while renamingCancel the rename.

Leaving the rename field also saves the current value.

Close trace views ​

In the tracing workspace, Escape returns to the inspector or explorer that opened it. In the inspector or explorer, Escape closes traces. It does not stop an active run while a trace view is open.

Resize Git review with keys ​

Focus the Resize review pane handle first.

ShortcutAction
Arrow LeftIncrease review width by 24 pixels.
Arrow RightDecrease review width by 24 pixels.
EscapeCollapse expanded review and restore the transcript.

Resize the terminal with keys ​

Focus the Resize terminal handle first.

ShortcutAction
Arrow UpIncrease terminal height by 24 pixels.
Arrow DownDecrease terminal height by 24 pixels.

When focus is in the terminal, Escape stays in the shell unless another surface is open.

Use Electron shortcuts on macOS ​

ShortcutAction
Command+NCreate a session in the current session CWD.
Command+Shift+NOpen the home workspace in a new window.
Command+WClose the current window.
Command+Shift+TOpen or close the terminal.
Command+,Open global Settings.
Command+Shift+EOpen or close Session details for the selected session.
Command+Shift+MOpen or close Memory.
Command+EHide or show the desktop sidebar. On mobile, open or close it.
EscapeClose an open transient surface. With no open surface, stop the active run.

Command+N requires a current session CWD. Leyline ignores it during session creation. Command+Shift+N does not create a session.

Command+Shift+E does nothing on Home or while a blocking overlay is open. Command+, opens Settings without toggling an open modal closed. On Linux, use Ctrl+, or the native Settings… menu item.