opencode icon indicating copy to clipboard operation
opencode copied to clipboard

ctrl + arrow key no longer moves word-to-word

Open khimaros opened this issue 4 months ago • 9 comments

in a recent release, ctrl+left or ctrl+right are no longer working

it was working as of the release from about 2 weeks ago at least

khimaros avatar Aug 15 '25 21:08 khimaros

i see, this was recently changed to allow switching sessions

it seems like maybe i can get back tot he old behavior by removing those binds in my configuration

khimaros avatar Aug 15 '25 21:08 khimaros

actually, even with this config it doesn't work anymore:

  "keybinds": {
    "session_child_cycle": "none",
    "session_child_cycle_reverse": "none",
  },

khimaros avatar Aug 15 '25 21:08 khimaros

confirmed, after upgrading from 1.5.1 -> 1.5.4

mchzimm avatar Aug 16 '25 12:08 mchzimm

we will look into this

rekram1-node avatar Aug 16 '25 12:08 rekram1-node

seems to be working now in 1.5.7 with the aforementioned config

khimaros avatar Aug 18 '25 22:08 khimaros

https://github.com/sst/opencode/issues/1975#issuecomment-3192835872

This config is now working for me. Would be a sane default, given how most CLIs work, but for now the config change is workable

CSRessel avatar Oct 15 '25 16:10 CSRessel

This isn't working for me:

"keybinds": {
    // "session_child_cycle": "none",
    // "session_child_cycle_reverse": "none",
    "session_child_cycle": "shift+right",
    "session_child_cycle_reverse": "shift+left",
  },

I'm on linux and when I use ctrl+<left|right> it doesn't do anything.

MilesNorton avatar Nov 27 '25 02:11 MilesNorton

I'm on it

MilesNorton avatar Dec 11 '25 11:12 MilesNorton

this is fixed as of 1.0.147

Nindaleth avatar Dec 11 '25 19:12 Nindaleth