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 Mintty [1].

[1] - https://github.com/mintty/mintty/wiki/Keycodes#special-keys
---
 config.def.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/config.def.h b/config.def.h
index 0e01717..410dd92 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[1;5I",     0,    0},
+       { XK_ISO_Left_Tab, ShiftMask|ControlMask,"\033[1;6I",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