about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--xxxterm.14
-rw-r--r--xxxterm.c8
-rw-r--r--xxxterm.conf4
3 files changed, 12 insertions, 4 deletions
diff --git a/xxxterm.1 b/xxxterm.1
index 366998f..83f8fad 100644
--- a/xxxterm.1
+++ b/xxxterm.1
@@ -185,12 +185,16 @@ option is used.
 .Bl -tag -width Ds -offset indent -compact
 .It Cm F9
 Alias for ":open"
+.Pq Cm open
 .It Cm F10
 Alias for ":open current-uri"
+.Pq Cm opencurrent
 .It Cm F11
 Alias for ":tabnew"
+.Pq Cm tabnew
 .It Cm F12
 Alias for ":tabnew current-uri"
+.Pq Cm tabnewcurrent
 .El
 .Ss Navigation Commands
 These commands allow the user to navigate web pages and,
diff --git a/xxxterm.c b/xxxterm.c
index 260f646..f3748e1 100644
--- a/xxxterm.c
+++ b/xxxterm.c
@@ -4691,10 +4691,10 @@ struct key_binding {
 	{ "focussearch",	0,	0,	GDK_F7,		focus,		{.i = XT_FOCUS_SEARCH} },
 
 	/* command aliases (handy when -S flag is used) */
-	{ NULL,			0,	0,	GDK_F9,		command,	{.i = XT_CMD_OPEN} },
-	{ NULL,			0,	0,	GDK_F10,	command,	{.i = XT_CMD_OPEN_CURRENT} },
-	{ NULL,			0,	0,	GDK_F11,	command,	{.i = XT_CMD_TABNEW} },
-	{ NULL,			0,	0,	GDK_F12,	command,	{.i = XT_CMD_TABNEW_CURRENT} },
+	{ "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} },
diff --git a/xxxterm.conf b/xxxterm.conf
index fd9e14e..463b69f 100644
--- a/xxxterm.conf
+++ b/xxxterm.conf
@@ -144,6 +144,10 @@
 # keybinding	= searchprev,N
 # keybinding	= focusaddress,F6
 # keybinding	= focussearch,F7
+# keybinding	= open,F9
+# keybinding	= opencurrent,F10
+# keybinding	= tabnew,F11
+# keybinding	= tabnewcurrent,F12
 # keybinding	= hinting,f
 # keybinding	= userstyle,i
 # keybinding	= goback,BackSpace