]> Sergey Matveev's repositories - nnn.git/commitdiff
Update documentation
authorArun Prakash Jana <engineerarun@gmail.com>
Sun, 24 Dec 2017 13:16:56 +0000 (18:46 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Sun, 24 Dec 2017 13:16:56 +0000 (18:46 +0530)
README.md
nnn.1
nnn.c

index c4edef05d946ff851be8a3638ca049dc3b194f69..2c69bcd6967a4054dce1fea9ed830ae443dde71d 100644 (file)
--- a/README.md
+++ b/README.md
@@ -181,13 +181,13 @@ Search keyword and option completion scripts for Bash, Fish and Zsh can be found
 #### Cmdline options
 
 ```
-usage: nnn [-c N] [-e] [-i] [-l] [-p nlay] [-S]
-           [-v] [-h] [PATH]
+usage: nnn [-b key] [-c N] [-e] [-i] [-l]
+           [-p nlay] [-S] [-v] [-h] [PATH]
 
 The missing terminal file browser for X.
 
 positional arguments:
-  PATH   directory to open [default: current dir]
+  PATH   start dir [default: current dir]
 
 optional arguments:
  -b key  specify bookmark key to open
@@ -212,8 +212,8 @@ optional arguments:
        ↓, j, ^N | Next entry
        PgUp, ^U | Scroll half page up
        PgDn, ^D | Scroll half page down
- Home, g, ^, ^A | Jump to first entry
-  End, G, $, ^E | Jump to last entry
+ Home, g, ^, ^A | First entry
+  End, G, $, ^E | Fast entry
     →, ↵, l, ^M | Open file or enter dir
  ←, Bksp, h, ^H | Go to parent dir
          Insert | Toggle navigate-as-you-type
@@ -232,9 +232,9 @@ optional arguments:
               m | Brief media info
               M | Full media info
               n | Create new
-             ^R | Rename selected entry
+             ^R | Rename entry
               s | Toggle sort by size
-              S | Toggle disk usage mode
+              S | Toggle du mode
               t | Toggle sort by mtime
               ! | Spawn SHELL in dir
               e | Edit entry in EDITOR
@@ -245,7 +245,7 @@ optional arguments:
              ^K | Invoke file path copier
              ^L | Redraw, clear prompt
               ? | Help, settings
-              Q | Quit and change dir
+              Q | Quit and cd
           q, ^Q | Quit
 ```
 
diff --git a/nnn.1 b/nnn.1
index 7d6c3c10d516fc3b3a3c4f1457d43990aaf2184e..3fff18dc3fab72c26534ed01e887366cd3a01776 100644 (file)
--- a/nnn.1
+++ b/nnn.1
@@ -21,7 +21,7 @@
 (Noice is Not Noice) is a performance-optimized, feature-packed fork of the noice terminal file browser with seamless desktop integration, simplified navigation, \fInavigate-as-you-type\fR mode, bookmarks, disk usage analyzer mode, comprehensive file details and much more. It remains a simple and efficient file browser that stays out of your way.
 .Pp
 .Nm
-defaults to the current directory if
+opens the current working directory by default if
 .Ar PATH
 is not specified.
 .Pp
diff --git a/nnn.c b/nnn.c
index bf93738a0c05dfd8ec4650915f1f8069f99def1c..86c0c4c688caaf76fbb00eb6133eb38c49620452 100644 (file)
--- a/nnn.c
+++ b/nnn.c
@@ -1678,8 +1678,8 @@ show_help(char *path)
       "7↓, j, ^N | Next entry\n"
       "7PgUp, ^U | Scroll half page up\n"
       "7PgDn, ^D | Scroll half page down\n"
-"1Home, g, ^, ^A | Jump to first entry\n"
- "2End, G, $, ^E | Jump to last entry\n"
+"1Home, g, ^, ^A | First entry\n"
+ "2End, G, $, ^E | Last entry\n"
    "4→, ↵, l, ^M | Open file or enter dir\n"
 "1←, Bksp, h, ^H | Go to parent dir\n"
         "9Insert | Toggle navigate-as-you-type\n"
@@ -1698,9 +1698,9 @@ show_help(char *path)
              "em | Brief media info\n"
              "eM | Full media info\n"
             "en | Create new\n"
-            "d^R | Rename selected entry\n"
+            "d^R | Rename entry\n"
              "es | Toggle sort by size\n"
-             "eS | Toggle disk usage mode\n"
+             "eS | Toggle du mode\n"
              "et | Toggle sort by mtime\n"
              "e! | Spawn SHELL in dir\n"
              "ee | Edit entry in EDITOR\n"
@@ -1711,7 +1711,7 @@ show_help(char *path)
             "d^K | Invoke file path copier\n"
             "d^L | Redraw, clear prompt\n"
              "e? | Help, settings\n"
-             "eQ | Quit and change dir\n"
+             "eQ | Quit and cd\n"
          "aq, ^Q | Quit\n\n");
 
        if (fd == -1)
@@ -2829,11 +2829,11 @@ nochange:
 static void
 usage(void)
 {
-       printf("usage: nnn [-c N] [-e] [-i] [-l] [-p nlay] [-S]\n\
-           [-v] [-h] [PATH]\n\n\
+       printf("usage: nnn [-b key] [-c N] [-e] [-i] [-l]\n\
+           [-p nlay] [-S] [-v] [-h] [PATH]\n\n\
 The missing terminal file browser for X.\n\n\
 positional arguments:\n\
-  PATH   directory to open [default: current dir]\n\n\
+  PATH   start dir [default: current dir]\n\n\
 optional arguments:\n\
  -b key  specify bookmark key to open\n\
  -c N    specify dir color, disables if N>7\n\