On Sat, Jul 27, 2013 at 12:00:04PM -0500, Eric Pruitt wrote: > In my configuration for st, I have the following Key entry for > Control+Shift+Tab: > > { XK_ISO_Left_Tab, ShiftMask | ControlMask, "\033[27;6;9~", 0, 0, 0}, > > I would also like to use Control+Tab, so I added the following entry > above that: > > { XK_ISO_Left_Tab, ControlMask, "\033[27;5;9~", 0, 0, 0}, > > After recompiling st, pressing Control+Tab still does not emit the > desired key sequence, but Control+Shift+Tab works fine. How can I > configure st so that pressing Control+Tab emits "\033[27;5;9~"?
After poking around some more, I learned that when using Control+Tab, the KeySym value is XK_Tab instead of XK_ISO_Left_Tab although I am not sure why using "Shift" changes that and "Control" does not. To use Control+Tab, I changed what I originally had to: { XK_Tab, ControlMask, "\033[27;5;9~", 0, 0, 0}, Pressing Control+Tab now emits the sequence I want. Eric