mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 11:51:27 +00:00
Shortcut to list selection y is now M
This commit is contained in:
parent
62a0932976
commit
7cae5dfe44
|
@ -46,7 +46,7 @@ It runs smoothly on the Raspberry Pi, Termux on Android, Linux, macOS, BSD, Cygw
|
||||||
|
|
||||||
## Wiki, resources
|
## 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)
|
2. [Performance numbers](https://github.com/jarun/nnn/wiki/Performance)
|
||||||
3. [Plugin repository and docs](https://github.com/jarun/nnn/tree/master/plugins)
|
3. [Plugin repository and docs](https://github.com/jarun/nnn/tree/master/plugins)
|
||||||
4. [(neo)vim plugin](https://github.com/mcchrish/nnn.vim)
|
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
|
^O Open with... n Create new/link
|
||||||
D File detail ^R F2 Rename/duplicate
|
D File detail ^R F2 Rename/duplicate
|
||||||
⎵ ^J / a Select entry/all r Batch rename
|
⎵ ^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
|
P Copy selection X Delete selection
|
||||||
V Move selection ^X Delete entry
|
V Move selection ^X Delete entry
|
||||||
f Create archive C Execute entry
|
f Create archive C Execute entry
|
||||||
|
|
10
nnn.1
10
nnn.1
|
@ -129,18 +129,18 @@ When there's a unique match and it's a directory,
|
||||||
.Nm
|
.Nm
|
||||||
auto selects the directory and enters it in this mode.
|
auto selects the directory and enters it in this mode.
|
||||||
.Sh SELECTION
|
.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
|
.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
|
In this mode it's possible to
|
||||||
.Pp
|
.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
|
.br
|
||||||
(2) navigate to another file in the same directory to select a range of files.
|
(2) navigate to another file in the same directory to select a range of files.
|
||||||
.Pp
|
.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
|
.Pp
|
||||||
Press \fI^Y\fR twice to clear selection.
|
Press \fI^S\fR twice to clear selection.
|
||||||
.Pp
|
.Pp
|
||||||
Selected files are visually indicated by a \fI+\fR before the entries.
|
Selected files are visually indicated by a \fI+\fR before the entries.
|
||||||
.br
|
.br
|
||||||
|
|
|
@ -2858,7 +2858,7 @@ static bool show_help(const char *path)
|
||||||
"b^O Open with... n Create new/link\n"
|
"b^O Open with... n Create new/link\n"
|
||||||
"cD File detail ^R F2 Rename/duplicate\n"
|
"cD File detail ^R F2 Rename/duplicate\n"
|
||||||
"5⎵ ^J / a Select entry/all r Batch rename\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"
|
"cP Copy selection X Delete selection\n"
|
||||||
"cV Move selection ^X Delete entry\n"
|
"cV Move selection ^X Delete entry\n"
|
||||||
"cf Create archive C Execute entry\n"
|
"cf Create archive C Execute entry\n"
|
||||||
|
|
|
@ -203,7 +203,7 @@ static struct key bindings[] = {
|
||||||
/* Select all files in current dir */
|
/* Select all files in current dir */
|
||||||
{ 'a', SEL_SELALL },
|
{ 'a', SEL_SELALL },
|
||||||
/* Show list of copied files */
|
/* Show list of copied files */
|
||||||
{ 'y', SEL_SELLST },
|
{ 'M', SEL_SELLST },
|
||||||
/* Copy from selection buffer */
|
/* Copy from selection buffer */
|
||||||
{ 'P', SEL_CP },
|
{ 'P', SEL_CP },
|
||||||
/* Move from selection buffer */
|
/* Move from selection buffer */
|
||||||
|
|
Loading…
Reference in a new issue