Repository navigation
New
- Open the scratchpad in
$VISUAL/$EDITORwith<leader>efrom the modal; edits come back into the textarea. Bindable asopencode-scratchpad.editor.
Changed
- The sidebar and modal now inherit the host theme instead of a dim attribute: content in
text.base, chrome and hints intext.muted, save state intext.feedback.{success,warning}, textarea intext.formfield.base. Colors follow light/dark theme switches. - Layout matches host conventions: the sidebar section no longer double-pads the slot's 2-cell inset, and the dialog uses the host's
DIALOG_INSETof 3. - Chevrons are
▼/▶, matching built-in sidebar sections. - Install docs corrected: OpenCode installs published plugins itself, so use
opencode plugin addrather thannpm install.
Install
opencode plugin add opencode-scratchpadOr in opencode.json/opencode.jsonc:
{ "plugins": ["opencode-scratchpad@0.2.0"] }