From 7cae5dfe44942c54463c09a373f3dd70c6fc4e53 Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Mon, 30 Sep 2019 18:54:27 +0530 Subject: [PATCH] Shortcut to list selection y is now M --- README.md | 4 ++-- nnn.1 | 10 +++++----- src/nnn.c | 2 +- src/nnn.h | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index e06e557e..69651398 100644 --- 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 ? 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 index 3401431f..3ff17955 100644 --- 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 index d88a07ce..a0617a90 100644 --- 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 index 6ed801be..5339c582 100644 --- 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 */