Update documentation

This commit is contained in:
Arun Prakash Jana 2017-12-24 18:46:56 +05:30
parent 8189411aef
commit 8b98df0be1
No known key found for this signature in database
GPG key ID: A75979F35C080412
3 changed files with 17 additions and 17 deletions

View file

@ -181,13 +181,13 @@ Search keyword and option completion scripts for Bash, Fish and Zsh can be found
#### Cmdline options #### Cmdline options
``` ```
usage: nnn [-c N] [-e] [-i] [-l] [-p nlay] [-S] usage: nnn [-b key] [-c N] [-e] [-i] [-l]
[-v] [-h] [PATH] [-p nlay] [-S] [-v] [-h] [PATH]
The missing terminal file browser for X. The missing terminal file browser for X.
positional arguments: positional arguments:
PATH directory to open [default: current dir] PATH start dir [default: current dir]
optional arguments: optional arguments:
-b key specify bookmark key to open -b key specify bookmark key to open
@ -212,8 +212,8 @@ optional arguments:
↓, j, ^N | Next entry ↓, j, ^N | Next entry
PgUp, ^U | Scroll half page up PgUp, ^U | Scroll half page up
PgDn, ^D | Scroll half page down PgDn, ^D | Scroll half page down
Home, g, ^, ^A | Jump to first entry Home, g, ^, ^A | First entry
End, G, $, ^E | Jump to last entry End, G, $, ^E | Fast entry
→, ↵, l, ^M | Open file or enter dir →, ↵, l, ^M | Open file or enter dir
←, Bksp, h, ^H | Go to parent dir ←, Bksp, h, ^H | Go to parent dir
Insert | Toggle navigate-as-you-type Insert | Toggle navigate-as-you-type
@ -232,9 +232,9 @@ optional arguments:
m | Brief media info m | Brief media info
M | Full media info M | Full media info
n | Create new n | Create new
^R | Rename selected entry ^R | Rename entry
s | Toggle sort by size s | Toggle sort by size
S | Toggle disk usage mode S | Toggle du mode
t | Toggle sort by mtime t | Toggle sort by mtime
! | Spawn SHELL in dir ! | Spawn SHELL in dir
e | Edit entry in EDITOR e | Edit entry in EDITOR
@ -245,7 +245,7 @@ optional arguments:
^K | Invoke file path copier ^K | Invoke file path copier
^L | Redraw, clear prompt ^L | Redraw, clear prompt
? | Help, settings ? | Help, settings
Q | Quit and change dir Q | Quit and cd
q, ^Q | Quit q, ^Q | Quit
``` ```

2
nnn.1
View file

@ -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. (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 .Pp
.Nm .Nm
defaults to the current directory if opens the current working directory by default if
.Ar PATH .Ar PATH
is not specified. is not specified.
.Pp .Pp

16
nnn.c
View file

@ -1678,8 +1678,8 @@ show_help(char *path)
"7↓, j, ^N | Next entry\n" "7↓, j, ^N | Next entry\n"
"7PgUp, ^U | Scroll half page up\n" "7PgUp, ^U | Scroll half page up\n"
"7PgDn, ^D | Scroll half page down\n" "7PgDn, ^D | Scroll half page down\n"
"1Home, g, ^, ^A | Jump to first entry\n" "1Home, g, ^, ^A | First entry\n"
"2End, G, $, ^E | Jump to last entry\n" "2End, G, $, ^E | Last entry\n"
"4→, ↵, l, ^M | Open file or enter dir\n" "4→, ↵, l, ^M | Open file or enter dir\n"
"1←, Bksp, h, ^H | Go to parent dir\n" "1←, Bksp, h, ^H | Go to parent dir\n"
"9Insert | Toggle navigate-as-you-type\n" "9Insert | Toggle navigate-as-you-type\n"
@ -1698,9 +1698,9 @@ show_help(char *path)
"em | Brief media info\n" "em | Brief media info\n"
"eM | Full media info\n" "eM | Full media info\n"
"en | Create new\n" "en | Create new\n"
"d^R | Rename selected entry\n" "d^R | Rename entry\n"
"es | Toggle sort by size\n" "es | Toggle sort by size\n"
"eS | Toggle disk usage mode\n" "eS | Toggle du mode\n"
"et | Toggle sort by mtime\n" "et | Toggle sort by mtime\n"
"e! | Spawn SHELL in dir\n" "e! | Spawn SHELL in dir\n"
"ee | Edit entry in EDITOR\n" "ee | Edit entry in EDITOR\n"
@ -1711,7 +1711,7 @@ show_help(char *path)
"d^K | Invoke file path copier\n" "d^K | Invoke file path copier\n"
"d^L | Redraw, clear prompt\n" "d^L | Redraw, clear prompt\n"
"e? | Help, settings\n" "e? | Help, settings\n"
"eQ | Quit and change dir\n" "eQ | Quit and cd\n"
"aq, ^Q | Quit\n\n"); "aq, ^Q | Quit\n\n");
if (fd == -1) if (fd == -1)
@ -2829,11 +2829,11 @@ nochange:
static void static void
usage(void) usage(void)
{ {
printf("usage: nnn [-c N] [-e] [-i] [-l] [-p nlay] [-S]\n\ printf("usage: nnn [-b key] [-c N] [-e] [-i] [-l]\n\
[-v] [-h] [PATH]\n\n\ [-p nlay] [-S] [-v] [-h] [PATH]\n\n\
The missing terminal file browser for X.\n\n\ The missing terminal file browser for X.\n\n\
positional arguments:\n\ positional arguments:\n\
PATH directory to open [default: current dir]\n\n\ PATH start dir [default: current dir]\n\n\
optional arguments:\n\ optional arguments:\n\
-b key specify bookmark key to open\n\ -b key specify bookmark key to open\n\
-c N specify dir color, disables if N>7\n\ -c N specify dir color, disables if N>7\n\