Skip to content

ctrl+n/p not work in the picker anymore #4902

Closed

Description

@towry

Description

it was working, now not work anymore, make it hard to use.

OpenCode version

1.0.120

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Activity

  1. added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Nov 29, 2025
  2. github-actions commented on Nov 29, 2025

    @github-actions
    Contributor

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

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

  3. ariane-emory commented on Nov 29, 2025

    @ariane-emory
    Contributor

    I do not know which 'picker' in particular you are referring to, but the change to ctrl+p's behaviour is a deliberate change, and is not a bug, when using the default key binding configuration that key is now meant to open the command_list menu.

    The user can rebind these keys themselves if they prefer different keys.

    My preferred key bindings might be similar to yours, in my opencode.jsonc I have these keys bound as follows:

      "keybinds": {
        "command_list": "alt+x",
        "history_next": "ctrl+n",
        "history_previous": "ctrl+p",
      },
  4. towry commented on Nov 30, 2025

    @towry
    Author

    The command list menu/picker.

    downgraded to 1.0.119, it working well

    • ctrl-p open the menu
    • input query
    • ctrl-n/p to navigate quickly

    Can confirm i is broken in 1.0.120

    Still broken in 1.0.122

    Also, ctrl-p/n not work for theme picker too.


    Just curious, Will this issue bother you? it bother me a lot, i don't use arrow key, it is far from the main keyboard area. I use ctrl+n/p a lot and most prefer the vim key, like j/k can navigate list selection(non query list).

    cladue and amp tui support ctrl+n/p and j/k very well in all kind of picker. Opencode was working well too.

  5. towry commented on Dec 10, 2025

    @towry
    Author

    Closing as in version 1.0.141, it worked again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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