To map shortcuts like Ctrl+Bksp/Del
to delete words backwards and forwards in Konsole:
- Go to Settings > Edit Current Profile... > Keyboard > Edit...`
- Edit (or add) the following key combos if they don't already exist:
Key Combination | Output | (Explanation) |
---|---|---|
Backspace-Ctrl | \x7f | Backspace without Ctrl should just delete the character before the cursor |
Backspace+Ctrl | \E\b | Backspace with Ctrl should delete the word before the cursor. ^H should be encoded as \x08 (ascii control character code in hex) but Konsole converts that to \b , it's code for backspace. |