Unrecognized keys: "messages_line_up", "messages_line_down" keybinds #6789

Closed
opened 2026-02-16 18:05:17 -05:00 by yindo · 5 comments
Owner

Originally created by @LaiqianDS on GitHub (Jan 19, 2026).

If copying the opencode.json at Keybinds page, when you run opencode, an error occurs:

Unrecognized keys: "messages_line_up", "messages_line_down" keybinds

Originally created by @LaiqianDS on GitHub (Jan 19, 2026). If copying the opencode.json at [Keybinds page](https://opencode.ai/docs/keybinds/), when you run opencode, an error occurs: > Unrecognized keys: "messages_line_up", "messages_line_down" keybinds
yindo added the opentuidocs labels 2026-02-16 18:05:17 -05:00
yindo closed this issue 2026-02-16 18:05:17 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 19, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #6145: [Discussion] Make config tolerant of unknown keys for forward compatibility - discusses the same 'Unrecognized keys' validation error
  • #5085: Unrecognized key: "limit" provider.llama.cpp - similar error when copying config from documentation
  • #3556: opentui: config unrecognized keys - same error pattern with unrecognized keybinds
  • #6397: [FEATURE]: Missing key commands ought not be fatal errors - related discussion about handling unrecognized keybinds gracefully

Feel free to ignore if none of these address your specific case.

For keybind-related issues, please also check our pinned keybinds documentation: #4997

@github-actions[bot] commented on GitHub (Jan 19, 2026): This issue might be a duplicate of existing issues. Please check: - #6145: [Discussion] Make config tolerant of unknown keys for forward compatibility - discusses the same 'Unrecognized keys' validation error - #5085: Unrecognized key: "limit" provider.llama.cpp - similar error when copying config from documentation - #3556: opentui: config unrecognized keys - same error pattern with unrecognized keybinds - #6397: [FEATURE]: Missing key commands ought not be fatal errors - related discussion about handling unrecognized keybinds gracefully Feel free to ignore if none of these address your specific case. For keybind-related issues, please also check our pinned keybinds documentation: #4997
Author
Owner

@MartinDelille commented on GitHub (Jan 21, 2026):

I have this issue too. I tried to change the keybinding because the ones from the docs weren't working and I had the error. Here is my partial config:

{
  "$schema": "https://opencode.ai/config.json",
  ...
  "keybinds": {
    "messages_line_up": "Ctrl+k",
    "messages_line_down": "Ctrl+j",
  },
...
}
@MartinDelille commented on GitHub (Jan 21, 2026): I have this issue too. I tried to change the keybinding because the ones from the docs weren't working and I had the error. Here is my partial config: ```jsonc { "$schema": "https://opencode.ai/config.json", ... "keybinds": { "messages_line_up": "Ctrl+k", "messages_line_down": "Ctrl+j", }, ... } ```
Author
Owner

@rekram1-node commented on GitHub (Jan 21, 2026):

Hm what version are yall on?

@rekram1-node commented on GitHub (Jan 21, 2026): Hm what version are yall on?
Author
Owner

@rekram1-node commented on GitHub (Jan 21, 2026):

If you upgrade to latest this should be resolved, I cannot replicate

@rekram1-node commented on GitHub (Jan 21, 2026): If you upgrade to latest this should be resolved, I cannot replicate
Author
Owner

@MartinDelille commented on GitHub (Jan 21, 2026):

I was using 1.1.25. I moved to 1.1.28 and it fixed the issue with the following keybindings:

  "keybinds": {
    "messages_line_up": "ctrl+y",
    "messages_line_down": "ctrl+e",
  },
@MartinDelille commented on GitHub (Jan 21, 2026): I was using 1.1.25. I moved to 1.1.28 and it fixed the issue with the following keybindings: ``` "keybinds": { "messages_line_up": "ctrl+y", "messages_line_down": "ctrl+e", }, ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#6789