From 63755cc0d084a7a0cdc63b261c0a829ced525a00 Mon Sep 17 00:00:00 2001 From: Todd Fries Date: Thu, 25 Feb 2010 03:36:06 +0000 Subject: match refresh keys in vi (C-r/C-l) "yes like it" marco@ --- xxxterm.1 | 4 ++++ xxxterm.c | 2 ++ 2 files changed, 6 insertions(+) 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} }, -- cgit 1.4.1-2-gfad0