claude-code - 💡(How to fix) Fix [DOCS] Vim editor mode reference omits `Space` motion in NORMAL mode [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#56160Fetched 2026-05-05 05:56:37
View on GitHub
Comments
0
Participants
1
Timeline
4
Reactions
0
Author
Participants
Timeline (top)
labeled ×4

Root Cause

Because terminal-config sends readers to interactive-mode for the full key table, the omission makes the published reference incomplete for current vim behavior.

RAW_BUFFERClick to expand / collapse

Documentation Type

Incorrect/outdated documentation

Documentation Location

https://code.claude.com/docs/en/interactive-mode

Section/Topic

Vim editor modeNavigation (NORMAL mode)

Current Documentation

The Vim key table currently says:

Navigation (NORMAL mode)

CommandAction
h/j/k/lMove left/down/up/right
wNext word
eEnd of word
bPrevious word
0Beginning of line
$End of line
^First non-blank character
ggBeginning of input
GEnd of input
f{char}Jump to next occurrence of character
F{char}Jump to previous occurrence of character
t{char}Jump to just before next occurrence of character
T{char}Jump to just after previous occurrence of character
;Repeat last f/F/t/T motion
,Repeat last f/F/t/T motion in reverse

The terminal configuration page also points readers to this page as the authoritative reference:

Vim mode supports a subset of NORMAL- and VISUAL-mode motions and operators, such as hjkl navigation, v/V selection, and d/c/y with text objects. See the Vim editor mode reference for the full key table.

What's Wrong or Missing?

The reference is outdated after v2.1.128. The changelog says vim mode was fixed so Space in NORMAL mode now moves the cursor right, matching standard vi/vim behavior, but the Navigation (NORMAL mode) table does not document that motion.

Because terminal-config sends readers to interactive-mode for the full key table, the omission makes the published reference incomplete for current vim behavior.

Suggested Improvement

Add Space to the Navigation (NORMAL mode) table in interactive-mode, for example:

| Space | Move right |

If you want to make the behavior change explicit, add a short note that this matches standard vi/vim behavior as of v2.1.128.

Impact

Medium - Makes feature difficult to understand

Additional Context

Affected Pages:

PageLine(s)Context
https://code.claude.com/docs/en/interactive-mode128-146Vim NORMAL-mode navigation table omits Space

Cross-reference:

PageLine(s)Context
https://code.claude.com/docs/en/terminal-config295-299Points readers to interactive-mode for the full key table

Total scope: 1 primary page affected

extent analysis

TL;DR

Update the Navigation (NORMAL mode) table in the interactive-mode documentation to include the Space key for moving the cursor right.

Guidance

  • Verify the current documentation at https://code.claude.com/docs/en/interactive-mode to confirm the omission of the Space key in the Navigation (NORMAL mode) table.
  • Add a new row to the table with the Space key and its corresponding action, "Move right", as suggested in the issue.
  • Consider adding a note to indicate that this behavior matches standard vi/vim behavior as of v2.1.128.
  • Review the terminal-config page to ensure it still points to the updated interactive-mode page for the full key table.

Example

The updated table could look like this:

CommandAction
h/j/k/lMove left/down/up/right
SpaceMove right
wNext word
......

Notes

This fix assumes that the Space key behavior was indeed changed in v2.1.128 to match standard vi/vim behavior. If this is not the case, further investigation may be necessary.

Recommendation

Apply the workaround by updating the documentation to include the Space key in the Navigation (NORMAL mode) table, as this will provide accurate information to users and match the current behavior of the application.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [DOCS] Vim editor mode reference omits `Space` motion in NORMAL mode [1 participants]