On 28/12/2021 15:25, Anssi Saari wrote:
As C-, isn't usually a control character in a terminal, terminals send just the comma if I hit C-,. Some terminals (at least wsltty) do send some kind of control sequence but I don't know if mapping other terminals to do the same (Konsole and urxvt at least) and changing the keys for Emacs makes sense. I'd have to do it for every terminal I ever use.
I have never tried recipes that deals with features of modern terminal emulators.
Alternatively, any suggestions for a more terminal friendly key combination for org-insert-structure-template in Emacs?
You may try old method (require 'org-tempo) < s TAB instead.