[PR #13831] docs(keybinds): add comprehensive reference table with descriptions #14829

Open
opened 2026-02-16 18:19:35 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/13831

State: open
Merged: No


Summary

This PR adds a comprehensive keybinds reference section to the keybinds documentation, making it easier for users to understand what each keybind does and quickly find the functionality they need.

Changes

Added "Keybinds reference" section with all keybinds organized into logical categories:

  • Application & UI (13 keybinds) - Leader key, exit, editor, themes, sidebar toggles, etc.
  • Session management (17 keybinds) - Create, list, export, fork, share, navigate sessions
  • Messages & navigation (17 keybinds) - Scroll, navigate, copy, undo/redo messages
  • Model & agent management (12 keybinds) - List and cycle models, agents, commands
  • Input editing (6 keybinds) - Submit, newlines, clear, paste, undo/redo
  • Cursor movement (12 keybinds) - Move cursor by character, word, line, buffer
  • Text selection (11 keybinds) - Select text by character, word, line, buffer
  • Text deletion (7 keybinds) - Delete characters, words, lines
  • History (2 keybinds) - Navigate input history

Each entry includes:

  • The keybind configuration name
  • Default value(s)
  • Clear description of what it does

Descriptions are sourced directly from the config schema definitions in packages/opencode/src/config/config.ts.

Before/After

Before: Users had to look through the raw config JSON to understand what each keybind does.

After: Users can quickly scan a well-organized table to find keybinds by functionality and see what each does at a glance.

Test plan

  • Verified all descriptions match the source schema definitions
  • Organized keybinds into logical categories
  • Checked that default values are accurate
  • Ensured consistent formatting across all tables

Fixes #13792

🤖 Generated with Claude Code

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/13831 **State:** open **Merged:** No --- ## Summary This PR adds a comprehensive keybinds reference section to the keybinds documentation, making it easier for users to understand what each keybind does and quickly find the functionality they need. ## Changes **Added "Keybinds reference" section** with all keybinds organized into logical categories: - **Application & UI** (13 keybinds) - Leader key, exit, editor, themes, sidebar toggles, etc. - **Session management** (17 keybinds) - Create, list, export, fork, share, navigate sessions - **Messages & navigation** (17 keybinds) - Scroll, navigate, copy, undo/redo messages - **Model & agent management** (12 keybinds) - List and cycle models, agents, commands - **Input editing** (6 keybinds) - Submit, newlines, clear, paste, undo/redo - **Cursor movement** (12 keybinds) - Move cursor by character, word, line, buffer - **Text selection** (11 keybinds) - Select text by character, word, line, buffer - **Text deletion** (7 keybinds) - Delete characters, words, lines - **History** (2 keybinds) - Navigate input history Each entry includes: - The keybind configuration name - Default value(s) - Clear description of what it does Descriptions are sourced directly from the config schema definitions in `packages/opencode/src/config/config.ts`. ## Before/After **Before:** Users had to look through the raw config JSON to understand what each keybind does. **After:** Users can quickly scan a well-organized table to find keybinds by functionality and see what each does at a glance. ## Test plan - [x] Verified all descriptions match the source schema definitions - [x] Organized keybinds into logical categories - [x] Checked that default values are accurate - [x] Ensured consistent formatting across all tables Fixes #13792 🤖 Generated with [Claude Code](https://claude.com/claude-code)
yindo added the pull-request label 2026-02-16 18:19:35 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#14829