nnn

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 7cae5dfe44942c54463c09a373f3dd70c6fc4e53
parent 62a0932976ed6aeda6e4b29b8c43b9b8dcd54135
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date:   Mon, 30 Sep 2019 18:54:27 +0530

Shortcut to list selection y is now M

Diffstat:
MREADME.md | 4++--
Mnnn.1 | 10+++++-----
Msrc/nnn.c | 2+-
Msrc/nnn.h | 2+-
4 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/README.md b/README.md @@ -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 diff --git a/nnn.1 b/nnn.1 @@ -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 diff --git a/src/nnn.c b/src/nnn.c @@ -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" diff --git a/src/nnn.h b/src/nnn.h @@ -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 */