From 52ba76b2a2d249eb91657b5f8d0520302e1324c2 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Sun, 30 Sep 2018 14:05:35 +0200 Subject: [PATCH] help: show and instead of F7 and F8 for pagewise scrolling The dedicated editing keys make sense, whereas the function keys are bound only for compatibility with Pico. --- src/global.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/global.c b/src/global.c index b8919b53..9aebe36f 100644 --- a/src/global.c +++ b/src/global.c @@ -1125,12 +1125,12 @@ void shortcut_init(void) add_to_sclist(MMAIN, "F13", 0, do_gotolinecolumn_void, 0); add_to_sclist(MMAIN|MHELP|MBROWSER|MLINTER, "^Y", 0, do_page_up, 0); add_to_sclist(MHELP|MBROWSER, "Bsp", KEY_BACKSPACE, do_page_up, 0); - add_to_sclist(MMAIN|MHELP|MBROWSER|MLINTER, "F7", 0, do_page_up, 0); add_to_sclist(MMAIN|MHELP|MBROWSER|MLINTER, "PgUp", KEY_PPAGE, do_page_up, 0); + add_to_sclist(MMAIN|MHELP|MBROWSER|MLINTER, "F7", 0, do_page_up, 0); add_to_sclist(MMAIN|MHELP|MBROWSER|MLINTER, "^V", 0, do_page_down, 0); add_to_sclist(MHELP|MBROWSER, "Space", 0x20, do_page_down, 0); - add_to_sclist(MMAIN|MHELP|MBROWSER|MLINTER, "F8", 0, do_page_down, 0); add_to_sclist(MMAIN|MHELP|MBROWSER|MLINTER, "PgDn", KEY_NPAGE, do_page_down, 0); + add_to_sclist(MMAIN|MHELP|MBROWSER|MLINTER, "F8", 0, do_page_down, 0); add_to_sclist(MMAIN|MHELP, "M-\\", 0, to_first_line, 0); add_to_sclist(MMAIN|MHELP, "^Home", CONTROL_HOME, to_first_line, 0); add_to_sclist(MMAIN|MHELP, "M-/", 0, to_last_line, 0);