From 8e302738e86b4c039a1861b65cf0a30902c80c64 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Sun, 31 Mar 2019 13:23:25 +0200 Subject: [PATCH] bindings: recognize the ^W^Y and ^W^V legacy keystrokes again The keystrokes are recognized and acted upon, but they are not visible in the menu nor in the help text, and they cannot be rebound. They are there just to avoid frustrating the muscle memory of long-time users. This fixes https://savannah.gnu.org/bugs/?56002. Reported-by: Peter Zwegat --- src/global.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/global.c b/src/global.c index 3dd07882..a4e57739 100644 --- a/src/global.c +++ b/src/global.c @@ -1309,6 +1309,9 @@ void shortcut_init(void) #endif add_to_sclist(MGOTOLINE, "^Y", 0, to_first_line, 0); add_to_sclist(MGOTOLINE, "^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); #ifdef ENABLE_BROWSER add_to_sclist(MWHEREISFILE, "^Y", 0, to_first_file, 0); add_to_sclist(MWHEREISFILE, "^V", 0, to_last_file, 0);