pub enum Command {
Show 144 variants
Move(Direction, bool),
Newline,
Type(char),
Indent,
Outdent,
DeleteBackward,
DeleteForward,
Undo,
Redo,
Copy,
Cut,
Paste,
SelectAll,
SelectNextMatch,
Save,
CloseTab,
NextTab,
PreviousTab,
SplitPane,
FocusNextPane,
ToggleSidebar,
QuickOpen,
GoToSymbol,
GoToWorkspaceSymbol,
CommandPalette,
FindInProject,
OpenDiff,
AddComment,
BlameLine,
ReplaceInProject,
MarkdownPreview,
OpenInBrowser,
FocusAgent,
BuildPdf,
ExportPdf,
ComparePlanVersions,
ShowInPdf,
MaximizePane,
MaximizeEditor,
ToggleWordWrap,
Fold,
Unfold,
FoldAll,
UnfoldAll,
ToggleComment,
MoveLineUp,
MoveLineDown,
DuplicateLine,
DeleteLine,
InsertLineBelow,
InsertLineAbove,
SelectAllMatches,
AddCursorAbove,
AddCursorBelow,
NextChange,
PreviousChange,
NextProblem,
PreviousProblem,
GoToLine,
DeleteWordLeft,
DeleteWordRight,
DeleteToLineStart,
DeleteToLineEnd,
FindInFile,
ReplaceInFile,
Format(Format),
SendToAgent,
MentionSelection,
AcceptProposal,
RejectProposal,
ApprovePlan,
SendBackPlan,
ShowAgents,
CloseDock,
TogglePanel,
ShowOutline,
ShowSourceControl,
ShowAgentContext,
ToggleTerminal,
NewTerminal,
ShowComments,
ShowInbox,
ShowBrowser,
ListAgents,
RunCell,
ClearOutputs,
RunAllCells,
InterruptKernel,
RestartKernel,
ShowGuide,
NewDocument,
ToggleTracking,
AcceptChange,
RejectChange,
ToggleSpelling,
AcceptAllChanges,
RejectAllChanges,
ReviewPreviousTurn,
UndoTurn,
ShowAgentTask,
Commit,
OpenClaude,
OpenCodex,
NextWorkspace,
PreviousWorkspace,
OpenWorkspace,
OpenGemini,
OpenTranscript,
OpenSettings,
SwitchBranch,
OpenRecent,
RunTask,
RunBuildTask,
RerunLastTask,
GoToDefinition,
QuickFix,
ShowHover,
GoBack,
GoForward,
GoToReferences,
FormatDocument,
Complete,
RenameSymbol,
SelectLines(usize),
PasteLine,
Stash,
StashUntracked,
StashStaged,
PopStash,
ApplyStash,
PickStashToPop,
DropStash,
CompareWith,
ShowHistory,
FileHistory,
AcceptCurrent,
AcceptIncoming,
AcceptBoth,
CompareConflict,
NextConflict,
PreviousConflict,
AbortMerge,
Cancel,
Quit,
}Expand description
Anything the user can ask for. Each entry is also a command-palette item unless it needs arguments.
Variants§
Move(Direction, bool)
Newline
Type(char)
Types one character, as a key would.
Indent
Outdent
DeleteBackward
DeleteForward
Undo
Redo
Copy
Cut
Paste
SelectAll
SelectNextMatch
Save
CloseTab
NextTab
PreviousTab
SplitPane
FocusNextPane
ToggleSidebar
QuickOpen
GoToSymbol
Quick Open with @ typed: the file’s symbols, grouped by kind.
GoToWorkspaceSymbol
Quick Open with # typed: symbols across the workspace, from every running server.
CommandPalette
FindInProject
OpenDiff
AddComment
BlameLine
ReplaceInProject
MarkdownPreview
OpenInBrowser
FocusAgent
Moves the keyboard between the file and the side pane.
BuildPdf
Builds the paper in view, and shows the PDF.
ExportPdf
Writes the document as a PDF beside it.
ComparePlanVersions
The plan in review against the version before it, as suggestions.
ShowInPdf
Scrolls the PDF to the line the caret is on.
MaximizePane
The side pane, or the editor in front, takes the window, or gives it back.
MaximizeEditor
ToggleWordWrap
Wraps long lines of code at the pane’s width, or stops: Alt+Z.
Fold
Folds the region the caret is in, or opens the fold: Ctrl+Shift+[ and ].
Unfold
FoldAll
UnfoldAll
ToggleComment
MoveLineUp
MoveLineDown
DuplicateLine
DeleteLine
VS Code’s Ctrl+Shift+K.
InsertLineBelow
A new line below this one, or above, without splitting it: Ctrl+Enter, Ctrl+Shift+Enter.
InsertLineAbove
SelectAllMatches
Every place the selection or word appears, as cursors: Ctrl+Shift+L.
AddCursorAbove
A cursor on the line above or below as well: Ctrl+Alt+Up and Down.
AddCursorBelow
NextChange
The next suggestion in the document, or the one before: Alt+F5, Shift+Alt+F5.
PreviousChange
NextProblem
The next problem in the file, or the one before: F8, Shift+F8.
PreviousProblem
GoToLine
DeleteWordLeft
DeleteWordRight
DeleteToLineStart
DeleteToLineEnd
FindInFile
ReplaceInFile
Find with the replace row open.
Format(Format)
SendToAgent
MentionSelection
AcceptProposal
RejectProposal
ApprovePlan
SendBackPlan
ShowAgents
CloseDock
TogglePanel
Shows the side pane with what it showed last, or puts it away.
ShowOutline
Shows the document’s headings in the sidebar.
ShowSourceControl
Shows what’s changed, to stage and commit, in the sidebar.
ShowAgentContext
Shows what an agent works from in the sidebar: its instructions, skills, hooks and what its session read.
ToggleTerminal
Brings a terminal up in the pane, starting one if there is none, or puts it away.
NewTerminal
Starts another terminal in the pane.
ShowComments
Brings the comments up in the pane, or puts them away.
ShowInbox
Brings up what waits for the person in every workspace, or puts it away.
ShowBrowser
Brings the pane’s browser up, or starts one, or puts it away.
ListAgents
Brings the list of agents up in the pane, or puts it away.
RunCell
Runs the notebook cell the caret is in.
ClearOutputs
Clears what every cell printed.
RunAllCells
InterruptKernel
Stops what the notebook’s kernel is doing.
RestartKernel
Starts the notebook’s kernel again, forgetting what it held.
ShowGuide
Opens the guide to getting started.
NewDocument
Starts a new document.
ToggleTracking
Keeps typing in this document as suggested changes.
AcceptChange
RejectChange
ToggleSpelling
Turns spelling and grammar checks on or off.
AcceptAllChanges
RejectAllChanges
ReviewPreviousTurn
UndoTurn
ShowAgentTask
The Task page: the agent work here as a timeline.
Commit
OpenClaude
OpenCodex
NextWorkspace
Moves to the next workspace in the bar along the bottom.
PreviousWorkspace
OpenWorkspace
Opens another folder beside this one, as a workspace of its own.
OpenGemini
OpenTranscript
Opens the transcript of the agent in the side pane as a page.
OpenSettings
SwitchBranch
OpenRecent
Folders and files opened lately, to open again.
RunTask
The project’s tasks, to run one in the side pane: VS Code’s Run Task.
RunBuildTask
The default build task: Ctrl+Shift+B.
RerunLastTask
GoToDefinition
QuickFix
The language server’s fixes and refactors at the caret: Ctrl+. in VS Code.
ShowHover
What the language server says about the symbol at the caret.
GoBack
Back to where the last jump left from, as VS Code’s Go Back and Vim’s Ctrl+O.
GoForward
GoToReferences
FormatDocument
Complete
RenameSymbol
SelectLines(usize)
Selects this many whole lines from the cursor.
PasteLine
Pastes after the cursor, or below it for a copied line.
Stash
Git: puts the changes aside, with untracked files too, or only what’s staged.
StashUntracked
StashStaged
PopStash
Brings the newest stash back and drops it.
ApplyStash
Picks a stash to apply, pop or drop.
PickStashToPop
DropStash
CompareWith
Compares the file in view with a branch, a commit or the clipboard.
ShowHistory
The repository’s commits, drawn as a graph.
FileHistory
The commits that changed the file in view.
AcceptCurrent
Settles the conflict at the caret, keeping one side or both.
AcceptIncoming
AcceptBoth
CompareConflict
The conflict at the caret, its two sides in the diff.
NextConflict
PreviousConflict
AbortMerge
Gives up the merge, rebase, cherry-pick or revert under way.