nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit 092c62ccb8ee66fbdeeb28656f13c9c298731300
parent 97dd505647023bd58438d03a62bc259291b92edd
Author: Hussam al-Homsi <sawuare@gmail.com>
Date:   Tue,  1 Jun 2021 14:05:16 -0400

bindings: allow copying text (with M-6) also when in view mode

This can be useful when wanting to search for the other occurrences
of some (long) string in the buffer: select, M-6, ^W, ^U, <Enter>.

Signed-off-by: Hussam al-Homsi <sawuare@gmail.com>

Diffstat:
Msrc/global.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/global.c b/src/global.c @@ -841,7 +841,7 @@ void shortcut_init(void) add_to_funcs(do_mark, MMAIN, N_("Set Mark"), WITHORSANS(mark_gist), TOGETHER, VIEW); add_to_funcs(copy_text, MMAIN, - N_("Copy"), WITHORSANS(copy_gist), BLANKAFTER, NOVIEW); + N_("Copy"), WITHORSANS(copy_gist), BLANKAFTER, VIEW); #endif add_to_funcs(case_sens_void, MWHEREIS|MREPLACE,