Ctrl+Backspace and Ctlr+Shift+Backspace emit the same character
Context
I have successfully created following key-bindings:
-
Ctrl+Delete to
kill-word(i.e., delete from cursor to the end of next word), -
Ctrl+Shift+Delete to
kill-line(i.e., delete from cursor to the end of the line), -
Ctrl+Backspace to
backward-kill-word(i.e., delete from cursor to the beginning of previous word).
I want now to bind Ctrl+Shift+Backspace to backward-kill-line (i.e., delete from cursor to the beginning of the line).
Problem
Ctrl+Backspace and Ctrl+Shift+Backspace emit the same character.
Indeed:
-
Ctrl+C Ctrl+Backspace prints
^H -
Ctrl+C Ctrl+Shift+Backspace prints
^H
I think it should emits another character, just like:
-
Ctrl+C Ctrl+Delete prints
^[[3;5~ -
Ctrl+C Ctrl+Shift+Delete prints
^[[3;6~
Configuration
Guake Terminal: 3.5.1 VTE: 0.52.2 VTE runtime: 0.52.2 Gtk: 3.22.30 Distro: Ubuntu 18.04.2 LTS GNOME: 3.28.2
Guake's terminal escapes come from upstream vte, so ideally this should be done upstream. I've found an old issue on the vte tracker, will see where this goes.
@EBoisseauSierra I'm sorry to dig up an old thread but how exactly did you manage to create those bindings? 🤔