Skip to content

"home" and "end" keys are bound twice #14899

@FichteFoll

Description

@FichteFoll

Description

In the default key bindings (according to https://opencode.ai/docs/keybinds/), the home and end keys are bound twice and it appears that for me the messages bindings always take precedence.

    "messages_first": "ctrl+g,home",
    "messages_last": "ctrl+alt+g,end",
    "input_buffer_home": "home",
    "input_buffer_end": "end",

Of course, I can alter these to fit my needs, but imo the defaults are wrong – especially since opencode does not seem to operate in input modes or with any kind of "input focus".

Plugins

None

OpenCode version

1.1.53

Steps to reproduce

  1. Enter text in a prompt.
  2. Try to move the caret in the input using home or end keys.
  3. Nothing happens (it tries to scroll the message history but there is none. if you alread have a message history, it wil scroll that instead)

Screenshot and/or share link

No response

Operating System

Arch Linux

Terminal

alacritty

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingopentuiThis relates to changes in v1.0, now that opencode uses opentui

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions