codex - 💡(How to fix) Fix Vim composer mode: support inner-word text objects (`ciw`, `diw`, `yiw`) [5 comments, 2 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
openai/codex#21383Fetched 2026-05-07 03:40:50
View on GitHub
Comments
5
Participants
2
Timeline
11
Reactions
1
Author
Participants
Timeline (top)
commented ×5labeled ×3mentioned ×1subscribed ×1

Fix Action

Fix / Workaround

I have a small focused patch with tests that adds these commands in codex-rs/tui/src/bottom_pane/textarea.rs. If this is something maintainers would be open to, I would be happy to open a PR.

RAW_BUFFERClick to expand / collapse

What variant of Codex are you using?

CLI / TUI

What feature would you like to see?

Now that Vim composer mode has landed, it would be useful to support common inner-word text objects in the composer:

  • diw: delete inner word
  • ciw: change inner word and enter insert mode
  • yiw: yank inner word

These are common Vim muscle-memory commands and fill a small gap in the existing composer Vim mode rather than adding a new mode.

Additional information

The existing Vim composer mode supports normal/insert mode and d/y operator flows. Inner-word text objects make those flows feel much closer to expected Vim behavior for prompt editing.

I have a small focused patch with tests that adds these commands in codex-rs/tui/src/bottom_pane/textarea.rs. If this is something maintainers would be open to, I would be happy to open a PR.

Related:

  • Follow-up to #18595
  • Related to #9184
  • Similar behavior was discussed in #3044

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

codex - 💡(How to fix) Fix Vim composer mode: support inner-word text objects (`ciw`, `diw`, `yiw`) [5 comments, 2 participants]