The command palette
Development reference · View source
: opens the command palette: the commands that can run in the active view,
with their aliases, usage, and a short description, grouped by category.
Exact names and aliases rank first, followed by name or alias prefixes, then
matches in descriptions and other metadata. For example, :t and :term
offer :terminal first, while :tu offers :tutorial first.
| Key | Action |
|---|---|
| Type | Filter by name, alias, description, or category |
| Up / Down | Select a result |
| Tab | Complete it |
| Enter | Run it |
| Escape | Close the palette |
- The palette is contextual. A command is listed only when it could run
here: its platform, mode, and frontend support it, the service it needs is
ready, and the active view supplies its target. Explorer actions appear in
an explorer,
:terminal-renamein a pane showing a terminal,:diff-offwhile a comparison is open,:pipe-cancelwhile a pipe runs. A pane showing a terminal offers no document actions, whatever file it returns to; typing one there, such as:write, reportsthe active pane is showing a terminal. Leave the terminal (Space t q) to act on the document. - Typing a hidden command still works as far as it can. Every name and
alias resolves. Enter on one that cannot run here closes the palette and
reports why in the interaction line, for example
… · unavailable: the active view is not a directory buffer, leaving the editor as it was. It is never replaced by another matching command. - Management and recovery entry points stay listed whenever they can run
themselves, even when what they manage is not ready:
:service-health,:lsp-trust,:plugins,:git-refreshafter a failed discovery, and the:helpfamily. An entry point is not hidden because its list would be empty. - The full inventory is the command list
below, and
:helpdocuments every command whatever the active view. ::opens the plugin-only palette; see Plugins .
Path arguments
Once a command taking a path is selected, the rows become filesystem hints, from the editor working directory or from the absolute path being typed.
- Directories come first, with a trailing separator. Completing one keeps the
palette open for its children. Running
:openon a directory opens the explorer. ~means your home directory, so:open ~/.bashrcand:open ~/projectswork without a shell.- Dotfiles are offered when the name typed begins with
., or when hidden files are enabled.
Enter in path prompts behaves the same everywhere: the palette’s path
arguments, the Space / p finder path, and plugin fields that complete local
paths.
| Typed path | Enter |
|---|---|
| Does not name an existing file or directory, with hints showing | Accepts the selected hint, like Tab |
| Names an existing file or directory | Submits |
:cd srEnter Enter completes tosrc/, then changes into it.- A new name that is a prefix of an existing one is completed too:
:w notesbesidenotes.mdbecomes:w notes.md. Hints follow only a cursor at the end of the line, so press Left, then Enter, to submitnotesas typed. - Completion inside a buffer — words, language-server items, paths — still uses only Tab; Enter there inserts a newline.
The working directory
The working directory starts where Runyte was launched.
:cd <path>changes it. Relative paths resolve from the current working directory. With an explorer active,:cdalso retargets that explorer; from a file, the file stays open.Space Eopens the working directory.Space eopens the active buffer’s directory and selects its file, so Enter returns to it; from a rendered Markdown page it uses the source document. A pathless buffer falls back to the working directory.Space f(orSpace / f) always opens the project Finder in name mode, and:fuzzy-grepits content mode.:file-picker-directoryand:fuzzy-grep-directorysearch the active file’s parent, the active explorer’s root, or the working directory for a pathless or generated buffer.