GeezerVison is showing github.com — Alt+d can no longer be remapped · Issue #4808 · anomalyco/opencode
Alt+d can no longer be remapped #4808Labels bugSomething isn't workingopentuiThis relates to changes in v1.0, now that opencode uses opentui DescriptionDescription
This was like working yesterday!!. I have this in my opencode.json:
"keybinds": {
"input_forward_delete": "alt+d",
}
I prefer to have it delete word, but that doesn't exist. This worked like yesterday or the day before, but no longer with 1.0.115.
It has reverted to doing delete line, which is superannoying.
OpenCode version
1.0.115
Steps to reproduce
- Add keybinding to
opencode.json
- Press alt+d
- This will do delete line.
Screenshot and/or share link
No response
Operating System
Ubuntu 24.04
Terminal
Alacritty, tmux Activitygithub-actions commented on Nov 27, 2025 This issue might be a duplicate of existing issues. Please check:
These all appear to be related to custom keybinding configuration not working properly in v1.0 versions. Feel free to ignore if your specific case differs from these. ariane-emory commented on Nov 27, 2025 I think something related to your environment (terminal emulator/keyboard mapper/etc) must be involved here, I tried the same keybinding you showed and it's working for me (on MacOS/iTerm2). jasonish commented on Nov 29, 2025 I don't configure any bindings, but came here looking for why alt+d is delete line instead of delete word. Is this intentional? Quite frustrating, especially for us bash and probably zsh users :) Reacted by mgrachten and Scott Baxter berenddeboer commented on Dec 11, 2025 berenddeboer commented on Dec 15, 2025 People, just specify:
"keybinds": {
"input_delete": "ctrl+d"
}
that fixes it for me. jasonish commented on Dec 15, 2025
I don't configure any bindings, but came here looking for why alt+d is delete line instead of delete word. Is this intentional? Quite frustrating, especially for us bash and probably zsh users :)
I'd like to note that as of commit c12be73, "alt+d" does the more common expectation of deleteing word forward, rather than delete line. Thanks! Reacted by Scott Baxter and mgrachten
MetadataMetadatabugSomething isn't workingopentuiThis relates to changes in v1.0, now that opencode uses opentui DevelopmentNo branches or pull requestsIssue actions
|