User guide / Commands

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.

KeyAction
TypeFilter by name, alias, description, or category
Up / DownSelect a result
TabComplete it
EnterRun it
EscapeClose 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-rename in a pane showing a terminal, :diff-off while a comparison is open, :pipe-cancel while a pipe runs. A pane showing a terminal offers no document actions, whatever file it returns to; typing one there, such as :write, reports the 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-refresh after a failed discovery, and the :help family. An entry point is not hidden because its list would be empty.
  • The full inventory is the command list below, and :help documents 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 :open on a directory opens the explorer.
  • ~ means your home directory, so :open ~/.bashrc and :open ~/projects work 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 pathEnter
Does not name an existing file or directory, with hints showingAccepts the selected hint, like Tab
Names an existing file or directorySubmits
  • :cd sr Enter Enter completes to src/, then changes into it.
  • A new name that is a prefix of an existing one is completed too: :w notes beside notes.md becomes :w notes.md. Hints follow only a cursor at the end of the line, so press Left, then Enter, to submit notes as 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, :cd also retargets that explorer; from a file, the file stays open.
  • Space E opens the working directory. Space e opens 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 (or Space / f) always opens the project Finder in name mode, and :fuzzy-grep its content mode.
  • :file-picker-directory and :fuzzy-grep-directory search the active file’s parent, the active explorer’s root, or the working directory for a pathless or generated buffer.