Support VIM editor commands in CLI text input

Resolved 💬 9 comments Opened Oct 5, 2025 by jcgennaro Closed Nov 14, 2025
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

What feature would you like to see?

See title. This would make entering prompts much easier. This could be set in the config files.

Important: Do NOT allow emacs commands. only vim.

Additional information

_No response_

View original on GitHub ↗

9 Comments

github-actions[bot] contributor · 9 months ago

Potential duplicates detected:

  • #3115

Powered by Codex Action

distbit0 · 9 months ago

would be extremely useful

Waishnav · 9 months ago

Yeah, I also think, this will be really useful, currently I think codex has emac based keybindings, which feels very unnatural to long time vim users like me.

Waishnav · 9 months ago

I've been working on adding this feature since friday night, here is my draft PR if someone wants to test it.

PR: https://github.com/openai/codex/pull/5094

Let me know your suggestions

aehlke · 9 months ago

Let us use a keyboard shortcut to open the prompt in our $EDITOR

jaycoolslm · 9 months ago

Yes please, I want vim support too. Claude code has it

mironnn · 8 months ago

+1

101glover · 8 months ago

I am very surprised this is not already a priority. It _feels to me as if_ somehow motivations and incentives are such that this is not a serious attempt at a popular terminal based programming tool. No disrespect intended.

etraut-openai contributor · 8 months ago

Closing in favor of #2387