[Showcase] codex.nvim: Lightweight Neovim Plugin for Codex CLI
Resolved 💬 2 comments Opened Sep 8, 2025 by pittcat Closed Sep 8, 2025
Hi Codex team and community!
I'm excited to share a new lightweight Neovim plugin: codex.nvim.
What is codex.nvim?
- Seamless Neovim integration for the OpenAI Codex CLI
- Opens the Codex TUI in a terminal split for fast AI coding workflows
- Minimal, easy to configure, inspired by
base.nvimandclaudecode.nvim - Supports Snacks integration, flexible split direction/size, project root detection, and more
Features:
- Neovim split terminal for Codex TUI
- Quick keymaps to open/toggle Codex
- Flexible terminal sizing (fraction/absolute)
- Native or snacks.nvim terminal providers
- Logging, project-aware workflows, and more
Quickstart:
require('codex').setup()
vim.keymap.set('n', '<leader>co', function() require('codex').open() end)
vim.keymap.set('n', '<leader>ct', function() require('codex').toggle() end)
Why codex.nvim?
If you want a fast, minimal, and configurable way to use Codex right inside Neovim, this plugin is for you. Feedback and contributions are very welcome!
Repo: https://github.com/pittcat/codex.nvim
Thanks for checking it out!
2 Comments
@pittcat this issue is now in an "open" state. what type of work would need to be done for it to reach a satisfactory "closed" state? also note that the Discussions area has a cool "show and tell" Category : https://github.com/openai/codex/discussions/categories/show-and-tell I hope you'll share this there as well!
@neurostream Thank you for your suggestion. I will close this issue.