]> Sergey Matveev's repositories - nnn.git/commitdiff
key ^Y is now ^S, key ^K is now ^J, kwy ' is now m
authorArun Prakash Jana <engineerarun@gmail.com>
Mon, 30 Sep 2019 01:24:06 +0000 (06:54 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Mon, 30 Sep 2019 01:24:06 +0000 (06:54 +0530)
src/nnn.c
src/nnn.h

index 07c5a3ad63dd43bce6843e416bfe5edcfc052ca3..c9d07b3c69ba61a2b2b1f47a1e4d940155652f57 100644 (file)
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -2855,8 +2855,8 @@ static bool show_help(const char *path)
                "1FILES\n"
                 "b^O  Open with...      n  Create new/link\n"
                  "cD  File detail   ^R F2  Rename/duplicate\n"
-          "5⎵ ^K / a  Select entry/all  r  Batch rename\n"
-              "9' ^Y  Toggle selection  y  List selection\n"
+          "5⎵ ^J / a  Select entry/all  r  Batch rename\n"
+              "9m ^S  Toggle multi sel  y  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 fa84f1b8a47b82923da9b3e413a9f471cdceebd5..6ed801be11ef0a2339722a1e14b63902390a2b73 100644 (file)
--- a/src/nnn.h
+++ b/src/nnn.h
@@ -195,11 +195,11 @@ static struct key bindings[] = {
        { CONTROL('L'),   SEL_REDRAW },
        { KEY_F(5),       SEL_REDRAW },
        /* Select current file path */
-       { CONTROL('K'),   SEL_SEL },
+       { CONTROL('J'),   SEL_SEL },
        { ' ',            SEL_SEL },
        /* Toggle select multiple files */
-       { '\'',           SEL_SELMUL },
-       { CONTROL('Y'),   SEL_SELMUL },
+       { 'm',            SEL_SELMUL },
+       { CONTROL('S'),   SEL_SELMUL },
        /* Select all files in current dir */
        { 'a',            SEL_SELALL },
        /* Show list of copied files */