Skip to content

vi editing mode (like claude code /vim) #9184

Closed

Description

@gabrielnan

What feature would you like to see?

Feature: https://code.claude.com/docs/en/interactive-mode#vim-mode

#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

Activity

  1. added
    enhancement
    on Jan 14, 2026
  2. tomwhipple commented on Feb 6, 2026

    @tomwhipple

    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.

  3. jonaustin commented on Feb 9, 2026

    @jonaustin

    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.

  4. kosumic commented on Feb 16, 2026

    @kosumic

    gemini-cli also has this feature

  5. oxysoft commented on Mar 11, 2026

    @oxysoft

    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.

  6. added
    TUI
    on Mar 26, 2026
  7. assigned and unassigned on Apr 15, 2026
  8. gmantova commented on Apr 15, 2026

    @gmantova

    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.

  9. the-real-adammork commented on Apr 29, 2026

    @the-real-adammork

    how is this still an open issue, we need VIM

  10. polodev commented on May 3, 2026

    @polodev

    please use vim mode

  11. BitCalSaul commented on May 3, 2026

    @BitCalSaul

    definitely need it !

  12. spagnoloG commented on May 5, 2026

    @spagnoloG

    b6f8125

    this commit finally implemented it:)

  13. ouillie commented on May 11, 2026

    @ouillie

    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.

  14. heecheon92 commented on May 22, 2026

    @heecheon92

    absolute beast feature. love it

  15. etraut-openai commented on Jul 21, 2026

    @etraut-openai
    Contributor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    TUIenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions