Skip to content

Command palette

The command palette is the fastest way to find an action. Open it with cmd-shift-p, type a few letters of what you want, and press enter.

For example, type new file and the list narrows to the command that creates a new buffer.

Command names

Commands show as namespace: action name, for example editor: go to definition or tyrn: open settings. Wherever these docs say to run tyrn: ... or editor: ..., open the palette and type it.

Each row shows the keybinding for that command, if it has one. Use this to learn shortcuts.

History

The palette ranks commands you use often higher. To turn that off, set:

settings.json
{ "command_palette": { "use_command_history": false } }

Press shift-backspace on a highlighted row to remove it from your history.

Aliases

Add short names for commands you run often with command_aliases. The key is what you type, the value is the action.

settings.json
{
"command_aliases": {
"W": "workspace::Save",
"crp": "workspace::CopyRelativePath"
}
}

Action names in settings use the namespace::ActionName form. You can find an action’s name in the keymap editor.

Agent session commands

The palette also runs Tyrn’s session commands, such as tyrn: new session, tyrn: attach session, tyrn: open terminal and tyrn: open shell terminal. See Start a session.