about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorMarco Peereboom <marco@conformal.com>2011-11-10 16:25:34 -0600
committerMarco Peereboom <marco@conformal.com>2011-11-10 16:25:34 -0600
commit3c8008377a02c749b96412491488ec2aeabb1360 (patch)
tree050deed0e581eceda037d984a6da7eb9badd0c76
parent0f139ca0e75dce3915edc8ecf82403d35dcdf985 (diff)
downloadxombrero-3c8008377a02c749b96412491488ec2aeabb1360.tar.gz
Modify some entry box overrides.
Ass a side effect of all the keyboard changes some keys lost their
override in address and search entry.  Bring some of those back (like
ctrl-t etc).  I am not sure I captured all the right ones so come debate
me if you think other changes need to be made to the defaults.  One can
always do their own by using the ! in a keybinding.
-rw-r--r--settings.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/settings.c b/settings.c
index 6bae81e..1f904e3 100644
--- a/settings.c
+++ b/settings.c
@@ -639,8 +639,8 @@ struct key_binding	keys[] = {
 	{ "searchb",		0,	0,	GDK_question	},
 	{ "statustoggle",	CTRL,	0,	GDK_n		},
 	{ "command",		0,	0,	GDK_colon	},
-	{ "qa",			CTRL,	0,	GDK_q		},
-	{ "restart",		MOD1,	0,	GDK_q		},
+	{ "qa",			CTRL,	1,	GDK_q		},
+	{ "restart",		MOD1,	1,	GDK_q		},
 	{ "js toggle",		CTRL,	0,	GDK_j		},
 	{ "plugin toggle",	MOD1,	0,	GDK_p		},
 	{ "cookie toggle",	MOD1,	0,	GDK_c		},
@@ -648,7 +648,7 @@ struct key_binding	keys[] = {
 	{ "yankuri",		0,	0,	GDK_y		},
 	{ "pasteuricur",	0,	0,	GDK_p		},
 	{ "pasteurinew",	0,	0,	GDK_P		},
-	{ "toplevel toggle",	0,	0,	GDK_F4		},
+	{ "toplevel toggle",	0,	1,	GDK_F4		},
 	{ "help",		0,	0,	GDK_F1		},
 	{ "run_script",		MOD1,	0,	GDK_r		},
 
@@ -657,8 +657,8 @@ struct key_binding	keys[] = {
 	{ "searchprevious",	0,	0,	GDK_N		},
 
 	/* focus */
-	{ "focusaddress",	0,	0,	GDK_F6		},
-	{ "focussearch",	0,	0,	GDK_F7		},
+	{ "focusaddress",	0,	1,	GDK_F6		},
+	{ "focussearch",	0,	1,	GDK_F7		},
 
 	/* hinting */
 	{ "hinting",		0,	0,	GDK_f		},
@@ -703,9 +703,9 @@ struct key_binding	keys[] = {
 	{ "scrollfarleft",	0,	0,	GDK_0		},
 
 	/* tabs */
-	{ "tabnew",		CTRL,	0,	GDK_t		},
-	{ "999tabnew",		CTRL,	0,	GDK_T		},
-	{ "tabclose",		CTRL,	1,	GDK_w		},
+	{ "tabnew",		CTRL,	1,	GDK_t		},
+	{ "999tabnew",		CTRL,	1,	GDK_T		},
+	{ "tabclose",		CTRL,	0,	GDK_w		},
 	{ "tabundoclose",	0,	0,	GDK_U		},
 	{ "tabnext 1",		CTRL,	0,	GDK_1		},
 	{ "tabnext 2",		CTRL,	0,	GDK_2		},