]> Sergey Matveev's repositories - nnn.git/commitdiff
Shortcut to list selection y is now M
authorArun Prakash Jana <engineerarun@gmail.com>
Mon, 30 Sep 2019 13:24:27 +0000 (18:54 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Mon, 30 Sep 2019 13:24:27 +0000 (18:54 +0530)
README.md
nnn.1
src/nnn.c
src/nnn.h

index e06e557ed271576482d34948f1445b6f4f3c6ebb..6965139878418f4d4dba6b3597eb462588821ab4 100644 (file)
--- 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
index 3401431f1c5fcdd9c7b259c4b5d3dab07a8e9f09..3ff179556a9522e2465972dd3268eb7334df85ea 100644 (file)
--- 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
index d88a07ce0243fc46649b2302ea051c1a71a44b0c..a0617a901e05aeda0bd628832ed922382256f445 100644 (file)
--- 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"
index 6ed801be11ef0a2339722a1e14b63902390a2b73..5339c582629e0b709e9f160d8e4fb170ce4cb865 100644 (file)
--- 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 */