Browse Source

Update documentation

master
Arun Prakash Jana 6 years ago
parent
commit
8b98df0be1
No known key found for this signature in database GPG Key ID: A75979F35C080412
3 changed files with 17 additions and 17 deletions
  1. +8
    -8
      README.md
  2. +1
    -1
      nnn.1
  3. +8
    -8
      nnn.c

+ 8
- 8
README.md View File

@@ -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
```



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


+ 8
- 8
nnn.c View File

@@ -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\


Loading…
Cancel
Save