Skip to content

Cannot select skills when invoked from insert mode #9

Description

@tupton

In insert mode, typing /skills brings up the /-command palette where I can select the /skills command. However, the skills selection panel that subsequently opens does not allow me to actually select a skill. I can navigate with arrows and ctrl-j/k, but I cannot use Enter to select a skill. I have to dismiss the dialog, exit insert mode, then type /skills, enter, select the skill, then finally enter works.

I am using OpenCode 1.18.29 and plugin version 0.1.6 (latest main).

My plugin config is:

"plugin": [
  [
    "@leohenon/opencode-vim-plugin",
    {
      "enabled": true,
      "indicator": true,
      "vim_enter_submit": true,
      "vim_insert_after_submit": true,
      "vim_system_clipboard_register": true
    }
  ]
]

I have tried "vim_enter_submit": false as well, but the behavior in the skills selection panel is the same: no effect of Enter when navigating to it from insert mode.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions