about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorTodd Fries <todd@fries.net>2010-02-25 03:36:06 +0000
committerTodd Fries <todd@fries.net>2010-02-25 03:36:06 +0000
commit63755cc0d084a7a0cdc63b261c0a829ced525a00 (patch)
treee8594e122c6dd76b41a5a9414fab4fbcd27f2e9a
parentb0f837b551e0aa51144895475288a29bee9c52b5 (diff)
downloadxombrero-63755cc0d084a7a0cdc63b261c0a829ced525a00.tar.gz
match refresh keys in vi (C-r/C-l)
"yes like it" marco@
-rw-r--r--xxxterm.14
-rw-r--r--xxxterm.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/xxxterm.1 b/xxxterm.1
index 9be7f7e..addaf15 100644
--- a/xxxterm.1
+++ b/xxxterm.1
@@ -146,6 +146,10 @@ quit
 Focus on URI entry
 .It Cm F5
 Refresh page
+.It Cm C-r
+Refresh page
+.It Cm C-l
+Refresh page
 .It Cm Backspace
 Previous page
 .It Cm M-Left
diff --git a/xxxterm.c b/xxxterm.c
index 033f5ce..5618e83 100644
--- a/xxxterm.c
+++ b/xxxterm.c
@@ -652,6 +652,8 @@ struct key {
 	{ GDK_SHIFT_MASK,	0,	GDK_BackSpace,	navaction,	{.i = XT_NAV_FORWARD} },
 	{ GDK_MOD1_MASK,	0,	GDK_Right,	navaction,	{.i = XT_NAV_FORWARD} },
 	{ 0,			0,	GDK_F5,		navaction,	{.i = XT_NAV_RELOAD} },
+	{ GDK_CONTROL_MASK,	0,	GDK_r,		navaction,	{.i = XT_NAV_RELOAD} },
+	{ GDK_CONTROL_MASK,	0,	GDK_l,		navaction,	{.i = XT_NAV_RELOAD} },
 
 	/* vertical movement */
 	{ 0,			0,	GDK_j,		move,		{.i = XT_MOVE_DOWN} },