aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md2
-rw-r--r--nnn.12
-rw-r--r--src/nnn.c2
-rw-r--r--src/nnn.h1
4 files changed, 4 insertions, 3 deletions
diff --git a/README.md b/README.md
index 6de576a..06aa997 100644
--- a/README.md
+++ b/README.md
@@ -255,7 +255,7 @@ Press <kbd>?</kbd> in `nnn` to see the list anytime.
^O Open with... n Create new/link
D File details ^R Rename entry
⎵ ^K Select entry r Open dir in vidir
- ^Y Toggle selection y List selection
+ K ^Y Toggle selection y List selection
Y Select all
P Copy selection X Delete selection
V Move selection ^X Delete entry
diff --git a/nnn.1 b/nnn.1
index 49a3e42..9ef1f9e 100644
--- a/nnn.1
+++ b/nnn.1
@@ -98,7 +98,7 @@ Show entry details
Rename selected entry
.It Ic r
Open directory in vidir
-.It Ic Y, ^Y
+.It Ic K, ^Y
Toggle selection mode
.It Ic Y
Select all entries in dir
diff --git a/src/nnn.c b/src/nnn.c
index 008b2f5..9100ac1 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -2420,7 +2420,7 @@ static bool show_help(char *path)
"b^O Open with... n Create new/link\n"
"cD File details ^R Rename entry\n"
"9⎵ ^K Select entry r Open dir in vidir\n"
- "b^Y Toggle selection y List selection\n"
+ "9K ^Y Toggle selection y List selection\n"
"cY Select all\n"
"cP Copy selection X Delete selection\n"
"cV Move selection ^X Delete entry\n"
diff --git a/src/nnn.h b/src/nnn.h
index ab8a4ba..a588a33 100644
--- a/src/nnn.h
+++ b/src/nnn.h
@@ -189,6 +189,7 @@ static struct key bindings[] = {
{ CONTROL('K'), SEL_COPY },
{ ' ', SEL_COPY },
/* Toggle copy multiple file paths */
+ { 'K', SEL_COPYMUL },
{ CONTROL('Y'), SEL_COPYMUL },
/* Select all files in current dir */
{ 'Y', SEL_COPYALL },