[hackers] [st][PATCH] config: add Ctrl-Tab, Shift-Ctrl-Tab Xterm escapes

From: Igor Bukanov <igor_AT_mir2.org>
Date: Mon, 18 Feb 2019 09:41:40 +0100

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
_AT_@ -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
Received on Mon Feb 18 2019 - 09:41:40 CET

This archive was generated by hypermail 2.3.0 : Mon Feb 18 2019 - 09:48:24 CET