I'm using Fedora 30 with KDE and am trying to bind (Zsh) autosuggest-execute to Ctrl+Enter for convenience. I'm trying to get it to work in gnome-terminal.
However I discovered that showkey -a always returns ^M in these three cases: Enter, Ctrl+Enter, and Shift+Enter.
I tried this method (Ctrl <Return> : "\033M" in .XCompose), but it didn't work at all as the XCompose file wasn't being read. So I decided to install ibus as it is not shipped with my KDE install with dnf groupinstall input-methods.
Running ìbus-setup gets me this warning now:
GTK+ supports to output one char only: "\033M": ! Ctrl <Return> : "\033M"
Unfortunately all enter combinations still boil down to ^M in gnome-terminal as well as xterm.
Is there a way to differentiate between those key combinations with or without ibus?
.XComposecan only be a single (possibly multi-byte) character. I don't see how that "\033M" could've ever worked.