Colon commands
Development reference · View source
These accept the same arguments as the command palette, supplied separately
as { action: name, arg: text }. They are available in Normal and
Select modes. Prompt and background effects must end a sequence; supplying prompt input removes only that prompt. Required arguments must be supplied.
| Command | Usage | Description |
|---|---|---|
describe-mode | describe-mode | Inspect the current mode and its effective properties |
describe-key | describe-key | Inspect a key without executing it |
browse-actions | browse-actions | Browse action descriptors and default keys |
copy-key-binding | copy-key-binding | Copy the last inspected binding as YAML |
cd | cd [path] | Change directory, moving to its workspace when it belongs to another |
init | init [directory] | Make a directory a workspace and move to it |
session-attach | session-attach <workspace> | Attach to another workspace’s persistent session |
session-list | session-list | Session manager and native controls |
session-stop | session-stop [workspace] | Stop a clean persistent session |
session-rename | session-rename <workspace> <name> | Rename a persistent session |
session-clean | session-clean | Clean verified stopped session history |
diff-disk | diff-disk | Compare the active file buffer with a fresh disk observation |
diff-remote | diff-remote | Compare the active provider document with a fresh read-only remote snapshot |
diff-this | diff-this | Compare this buffer with the next one marked |
diff-off | diff-off | Close the comparison this buffer is part of |
format | format | Format the active buffer with its language server |
grammar | grammar [runyte] | Report the active Runyte editing grammar |
pipe | pipe <shell-command> | Pipe each selection through a shell command |
pipe-cancel | pipe-cancel | Cancel the workspace shell pipe |
plugins | plugins | Inspect configured plugins and their state |
plugin-stop | plugin-stop <configured-id> | Stop a plugin or cancel its pending restart |
plugin-restart | plugin-restart <configured-id> | Restart a configured plugin after cleanup |
config-reload | config-reload | Re-read the loaded configuration file without restarting |
copy-macro | copy-macro [name | @register [name]] | Copy a configured or recorded macro as YAML |
macro-save | macro-save <name> [@register] | Save a recorded macro to a new macros.d file |
keymap-export | keymap-export [path] | Export the effective keymap to a new YAML configuration fragment |
write-config | write-config [path] | Write the effective configuration to a new file |
write-config! | write-config! [path] | Write the effective configuration, replacing any existing file |
service-health | service-health | Inspect optional editor service health |
log-open | log-open | Open this process’s diagnostic log |
notifications | notifications | Open the retained notification history |
path | path | Show the active buffer’s absolute path |
close | close | Close the active buffer without changing the pane layout |
close! | close! | Close the active buffer and discard its unsaved text |
git-compare | git-compare | Compare with this branch or worktree |
git-branches | git-branches | Open the local and remote branch list |
git-network | git-network | Open or refresh the cached commit network |
git-network-head | git-network-head | Restrict the commit network to current HEAD |
git-network-all | git-network-all | Show all cached refs and HEAD in the commit network |
git-network-choose-ref | git-network-choose-ref | Choose a captured full ref for the commit network |
git-network-ref | git-network-ref <full-ref> | Restrict the commit network to an exact full ref |
git-log | git-log | Open the Git log, or refresh it from its first page |
git-search-commits | git-search-commits | Fuzzy-search commits reachable from HEAD by message, object ID, author, or date |
git-blame | git-blame | Show attribution for the primary line using live buffer text |
git-blame-file | git-blame-file | Open full-file attribution using live buffer text |
git-worktrees | git-worktrees | Open or refresh the repository worktree list |
git-commit | git-commit | Write a message and commit what is staged |
git-diff | git-diff | Show the active file’s unstaged diff |
git-diff-side-by-side | git-diff-side-by-side | Compare the two complete versions of the active file |
git-discard | git-discard | Throw away a file’s uncommitted changes, after a confirmation |
git-index | git-index | Review everything staged for the next commit |
git-cancel | git-cancel | Stop the active Git operation and reconcile uncertain mutations |
git-status | git-status | Open the changed-file list |
git-stashes | git-stashes | Open or refresh the bounded stash list |
git-stash-tracked | git-stash-tracked <name> | Confirm a tracked-worktree snapshot while keeping the index applied |
git-stash-all | git-stash-all <name> | Confirm a named stash of tracked worktree and index changes |
git-stash-untracked | git-stash-untracked <name> | Confirm a named stash including untracked files |
git-stash-apply | git-stash-apply | Confirm applying the selected stash without dropping it |
git-stash-drop | git-stash-drop | Confirm dropping the selected stash |
git-stage-hunk | git-stage-hunk | Stage the exact hunk under the cursor |
git-unstage-hunk | git-unstage-hunk | Unstage the exact hunk under the cursor |
git-stage-lines | git-stage-lines | Stage the supported saved source-line selection |
git-stage | git-stage | Stage the active file |
git-unstage | git-unstage | Unstage the active file |
git-refresh | git-refresh | Refresh Git state or retry failed repository discovery |
lsp-trust | lsp-trust | Choose LSP permission for this workspace |
agent-channel | agent-channel | Show this workspace’s agent channel |
mcp | mcp [identity] | Review MCP permissions and connected agents |
lsp-restart | lsp-restart [language] | Restart stopped language servers |
lsp-status | lsp-status | Report language server state |
open | open <path> | Open a file or directory in the active pane |
detach | detach | Detach the TUI from its persistent session |
quit | quit | Close the active pane and its unique buffer, or quit from the last pane |
quit! | quit! | Discard a unique buffer and close its pane, or force quit from the last pane |
quit-all | quit-all | Quit if all buffers are saved and no terminal is running |
quit-all! | quit-all! | Quit and discard unsaved buffers, but never terminate terminals |
quit-all!! | quit-all!! | Discard unsaved buffers, terminate this workspace’s terminals and quit |
quit-here | quit-here | Quit and hand the active directory to the shell wrapper |
quit-here! | quit-here! | Discard changes, quit, and hand the active directory to the shell wrapper |
reload | reload | Reload the active buffer |
resize | resize | Preview pane resizing and extension; Enter applies, Escape cancels |
write-quit | write-quit | Write the active buffer, then close its pane or quit if it is the last pane |
write-buffer-close | write-buffer-close | Write and close the active buffer without changing the pane layout |