Shortcut to list selection y is now M

This commit is contained in:
Arun Prakash Jana 2019-09-30 18:54:27 +05:30
parent 62a0932976
commit 7cae5dfe44
No known key found for this signature in database
GPG key ID: A75979F35C080412
4 changed files with 9 additions and 9 deletions

View file

@ -46,7 +46,7 @@ It runs smoothly on the Raspberry Pi, Termux on Android, Linux, macOS, BSD, Cygw
## Wiki, resources
1. [Wiki](https://github.com/jarun/nnn/wiki) (concepts, how-tos, use cases, chronology and insights)
1. [Wiki](https://github.com/jarun/nnn/wiki) (concepts, how-tos, use cases, troubleshooting and more...)
2. [Performance numbers](https://github.com/jarun/nnn/wiki/Performance)
3. [Plugin repository and docs](https://github.com/jarun/nnn/tree/master/plugins)
4. [(neo)vim plugin](https://github.com/mcchrish/nnn.vim)
@ -238,7 +238,7 @@ Press <kbd>?</kbd> in `nnn` to see the list anytime (the listing below is from d
^O Open with... n Create new/link
D File detail ^R F2 Rename/duplicate
⎵ ^J / a Select entry/all r Batch rename
m ^S Toggle multi sel y List selection
m ^S Toggle multi sel M List selection
P Copy selection X Delete selection
V Move selection ^X Delete entry
f Create archive C Execute entry

10
nnn.1
View file

@ -129,18 +129,18 @@ When there's a unique match and it's a directory,
.Nm
auto selects the directory and enters it in this mode.
.Sh SELECTION
Use \fI^K\fR to select the file under the cursor.
Use \fI^J\fR to select the file under the cursor.
.Pp
To select multiple files press \fI^Y\fR and enter selection mode.
To select multiple files press \fI^S\fR and enter selection mode.
In this mode it's possible to
.Pp
(1) cherry-pick individual files one by one by pressing \fI^K\fR on each entry (works across directories and contexts); or,
(1) cherry-pick individual files one by one by pressing \fI^J\fR on each entry (works across directories and contexts); or,
.br
(2) navigate to another file in the same directory to select a range of files.
.Pp
Running any operation that uses the selection OR pressing \fI^Y\fR again will save the selection and exit the selection mode.
Running any operation that uses the selection OR pressing \fI^S\fR again will save the selection and exit the selection mode.
.Pp
Press \fI^Y\fR twice to clear selection.
Press \fI^S\fR twice to clear selection.
.Pp
Selected files are visually indicated by a \fI+\fR before the entries.
.br

View file

@ -2858,7 +2858,7 @@ static bool show_help(const char *path)
"b^O Open with... n Create new/link\n"
"cD File detail ^R F2 Rename/duplicate\n"
"5⎵ ^J / a Select entry/all r Batch rename\n"
"9m ^S Toggle multi sel y List selection\n"
"9m ^S Toggle multi sel M List selection\n"
"cP Copy selection X Delete selection\n"
"cV Move selection ^X Delete entry\n"
"cf Create archive C Execute entry\n"

View file

@ -203,7 +203,7 @@ static struct key bindings[] = {
/* Select all files in current dir */
{ 'a', SEL_SELALL },
/* Show list of copied files */
{ 'y', SEL_SELLST },
{ 'M', SEL_SELLST },
/* Copy from selection buffer */
{ 'P', SEL_CP },
/* Move from selection buffer */