From 8b98df0be1bddeefb480015869bfd8b4dd0bd72e Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Sun, 24 Dec 2017 18:46:56 +0530 Subject: [PATCH] Update documentation --- README.md | 16 ++++++++-------- nnn.1 | 2 +- nnn.c | 16 ++++++++-------- 3 files changed, 17 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index c4edef0..2c69bcd 100644 --- 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 7d6c3c1..3fff18d 100644 --- 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 bf93738..86c0c4c 100644 --- 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\