Vim mode: support `ciw` to change inner word
Resolved 💬 2 comments Opened May 16, 2026 by svvarom Closed May 21, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
What version of Codex CLI is running?
codex-cli 0.130.0
What subscription do you have?
ChatGPT Enterprise
Which model were you using?
_No response_
What platform is your computer?
Darwin 25.3.0 arm64 arm
What terminal emulator and version are you using (if applicable)?
Ghostty 1.3.1 stable
Codex doctor report
not available
What issue are you seeing?
In Codex CLI Vim mode, ciw does not behave like Vim's "change inner word".
Expected: delete the word under the cursor and enter insert mode there.
Actual: Codex inserts a literal w on a new line / below the cursor.
What steps can reproduce the bug?
- Open Codex CLI.
- Enable Vim mode.
- Type a prompt with a word, e.g.
hello world. - Press
Esc. - Put the cursor on
world. - Type
ciw.
Expected: world is deleted and insert mode starts at that position.
Actual: a literal w is inserted on a new line / below the cursor.
What is the expected behavior?
_No response_
Additional information
_No response_
2 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
This feature isn't currently supported. I'm going to change this from a bug report to a feature request, and we'll see if it gets upvoted by other users.