How use command+backspace to delete a line in the terminal (MacOS version)

I am using Royal TS on Mac OS, but unfortunately, when trying to delete a line in the terminal using the command+backspace combination, a window pops up suggesting to delete an object, which is a virtual machine in this case. Could you please assist me with this issue (I want to erase using this specific command, not ctrl+u)?

Hi there,

you can achieve this by doing the following:

  • Open the properties of your terminal connection

  • Switch to the “Input - Key Mappings” section

  • Add a new mapping from Command+Backspace to “Send Hex Code” and enter 0x15 as the value.

  • Open System Settings

  • Go to “Keyboard - Keyboard Shortcuts - App Shortcuts”

  • Click the “+” icon to add a new shortcut

  • Select “Royal TSX” as the target application

  • In the “Menu Title” field enter “Delete”

  • Set any keyboard shortcut you like but NOT “Command+Backspace”

Hope that helps!

cheers,

Felix

Is there a way to make this the default behavior for all SSH connections? With this method I would need to manually update all of my existing configs

Thanks!

Hi Nasatik, yes, that’s what bulk-edit is for. See https://www.royalapps.com/go/kb-ts-mac-bulkedit for more details. Cheers, Felix