commit 46b5f83601197ba4ecd65c30078dd2d6a1b9efa2
parent 6d5b16562fbf9b9f934acda16ed08023cfac4703
Author: Benno Schulenberg <bensberg@telfort.nl>
Date: Mon, 4 Oct 2021 12:02:04 +0200
tweaks: fold two lines into two others, for conciseness
Diffstat:
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/src/global.c b/src/global.c
@@ -1442,11 +1442,9 @@ void shortcut_init(void)
add_to_sclist(MGOTOLINE, "^W", 0, to_para_begin, 0);
add_to_sclist(MGOTOLINE, "^O", 0, to_para_end, 0);
#endif
- add_to_sclist(MGOTOLINE|MFINDINHELP, "^Y", 0, to_first_line, 0);
- add_to_sclist(MGOTOLINE|MFINDINHELP, "^V", 0, to_last_line, 0);
/* Some people are used to having these keystrokes in the Search menu. */
- add_to_sclist(MWHEREIS, "^Y", 0, to_first_line, 0);
- add_to_sclist(MWHEREIS, "^V", 0, to_last_line, 0);
+ add_to_sclist(MGOTOLINE|MWHEREIS|MFINDINHELP, "^Y", 0, to_first_line, 0);
+ add_to_sclist(MGOTOLINE|MWHEREIS|MFINDINHELP, "^V", 0, to_last_line, 0);
#ifdef ENABLE_BROWSER
add_to_sclist(MWHEREISFILE, "^Y", 0, to_first_file, 0);
add_to_sclist(MWHEREISFILE, "^V", 0, to_last_file, 0);