-
Notifications
You must be signed in to change notification settings - Fork 12.2k
Closed
Labels
bugSomething isn't workingSomething isn't workingopentuiThis relates to changes in v1.0, now that opencode uses opentuiThis relates to changes in v1.0, now that opencode uses opentui
Description
Description
I'm in love with opencode! However, the editing experience for writting prompts (which is an essential piece of such a CLI) is very bad because a bunch of keyboard shortcuts don't work.
- I can't enter a new line.
shift+entersubmits,ctrl+entersubmits.ctrl+jis a default shortcut in VSCode. For every other CLI (e.g. codex),ctrl+enterinserts a new line.
Related issues: shift+enter keybinding not working #1505, Line breaks do not work any more in the latest version #4189 - I can't navigate fast across a prompt (e.g. I want to edit a part of the prompt way ealier or way latter than where I am right now) and need to keep pressing "left" / "right" for a while:
- I can't jump to the previous / next word.
ctrl+leftandctrl+rightdon't work while the standard is to jump before / after word.
Related issues: ctrl + arrow key no longer moves word-to-word #1975, add ctrl+left/right to navigate by word #3090, - I can't jump to the beginning / end of the prompt.
ctrl+pageupandctrl+pagedownscroll the conversation, instead of the standard jump to beginning / end of text.
Related issues: Standard keyboard cursor navigation (Home/End key, ctrl+left/right key) #2649
- I can't jump to the previous / next word.
- I can't delete the word just after with
ctrl+suppr. It deletes everything (before and after!!). The standard isctrl+deleteto delete the word before (it works) andctrl+supprto delete the word after. It doesn't work.
There are already a lot of issues on this subject, but they don't seem to be worked on at all, while it seems to be a very important matter. The single biggest reason I'm looking for alternatives to opencode is because the editing experience is so bad right now.
Context: I'm on Ubuntu and I use opencode in a terminal opened in VSCode.
OpenCode version
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingopentuiThis relates to changes in v1.0, now that opencode uses opentuiThis relates to changes in v1.0, now that opencode uses opentui