Ctrl-Tab, Shift-Ctrl-Tab are common combinations to switch between tabs
or panes in applications. This adds their mapping into escape sequences
following definitions from Xterm.
---
 config.def.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/config.def.h b/config.def.h
index 0e01717..aa2642b 100644
--- a/config.def.h
+++ b/config.def.h
@@ -322,6 +322,8 @@ static Key key[] = {
        { XK_Right,         XK_ANY_MOD,     "\033[C",        0,   -1},
        { XK_Right,         XK_ANY_MOD,     "\033OC",        0,   +1},
        { XK_ISO_Left_Tab,  ShiftMask,      "\033[Z",        0,    0},
+       { XK_Tab,           ControlMask,    "\033[27;5;9~",  0,    0},
+       { XK_ISO_Left_Tab,ShiftMask|ControlMask,"\033[27;6;9~",0,  0},
        { XK_Return,        Mod1Mask,       "\033\r",        0,    0},
        { XK_Return,        XK_ANY_MOD,     "\r",            0,    0},
        { XK_Insert,        ShiftMask,      "\033[4l",      -1,    0},
-- 
2.20.1


Reply via email to