vi editing mode
Resolved 💬 12 comments Opened Aug 17, 2025 by zzJinux Closed Dec 23, 2025
💡 Likely answer: A maintainer (sayan-oai, contributor)
responded on this thread — see the highlighted reply below.
What feature would you like to see?
https://docs.anthropic.com/en/docs/claude-code/interactive-mode#vim-mode
Are you interested in implementing this feature?
Yes
Additional information
_No response_
12 Comments
Alternatively, just allow opening the prompt in $EDITOR
+1
Please vote for this here
etraut-openai has now directed people back here to vote
Claude Code users are able to hit
⌃+Gand open the prompt in vim, edit it, and then after closing it, the new prompt will be entered into the normal chat.Codex should work exactly in the same way. It's the best UX
This feature has been implemented in this open PR: https://github.com/openai/codex/pull/7606
I agree / I find this approach to be a cleaner one, as it allows users to edit with their [personally-configured] editor of choice while requiring less maintenance overhead from the team.
FYI they do not accept PRs here. But others may merge it into their own forks...
Added in #7606, will be available in the next release.
If you're like me and was wondering what the "next release" would be, as of 2026-01-05 we are still on v0.77.0 and the next release, which is still in pre-release, is v0.78.0.
Thanks for this implementation. Looking forward to being able to quickly ctrl-g my way to vim goodness.
And as of two hours ago, v0.78.0 is live! Wonderful.
CTRL+g is working flawlessly
Thanks for implementing this!
in Codex CLI, add this to
~/.codex/config.toml:
[tui]
vim_mode_default = true
for testing only:
codex -c 'tui.vim_mode_default=true'