agj 1445303411 feat: limit the terminal width
Also add the possibility of configuring it.
2026-06-11 22:18:13 +02:00
2026-06-11 22:18:13 +02:00
2026-06-11 22:06:53 +02:00
2026-06-11 22:06:53 +02:00
2026-06-11 22:18:13 +02:00

opencode.nvim

Prototype Neovim plugin that opens opencode in a terminal split on the right.

Usage

Run:

: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

require("opencode").setup({
  width = 0.4,
})

width is the fraction of the screen width used by the terminal window. The default is 0.4.

S
Description
No description provided
Readme GPL-3.0 50 KiB
Languages
Lua 100%