Fix accidental removal of Control-Tab combo. - sam - An updated version of the sam text editor.
(HTM) git clone git://vernunftzentrum.de/sam.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit bd6e95e5c619e60890f0c55bbd7313aacc0a1f95
(DIR) parent 66a80490495130fc4ff87bf4cea0de21a169feed
(HTM) Author: Rob King <jking@deadpixi.com>
Date: Fri, 9 Sep 2016 17:55:42 -0500
Fix accidental removal of Control-Tab combo.
Diffstat:
samterm/samrc.c | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
---
(DIR) diff --git a/samterm/samrc.c b/samterm/samrc.c
@@ -116,10 +116,7 @@ static Defaultbinding defaultbindings[] ={
{ControlMask, XK_c, Kcommand, Csnarf},
{ControlMask, XK_v, Kcommand, Cpaste},
{ControlMask, XK_q, Kcommand, Cexchange},
-
- /* Use Control-Tab to insert a literal tab when tab expansion is enabled. */
- {ControlMask, XK_Tab, Kcomposed, '\t'},
-
+
/* Handle arrow keys, page up/down, and escape. */
{0, XK_Up, Kcommand, Cscrollup},
{0, XK_Prior, Kcommand, Cscrollup},
@@ -152,6 +149,10 @@ static Defaultbinding defaultbindings[] ={
{0, XK_KP_Add, Kraw, '+'},
{0, XK_KP_Decimal, Kraw, '.'},
{0, XK_hyphen, Kraw, '-'},
+
+ /* Use Control-Tab to insert a literal tab when tab expansion is enabled. */
+ {ControlMask, XK_Tab, Kcomposed, '\t'},
+
{0, 0, Kend, 0}
};