[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!
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗