VSCode.OSKeybindings icon indicating copy to clipboard operation
VSCode.OSKeybindings copied to clipboard

Bug: Terminal actions like `deleteWordRight` are no longer available

Open notpushkin opened this issue 1 year ago • 2 comments

Before You Begin

Before proceeding, please make sure to follow these steps:

  • [x] I have checked for similar issues in the project's issue tracker.
  • [x] I have searched closed issues to see if a similar problem was reported before.

Issue Details

VSCode team removed actions like workbench.action.terminal.deleteWordRight: https://github.com/microsoft/vscode/issues/95802

The recommended alternative is to use workbench.action.terminal.sendSequence with an escape sequence:

{
	"key": "ctrl+delete",
	"command": "workbench.action.terminal.sendSequence",
	"when": "terminalFocus",
	"args": { "text": "\u001bd" }
}

System Information

Please provide the following additional information about your system or environment:

  • Operating System (OS): Linux
  • OS Version: Fedora Linux Asahi Remix 39
  • Browser (if applicable): -
  • Browser Version (if applicable): -
  • Project Version (if applicable): v1.40.1

notpushkin avatar Jun 14 '24 08:06 notpushkin

Hi thanks for this. Hopefully this has been addressed by '1.92.1'. It seems that microsoft make pretty rapid changes which can be pretty hard to keep up with. Let me know if this has fixes things for you :)

FredHappyface avatar Aug 25 '24 15:08 FredHappyface

I'll give it a try tomorrow and let you know how it goes!

notpushkin avatar Aug 26 '24 11:08 notpushkin

Going to close this issue now. Please feel free to reopen if needed

FredHappyface avatar Jan 10 '25 23:01 FredHappyface