Interactive mode changedinteractive-mode
Nearest release: v2.1.267, published an hour before this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Recorded here
Lines+13added
Lines−0removed
From line
119
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits72to this page, all time
### Complete a command mid-prompt
The whole hunk
from line 119, old and new numbered
/
from line 119
119119
120120See the [commands reference](/docs/en/commands) for the full list of commands included in Claude Code.
121121
122### Complete a command mid-prompt
123
124Command completion also works partway through a prompt: type `/` after a space, then the first letters of a name, as in `run the tests, then /com`. Only commands whose names start with those letters match, so a file path such as `/tmp/notes.md` doesn't keep a list open. Claude Code runs a command itself only when the command [starts your message](/docs/en/commands).
125
126* **In [fullscreen rendering](/docs/en/fullscreen)**: the matches open as a list while you type, with no row highlighted, so `Enter` still sends your prompt as typed. Press `Tab` to insert the top match, or pick a row with the arrow keys and `Enter`.
127* **Outside fullscreen**: the rest of the top match appears as ghost text at your cursor, with a count such as `+2` when more commands match. Press `Tab` to insert the only match, or to open the list when several match, then pick a row with the arrow keys and `Enter`.
128
129In both renderers, press `Tab` on a bare mid-prompt `/` to list every command.
130
131A plugin skill matches on its bare name too, so `/deploy` finds a skill named `myplugin:deploy-app`. When you insert the match, Claude Code writes the full `/myplugin:deploy-app`.
132
122133## Vim editor mode
123134
124135Enable vim-style editing via `/config` → Editor mode.
from line 515
504515## Review changes with /diff
505516
506517Run `/diff` to look over the changes in your working tree without leaving Claude Code. You see the edits Claude has made so far alongside anything else you haven't committed.
518
519In the changes `/diff` reads from git, a submodule appears as a single entry, and only when the commit it points to changes; edits to files inside the submodule don't appear there.
507520
508521In [fullscreen rendering](/docs/en/fullscreen), `/diff` opens the [diff panel](#diff-panel) beside the conversation, which stays open and updates while you keep working. In the classic renderer, `/diff` opens the [diff viewer](#diff-viewer) in place of the prompt, and you close it when you're done reading.
509522
No line in this hunk matches that.