aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2018-11-23 07:44:32 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2018-11-23 07:44:32 +0530
commit82fbf19803a563b76a6c0b7d1be8aa237d698c95 (patch)
tree93e2e827885c07417ae8a91b972c116a2242f217 /src
parent897817a6774d64a6022d906bd9248762c609ac0e (diff)
downloadnnn-82fbf19803a563b76a6c0b7d1be8aa237d698c95.tar.gz
Add `Y` as selection keybind
Diffstat (limited to 'src')
-rw-r--r--src/nnn.c2
-rw-r--r--src/nnn.h1
2 files changed, 2 insertions, 1 deletions
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 */