vim-like input mode

Resolved 💬 4 comments Opened Apr 16, 2025 by golergka Closed Aug 7, 2025
💡 Likely answer: A maintainer (tibo-openai, collaborator) responded on this thread — see the highlighted reply below.

Similar tools, like aider or claude code, support vim-like edit mode. It would be great if codex had this option available too.

View original on GitHub ↗

4 Comments

tibo-openai collaborator · 1 year ago

Neat idea, will accept a PR that adds this!

golergka · 1 year ago

Opened a draft PR #502

codex-maintainers · 1 year ago

Thanks for the feedback! Please try the latest version of Codex CLI to see if this issue persists. If it does, we'd be happy to consider a feature request for the codex-rs/ implementation. You can find more details on our project update here: https://github.com/openai/codex/discussions/1174.

mattmorgis · 9 months ago

@tibo-openai would you still be open to a PR for this?

I would be down to take a first pass at a basic implementation. I was thinking:

  • /vim toggle
  • default to Insert mode
  • support Normal with a just a few basics: Esc, i/a/I/A, h/j/k/l, 0, $, w, b, e, x, dd, dw, o/O, p
  • no visual modes to start