From 2fd7888a510917017477fa4ab06659b231fa3cc1 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Fri, 20 Jan 2023 14:47:06 +0100 Subject: [PATCH] bindings: show ^- instead of ^/ for 'flipgoto' when on a Linux console This should have been part of commit 344db835 from three days ago. --- src/global.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/global.c b/src/global.c index bbdac81d..ed93fa31 100644 --- a/src/global.c +++ b/src/global.c @@ -1404,7 +1404,7 @@ void shortcut_init(void) add_to_sclist(MWHEREIS|MREPLACE, "M-B", 0, backwards_void, 0); add_to_sclist(MWHEREIS|MREPLACE, "^R", 0, flip_replace, 0); add_to_sclist(MWHEREIS|MGOTOLINE, "^T", 0, flip_goto, 0); - add_to_sclist(MWHEREIS|MGOTOLINE, "^/", 0, flip_goto, 0); + add_to_sclist(MWHEREIS|MGOTOLINE, SLASH_OR_DASH, 0, flip_goto, 0); #ifdef ENABLE_HISTORIES add_to_sclist(MWHEREIS|MREPLACE|MREPLACEWITH|MWHEREISFILE|MFINDINHELP|MEXECUTE, "^P", 0, get_older_item, 0); add_to_sclist(MWHEREIS|MREPLACE|MREPLACEWITH|MWHEREISFILE|MFINDINHELP|MEXECUTE, "^N", 0, get_newer_item, 0);