GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Alt+d can no longer be remapped · Issue #4808 · anomalyco/opencode

Alt+d can no longer be remapped #4808

New issue
Copy link
New issue
Copy link
Closed
Closed
Alt+d can no longer be remapped#4808
Copy link
Assignees
kommander
Labels
bugSomething isn't workingopentuiThis relates to changes in v1.0, now that opencode uses opentui

Description

@berenddeboer
berenddeboer
opened on Nov 27, 2025
Issue body actions

Description

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

  1. Add keybinding to opencode.json
  2. Press alt+d
  3. This will do delete line.

Screenshot and/or share link

No response

Operating System

Ubuntu 24.04

Terminal

Alacritty, tmux

Activity

  1. berenddeboer
    added
    bugSomething isn't working
    on Nov 27, 2025
  2. github-actions
    added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Nov 27, 2025
  3. github-actions commented on Nov 27, 2025

    @github-actions
    github-actionsBot
    on Nov 27, 2025 – with GitHub Actions
    Contributor
    More actions

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

    • Keybind doesn't work in 1.0.7 #3675: Keybind doesn't work in 1.0.7 - Custom keybindings not working after update
    • Keybind: ctrl+j stopped working in 1.0 #3849: Keybind: ctrl+j stopped working in 1.0 - Custom keybindings being overridden by defaults
    • Keybind: <leader>q for app_exit doesn't exit in 1.0 #3851: Keybind: q for app_exit doesn't exit in 1.0 - Custom keybindings not working with leaders
    • opentui: input_submit not reading <leader> keybind properly #3557: opentui: input_submit not reading keybind properly - Custom keybindings not being read properly

    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.

  4. ariane-emory commented on Nov 27, 2025

    @ariane-emory
    ariane-emory
    on Nov 27, 2025
    Contributor
    More actions

    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).

  5. jasonish commented on Nov 29, 2025

    @jasonish
    jasonish
    on Nov 29, 2025
    More actions

    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
  6. rekram1-node
    assigned
    kommander
    on Dec 1, 2025
  7. rekram1-node
    added a parent issue on Dec 2, 2025
    • Keybinds #4997
  8. berenddeboer commented on Dec 11, 2025

    @berenddeboer
    berenddeboer
    on Dec 11, 2025
    Author
    More actions

    Seems to work again!

  9. berenddeboer
    closed this as completedon Dec 11, 2025
  10. berenddeboer commented on Dec 15, 2025

    @berenddeboer
    berenddeboer
    on Dec 15, 2025
    Author
    More actions

    People, just specify:

      "keybinds": {
        "input_delete": "ctrl+d"
      }

    that fixes it for me.

  11. jasonish commented on Dec 15, 2025

    @jasonish
    jasonish
    on Dec 15, 2025
    More actions

    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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @kommander
    kommander

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

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.