]> Sergey Matveev's repositories - nnn.git/commitdiff
^S is used by stty, use ^K
authorArun Prakash Jana <engineerarun@gmail.com>
Wed, 2 Oct 2019 06:44:38 +0000 (12:14 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Wed, 2 Oct 2019 06:44:38 +0000 (12:14 +0530)
README.md
src/nnn.c
src/nnn.h

index 325c7dbe40de695d57a4f15f10715a07d7b9d34e..4c82a0cfbbb003df5a4b54a8467d38c8abc4dd85 100644 (file)
--- a/README.md
+++ b/README.md
@@ -205,7 +205,7 @@ The list below is from the **dev branch**. Press <kbd>?</kbd> in `nnn` to see th
            ^O  Open with...      n  Create new/link
             D  File detail   ^R F2  Rename/duplicate
      ⎵ ^J / a  Sel entry/all     r  Batch rename
-         m ^S  Sel range, clear  M  List selection
+         m ^K  Sel range, clear  M  List selection
             P  Copy selection    X  Delete selection
             V  Move selection   ^X  Delete entry
             f  Create archive    C  Execute entry
index 422e13fcd672be8e1b43f1ebcb3ce4179c528668..6fa3bbe32e6b38423257f5aa1ce5152ad38d56a0 100644 (file)
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -2872,7 +2872,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  Sel entry/all     r  Batch rename\n"
-              "9m ^S  Sel range, clear  M  List selection\n"
+              "9m ^K  Sel range, clear  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 5339c582629e0b709e9f160d8e4fb170ce4cb865..e2a9a62b634034911fe628104b552add823c6d65 100644 (file)
--- a/src/nnn.h
+++ b/src/nnn.h
@@ -199,7 +199,7 @@ static struct key bindings[] = {
        { ' ',            SEL_SEL },
        /* Toggle select multiple files */
        { 'm',            SEL_SELMUL },
-       { CONTROL('S'),   SEL_SELMUL },
+       { CONTROL('K'),   SEL_SELMUL },
        /* Select all files in current dir */
        { 'a',            SEL_SELALL },
        /* Show list of copied files */