]> Sergey Matveev's repositories - nnn.git/commitdiff
Update help screen
authorArun Prakash Jana <engineerarun@gmail.com>
Sat, 28 Sep 2019 16:45:49 +0000 (22:15 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Sat, 28 Sep 2019 16:45:49 +0000 (22:15 +0530)
README.md
src/nnn.c

index 460b528bca02cad573cbb66570661a11838457c8..09d8012ff4e99cca260f1c2ddbc0a852dc5ae379 100644 (file)
--- a/README.md
+++ b/README.md
@@ -232,8 +232,8 @@ Press <kbd>?</kbd> in `nnn` to see the list anytime.
          , ^/  Lead key    N LeadN  Context N
             /  Filter/Lead  Ins ^T  Toggle nav-as-you-type
           Esc  Exit prompt   ^L F5  Redraw/clear prompt
-            q  Quit context  Lead'  First file
-         Q ^Q  Quit  ^G  QuitCD  ?  Help, config
+            ?  Help, config  Lead'  First file
+         Q ^Q  Quit  ^G  QuitCD  q  Quit context
  FILES
            ^O  Open with...      n  Create new/link
             D  File detail   ^R F2  Rename/duplicate
@@ -245,13 +245,13 @@ Press <kbd>?</kbd> in `nnn` to see the list anytime.
            ^F  Extract archive   F  List archive
             e  Edit in EDITOR    p  Open in PAGER
  ORDER TOGGLES
-            S  du                A  Apparent du
-            s  Size    E  Extn   t  Time modified
+            A  Apparent du       S  du
+            s  Size    E  Extn   t  Time
  MISC
          ! ^]  Shell             =  Launcher
          R ^V  Pick plugin   :K xK  Run plugin key K
             c  SSHFS mount       u  Unmount
-           ^P  Prompt/run expr   L  Lock
+           ^P  Prompt/run cmd    L  Lock
 ```
 
 Note: Help & settings, file details and archive listing are shown in the `$PAGER`.
@@ -275,7 +275,7 @@ The Leader/Lead key provides a powerful multi-functional navigation mechanism. I
 | <kbd>[</kbd> | Go to previous active context |
 | key | Go to bookmarked location |
 | <kbd>'</kbd> | Go to first file in directory |
-| <kbd>~</kbd> <kbd>`</kbd> <kbd>@</kbd> <kbd>-</kbd> | Go to HOME, `/`, start, last visited dir |
+| <kbd>~</kbd> <kbd>`</kbd> <kbd>@</kbd> <kbd>-</kbd> | Visit HOME, `/`, start, last visited dir |
 | <kbd>.</kbd> | Toggle show hidden files |
 | <kbd>q</kbd> | Quit context |
 
index 5e71f9e0aeef800908c67206493d28674e073b14..6ce0751a1a8c6cdd8cd07a8197e0823687919bfc 100644 (file)
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -2842,8 +2842,8 @@ static bool show_help(const char *path)
               "9, ^/  Lead key    N LeadN  Context N\n"
                  "c/  Filter/Lead  Ins ^T  Toggle nav-as-you-type\n"
                "aEsc  Exit prompt   ^L F5  Redraw/clear prompt\n"
-                 "cq  Quit context  Lead'  First file\n"
-              "9Q ^Q  Quit  ^G  QuitCD  ?  Help, config\n"
+                 "c?  Help, config  Lead'  First file\n"
+              "9Q ^Q  Quit  ^G  QuitCD  q  Quit context\n"
                "1FILES\n"
                 "b^O  Open with...      n  Create new/link\n"
                  "cD  File detail   ^R F2  Rename/duplicate\n"
@@ -2855,13 +2855,13 @@ static bool show_help(const char *path)
                 "b^F  Extract archive   F  List archive\n"
                  "ce  Edit in EDITOR    p  Open in PAGER\n"
                "1ORDER TOGGLES\n"
-                 "cS  du                A  Apparent du\n"
-                 "cs  Size     E  Extn  t  Time modified\n"
+                 "cA  Apparent du       S  du\n"
+                 "cs  Size     E  Extn  t  Time\n"
                "1MISC\n"
               "9! ^]  Shell             =  Launcher\n"
               "9R ^V  Pick plugin   :K xK  Run plugin key K\n"
                  "cc  SSHFS mount       u  Unmount\n"
-                "b^P  Prompt/run expr   L  Lock\n"};
+                "b^P  Prompt/run cmd    L  Lock\n"};
 
        fd = create_tmp_file();
        if (fd == -1)