Files
opencode.nvim/README.md
T
agj 1445303411 feat: limit the terminal width
Also add the possibility of configuring it.
2026-06-11 22:18:13 +02:00

28 lines
568 B
Markdown

# opencode.nvim
Prototype Neovim plugin that opens `opencode` in a terminal split on the right.
## Usage
Run:
```vim
:OpenCodeToggle
```
The command opens `opencode` in a right-side terminal window sized to 40% of the
screen width. Running the command again closes only the window; the terminal
buffer and `opencode` session stay alive. Run `:OpenCodeToggle` again to show the
same session.
## Configuration
```lua
require("opencode").setup({
width = 0.4,
})
```
`width` is the fraction of the screen width used by the terminal window. The
default is `0.4`.