You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#2387 helps but it's not great, since the vim editor by default takes up the whole pane and then the user can't see the context from the current codex thread. There are workarounds, like having the editor open a new smaller pane, but ideally one can have vi mode to edit the prompt inline like in Claude code.
Additional information
No response
Reacted by Tom Whipple, Jon Austin, Marcus Zanona, Philippe Scorsolini, Kosumi, Connor Stein, Watanabe Yuito, xj, Orión, Joseph Bulbulia and 37 more
Reacted by Jesse Posner, Ryan Oksenhorn, My (Chiffon) Nguyen, Chandan Chauhan, sahir2k, purgin-aa, Troy Vitullo, victorivanov, Joseph Bulbulia, Johan Palomino and 29 more
Reacted by bcb, Andrei, Jose Storopoli, Jose C and Marcio Ikematsu
For us vim users it makes a huge world of difference; it's half the reason i prefer claude code over codex.
Reacted by bcb, Eric Turner, Philippe Scorsolini, mhoev, Joseph Bulbulia, Jinwook Jeong (Edgar), Abraham Sangha, Denis Dobrovolskii, jasonroosdev, Adam Miller and 4 more
Linking #14386 because it feels like a close sibling to the same terminal-native modal direction.
This ticket is about vim-style inline editing for the composer. #14386 is about a modal keyboard surface for navigating and actioning reply structure itself: paragraphs, list items, code blocks, tool calls/results, multi-select, and configurable actions.
They are not the same feature, but they point in the same direction: Codex should feel more like a serious modal TUI/editor surface and less like a single text box with scattered shortcuts.
Thanks for taking a look at it! While I appreciate even imperfect Vim keybindings, I would highly recommend considering headless neovim instead of rolling your own keybindings. For instance, Claude Code's Vim mode rolled their own support, and there are many features that are subtly broken. Using headless neovim would guarantee that codex's implementation is perfect.
It does introduce the slight complication of requiring an external run-time dependency, but I still think it's worth considering as an option.
Reacted by Theo Ratkin, Giorgio, Mourad Kejji, James Conigrave and Matthew Mario Di Pasquale
This is now implemented, although I'm sure there's more we can do here. I'm going to close this feature request, but feel free to open new requests with follow-on suggestions.
Activity
tomwhipple commentedon Feb 6, 2026
Not to sound like a snob, but this one is a blocker for me to do anything more than play around with Codex... the muscle memory is too strong.
jonaustin commentedon Feb 9, 2026
Yes; vim-mode is not ctrl+g to open a full vim editor (though, that's nice, thanks!)
Vim mode is having a modal command line with classic vim keybindings like described in the #2387 (stangely closed) issue: https://code.claude.com/docs/en/interactive-mode#vim-editor-mode
For us vim users it makes a huge world of difference; it's half the reason i prefer claude code over codex.
kosumic commentedon Feb 16, 2026
gemini-cli also has this feature
oxysoft commentedon Mar 11, 2026
Linking #14386 because it feels like a close sibling to the same terminal-native modal direction.
This ticket is about vim-style inline editing for the composer. #14386 is about a modal keyboard surface for navigating and actioning reply structure itself: paragraphs, list items, code blocks, tool calls/results, multi-select, and configurable actions.
They are not the same feature, but they point in the same direction: Codex should feel more like a serious modal TUI/editor surface and less like a single text box with scattered shortcuts.
gmantova commentedon Apr 15, 2026
I'm going crazy switching between claude code (which has the great VIM mode) and codex, I can't use both. Please add VIM mode.
the-real-adammork commentedon Apr 29, 2026
how is this still an open issue, we need VIM
polodev commentedon May 3, 2026
please use vim mode
BitCalSaul commentedon May 3, 2026
definitely need it !
spagnoloG commentedon May 5, 2026
b6f8125
this commit finally implemented it:)
ouillie commentedon May 11, 2026
Thanks for taking a look at it! While I appreciate even imperfect Vim keybindings, I would highly recommend considering headless neovim instead of rolling your own keybindings. For instance, Claude Code's Vim mode rolled their own support, and there are many features that are subtly broken. Using headless neovim would guarantee that codex's implementation is perfect.
It does introduce the slight complication of requiring an external run-time dependency, but I still think it's worth considering as an option.
heecheon92 commentedon May 22, 2026
absolute beast feature. love it
etraut-openai commentedon Jul 21, 2026
This is now implemented, although I'm sure there's more we can do here. I'm going to close this feature request, but feel free to open new requests with follow-on suggestions.