zed icon indicating copy to clipboard operation
zed copied to clipboard

Fix `ctrl-delete` in terminal

Open hron opened this issue 6 months ago • 2 comments

Closes #30719

Release Notes:

  • Fixed ctrl-delete in terminal, now it deletes a word forward

hron avatar May 14 '25 19:05 hron

This does not work as expected for me on macOS (inserts ~5 in the terminal). I assume it works for you in Linux though?

I was able to get the desired behavior with the following keymap changes:

  {
    "context": "Terminal",
    "bindings": {
      "ctrl-delete": ["terminal::SendText", "\u001bd"],
    }
  }

notpeter avatar May 16 '25 08:05 notpeter

@notpeter , yes I'm on Linux and your keymap change works for me! I assume the proper fix would be the change in the default keymaps?

hron avatar May 16 '25 12:05 hron

Yep! Thanks.

notpeter avatar May 19 '25 13:05 notpeter