aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-01-13 21:25:34 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-01-13 21:25:34 +0530
commit8f4706498c66d64a5074c6f03a66d7365b6cc0e6 (patch)
tree5df0cf47bba212bbf785dcb37f98e95238618503 /src
parent526330bb8b48c0139c09c8a08410e72500977900 (diff)
downloadnnn-8f4706498c66d64a5074c6f03a66d7365b6cc0e6.tar.gz
Key ' for range selection
Diffstat (limited to 'src')
-rw-r--r--src/nnn.c2
-rw-r--r--src/nnn.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/nnn.c b/src/nnn.c
index fb8a6d5..1b087f6 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -3607,7 +3607,7 @@ static void show_help(const char *path)
"b^R Rename/dup%-14cr Batch rename\n"
"cz Archive entry%-11c* Toggle exe\n"
"ce Edit in EDITOR%-10cp Open in PAGER\n"
- "5Space ^J (Un)select%-11cm ^K Select range, clear\n"
+ "5Space ^J (Un)select%-11c' ^K Select range, clear\n"
"cP Copy sel here%-11ca Select all\n"
"cV Move sel here%-10c^V Copy/move sel as\n"
"cX Delete sel%-13c^X Delete entry\n"
diff --git a/src/nnn.h b/src/nnn.h
index f1cb550..10bf9cf 100644
--- a/src/nnn.h
+++ b/src/nnn.h
@@ -185,7 +185,7 @@ static struct key bindings[] = {
{ CONTROL('J'), SEL_SEL },
{ ' ', SEL_SEL },
/* Toggle select multiple files */
- { 'm', SEL_SELMUL },
+ { '\'', SEL_SELMUL },
{ CONTROL('K'), SEL_SELMUL },
/* Select all files in current dir */
{ 'a', SEL_SELALL },