From 82fbf19803a563b76a6c0b7d1be8aa237d698c95 Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Fri, 23 Nov 2018 07:44:32 +0530 Subject: Add `Y` as selection keybind --- src/nnn.c | 2 +- src/nnn.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/nnn.c b/src/nnn.c index 717628d..5175f63 100644 --- a/src/nnn.c +++ b/src/nnn.c @@ -1977,7 +1977,7 @@ static int show_help(char *path) "d^O Open with... n Create new\n" "eD File details d Toggle detail view\n" "d^R Rename entry r Open dir in vidir\n" - "d^Y Toggle selection y List selection\n" + "aY, ^Y Toggle selection y List selection\n" "a⎵, ^K Copy entry path ^T Toggle path quote\n" "eP Copy selection X Delete selection\n" "eV Move selection ^X Delete entry\n" diff --git a/src/nnn.h b/src/nnn.h index d4e0506..9ddccb0 100644 --- a/src/nnn.h +++ b/src/nnn.h @@ -195,6 +195,7 @@ static struct key bindings[] = { { ' ', SEL_COPY, "", "" }, /* Toggle copy multiple file paths */ { CONTROL('Y'), SEL_COPYMUL, "", "" }, + { 'Y', SEL_COPYMUL, "", "" }, /* Show list of copied files */ { 'y', SEL_COPYLIST, "", "" }, /* Copy from copy buffer */ -- cgit v1.2.3-70-g09d2