Skip to content

Commit a984599

Browse files
committed
docs: toggle in readme
1 parent de1729a commit a984599

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ Neovim plugin for running the Codex CLI in an embedded terminal.
5151

5252
Use this table as your lazy.nvim plugin `opts` value:
5353

54+
<details>
55+
<summary>Show default <code>opts</code> table</summary>
56+
5457
```lua
5558
opts = {
5659
launch = {
@@ -103,6 +106,8 @@ opts = {
103106
}
104107
```
105108

109+
</details>
110+
106111
## Commands
107112

108113
- `:Codex` toggles the Codex terminal
@@ -145,6 +150,9 @@ run.
145150
codex.nvim does not register global keymaps in `setup()`. Define global mappings
146151
in 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+
267277
Set `vim.g.mapleader` before plugin setup so `<leader>` expands as expected.
268278

269279
Terminal-local keymaps inside the Codex terminal buffer are configured

0 commit comments

Comments
 (0)