about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorMarco Peereboom <marco@conformal.com>2011-03-07 16:05:14 +0000
committerMarco Peereboom <marco@conformal.com>2011-03-07 16:05:14 +0000
commit59bf8bb859eff4a95f50a090ab9b1098c6d0934c (patch)
tree9684ea1f9fa29b20998fb1e4e9289510182de06b
parent15d179ff0fa5ece643d60efd9e93b750e9bd345e (diff)
downloadxombrero-59bf8bb859eff4a95f50a090ab9b1098c6d0934c.tar.gz
move command aliasses down on the list so that they don't take precedence
over actaul keybindings
-rw-r--r--xxxterm.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/xxxterm.c b/xxxterm.c
index f3748e1..a2db15c 100644
--- a/xxxterm.c
+++ b/xxxterm.c
@@ -4690,12 +4690,6 @@ struct key_binding {
 	{ "focusaddress",	0,	0,	GDK_F6,		focus,		{.i = XT_FOCUS_URI} },
 	{ "focussearch",	0,	0,	GDK_F7,		focus,		{.i = XT_FOCUS_SEARCH} },
 
-	/* command aliases (handy when -S flag is used) */
-	{ "open",		0,	0,	GDK_F9,		command,	{.i = XT_CMD_OPEN} },
-	{ "opencurrent",	0,	0,	GDK_F10,	command,	{.i = XT_CMD_OPEN_CURRENT} },
-	{ "tabnew",		0,	0,	GDK_F11,	command,	{.i = XT_CMD_TABNEW} },
-	{ "tabnewcurrent",	0,	0,	GDK_F12,	command,	{.i = XT_CMD_TABNEW_CURRENT} },
-
 	/* hinting */
 	{ "hinting",		0,	0,	GDK_f,		hint,		{.i = 0} },
 
@@ -4758,6 +4752,13 @@ struct key_binding {
 	{ "focusout",		CTRL,	0,	GDK_minus,	resizetab,	{.i = -1} },
 	{ "focusin",		CTRL,	0,	GDK_plus,	resizetab,	{.i = 1} },
 	{ "focusin",		CTRL,	0,	GDK_equal,	resizetab,	{.i = 1} },
+
+	/* command aliases (handy when -S flag is used) */
+	{ "open",		0,	0,	GDK_F9,		command,	{.i = XT_CMD_OPEN} },
+	{ "opencurrent",	0,	0,	GDK_F10,	command,	{.i = XT_CMD_OPEN_CURRENT} },
+	{ "tabnew",		0,	0,	GDK_F11,	command,	{.i = XT_CMD_TABNEW} },
+	{ "tabnewcurrent",	0,	0,	GDK_F12,	command,	{.i = XT_CMD_TABNEW_CURRENT} },
+
 };
 TAILQ_HEAD(keybinding_list, key_binding);