about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorMarco Peereboom <marco@conformal.com>2011-07-07 16:47:41 +0000
committerMarco Peereboom <marco@conformal.com>2011-07-07 16:47:41 +0000
commit7e041265cff3de6dc82357c5e0e61083b0f15696 (patch)
tree380969421087c3dc9b495297e81c3da37ddcfb41
parent2119081cc065c39406b7cdb9b718a978bf843a66 (diff)
downloadxombrero-7e041265cff3de6dc82357c5e0e61083b0f15696.tar.gz
add F1 for help; makes the browser feel traditional.
-rw-r--r--xxxterm.12
-rw-r--r--xxxterm.c1
-rw-r--r--xxxterm.conf1
3 files changed, 4 insertions, 0 deletions
diff --git a/xxxterm.1 b/xxxterm.1
index 4091af2..f70ae9b 100644
--- a/xxxterm.1
+++ b/xxxterm.1
@@ -199,6 +199,8 @@ It can be useful when the
 option is used.
 .Pp
 .Bl -tag -width Ds -offset indent -compact
+.It Cm F1
+Alias for ":help"
 .It Cm F4
 Alias for ":toplevel toggle"
 .It Cm F9
diff --git a/xxxterm.c b/xxxterm.c
index eb8a3da..8367e55 100644
--- a/xxxterm.c
+++ b/xxxterm.c
@@ -4675,6 +4675,7 @@ struct key_binding {
 	{ "pasteuricur",	0,	0,	GDK_p		},
 	{ "pasteurinew",	0,	0,	GDK_P		},
 	{ "toplevel toggle",	0,	0,	GDK_F4		},
+	{ "help",		0,	0,	GDK_F1		},
 
 	/* search */
 	{ "searchnext",		0,	0,	GDK_n		},
diff --git a/xxxterm.conf b/xxxterm.conf
index c78db9b..1ad5c46 100644
--- a/xxxterm.conf
+++ b/xxxterm.conf
@@ -154,6 +154,7 @@
 # keybinding	= pasteuricur,p
 # keybinding	= pasteurinew,P
 # keybinding	= toplevel toggle,F4
+# keybinding	= help,F1
 # keybinding	= searchnext,n
 # keybinding	= searchprevious,N
 # keybinding	= focusaddress,F6