File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -51,6 +51,9 @@ Neovim plugin for running the Codex CLI in an embedded terminal.
5151
5252Use this table as your lazy.nvim plugin ` opts ` value:
5353
54+ <details >
55+ <summary >Show default <code >opts</code > table</summary >
56+
5457``` lua
5558opts = {
5659 launch = {
@@ -103,6 +106,8 @@ opts = {
103106}
104107```
105108
109+ </details >
110+
106111## Commands
107112
108113- ` :Codex ` toggles the Codex terminal
145150codex.nvim does not register global keymaps in ` setup() ` . Define global mappings
146151in your lazy.nvim plugin spec ` keys ` :
147152
153+ <details >
154+ <summary >Show lazy <code >keys</code > table</summary >
155+
148156``` lua
149157{
150158 url = " https://codeberg.org/yaadata/codex.nvim.git" ,
@@ -264,6 +272,8 @@ in your lazy.nvim plugin spec `keys`:
264272}
265273```
266274
275+ </details >
276+
267277Set ` vim.g.mapleader ` before plugin setup so ` <leader> ` expands as expected.
268278
269279Terminal-local keymaps inside the Codex terminal buffer are configured
You can’t perform that action at this time.
0 commit comments