User guide / Bindable action reference

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.

CommandUsageDescription
describe-modedescribe-modeInspect the current mode and its effective properties
describe-keydescribe-keyInspect a key without executing it
browse-actionsbrowse-actionsBrowse action descriptors and default keys
copy-key-bindingcopy-key-bindingCopy the last inspected binding as YAML
cdcd [path]Change directory, moving to its workspace when it belongs to another
initinit [directory]Make a directory a workspace and move to it
session-attachsession-attach <workspace>Attach to another workspace’s persistent session
session-listsession-listSession manager and native controls
session-stopsession-stop [workspace]Stop a clean persistent session
session-renamesession-rename <workspace> <name>Rename a persistent session
session-cleansession-cleanClean verified stopped session history
diff-diskdiff-diskCompare the active file buffer with a fresh disk observation
diff-remotediff-remoteCompare the active provider document with a fresh read-only remote snapshot
diff-thisdiff-thisCompare this buffer with the next one marked
diff-offdiff-offClose the comparison this buffer is part of
formatformatFormat the active buffer with its language server
grammargrammar [runyte]Report the active Runyte editing grammar
pipepipe <shell-command>Pipe each selection through a shell command
pipe-cancelpipe-cancelCancel the workspace shell pipe
pluginspluginsInspect configured plugins and their state
plugin-stopplugin-stop <configured-id>Stop a plugin or cancel its pending restart
plugin-restartplugin-restart <configured-id>Restart a configured plugin after cleanup
config-reloadconfig-reloadRe-read the loaded configuration file without restarting
copy-macrocopy-macro [name &#124; @register [name]]Copy a configured or recorded macro as YAML
macro-savemacro-save <name> [@register]Save a recorded macro to a new macros.d file
keymap-exportkeymap-export [path]Export the effective keymap to a new YAML configuration fragment
write-configwrite-config [path]Write the effective configuration to a new file
write-config!write-config! [path]Write the effective configuration, replacing any existing file
service-healthservice-healthInspect optional editor service health
log-openlog-openOpen this process’s diagnostic log
notificationsnotificationsOpen the retained notification history
pathpathShow the active buffer’s absolute path
closecloseClose the active buffer without changing the pane layout
close!close!Close the active buffer and discard its unsaved text
git-comparegit-compareCompare with this branch or worktree
git-branchesgit-branchesOpen the local and remote branch list
git-networkgit-networkOpen or refresh the cached commit network
git-network-headgit-network-headRestrict the commit network to current HEAD
git-network-allgit-network-allShow all cached refs and HEAD in the commit network
git-network-choose-refgit-network-choose-refChoose a captured full ref for the commit network
git-network-refgit-network-ref <full-ref>Restrict the commit network to an exact full ref
git-loggit-logOpen the Git log, or refresh it from its first page
git-search-commitsgit-search-commitsFuzzy-search commits reachable from HEAD by message, object ID, author, or date
git-blamegit-blameShow attribution for the primary line using live buffer text
git-blame-filegit-blame-fileOpen full-file attribution using live buffer text
git-worktreesgit-worktreesOpen or refresh the repository worktree list
git-commitgit-commitWrite a message and commit what is staged
git-diffgit-diffShow the active file’s unstaged diff
git-diff-side-by-sidegit-diff-side-by-sideCompare the two complete versions of the active file
git-discardgit-discardThrow away a file’s uncommitted changes, after a confirmation
git-indexgit-indexReview everything staged for the next commit
git-cancelgit-cancelStop the active Git operation and reconcile uncertain mutations
git-statusgit-statusOpen the changed-file list
git-stashesgit-stashesOpen or refresh the bounded stash list
git-stash-trackedgit-stash-tracked <name>Confirm a tracked-worktree snapshot while keeping the index applied
git-stash-allgit-stash-all <name>Confirm a named stash of tracked worktree and index changes
git-stash-untrackedgit-stash-untracked <name>Confirm a named stash including untracked files
git-stash-applygit-stash-applyConfirm applying the selected stash without dropping it
git-stash-dropgit-stash-dropConfirm dropping the selected stash
git-stage-hunkgit-stage-hunkStage the exact hunk under the cursor
git-unstage-hunkgit-unstage-hunkUnstage the exact hunk under the cursor
git-stage-linesgit-stage-linesStage the supported saved source-line selection
git-stagegit-stageStage the active file
git-unstagegit-unstageUnstage the active file
git-refreshgit-refreshRefresh Git state or retry failed repository discovery
lsp-trustlsp-trustChoose LSP permission for this workspace
agent-channelagent-channelShow this workspace’s agent channel
mcpmcp [identity]Review MCP permissions and connected agents
lsp-restartlsp-restart [language]Restart stopped language servers
lsp-statuslsp-statusReport language server state
openopen <path>Open a file or directory in the active pane
detachdetachDetach the TUI from its persistent session
quitquitClose 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-allquit-allQuit 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-herequit-hereQuit 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
reloadreloadReload the active buffer
resizeresizePreview pane resizing and extension; Enter applies, Escape cancels
write-quitwrite-quitWrite the active buffer, then close its pane or quit if it is the last pane
write-buffer-closewrite-buffer-closeWrite and close the active buffer without changing the pane layout