Update docs

This commit is contained in:
Arun Prakash Jana 2020-06-09 10:44:09 +05:30
parent a47d190654
commit aea8f737f6
No known key found for this signature in database
GPG key ID: A75979F35C080412
2 changed files with 14 additions and 13 deletions

20
nnn.1
View file

@ -278,16 +278,20 @@ file from selection after you navigate away from its directory. Editing doesn't
end the selection mode. You can add more files to the selection and edit the end the selection mode. You can add more files to the selection and edit the
list again. If no file is selected in the current session, this option attempts list again. If no file is selected in the current session, this option attempts
to list the selection file. to list the selection file.
.Sh LIST INPUT .Sh FIND AND LIST
.Nm There are two ways to search and list:
can receive a list of NUL-separated ('\\0') file paths as input. Paths and can
be relative to the current directory or absolute.
.Pp .Pp
Input is limited by 65,536 paths or 256 MiB of input. - feed a list of file paths as input
.br
- search using a plugin (e.g. \fIfinder\fR) and list the results
.Pp .Pp
Start File paths must be NUL-separated ('\\0'). Paths and can be relative to the
current directory or absolute. Invalid paths in the input are ignored. Input
is limited by 65,536 paths or 256 MiB of input.
.Pp
To list the input stream, start
.Nm .Nm
in this mode by writing to its standard input. E.g., to list files in current by writing to its standard input. E.g., to list files in current
directory larger than directory larger than
1M: 1M:
.Bd -literal .Bd -literal
@ -315,8 +319,6 @@ targets, after which they might become invalid.
.Pp .Pp
Right arrow or 'l' on a symlink in the listing dir takes to the target file. Right arrow or 'l' on a symlink in the listing dir takes to the target file.
Press '-' to return to the listing dir. Press 'Enter' to open the symlink. Press '-' to return to the listing dir. Press 'Enter' to open the symlink.
.Pp
\fBInvalid paths in the input are ignored.\fR
.Sh UNITS .Sh UNITS
The minimum file size unit is byte (B). The rest are K, M, G, T, P, E, Z, Y The minimum file size unit is byte (B). The rest are K, M, G, T, P, E, Z, Y
(powers of 1024), same as the default units in \fIls\fR. (powers of 1024), same as the default units in \fIls\fR.

View file

@ -40,8 +40,7 @@ Plugins are installed to `${XDG_CONFIG_HOME:-$HOME/.config}/nnn/plugins`.
| fzz | Change to any directory in the z database with fzf | sh | fzf, z | | fzz | Change to any directory in the z database with fzf | sh | fzf, z |
| getplugs | Update plugins to installed `nnn` version | sh | curl | | getplugs | Update plugins to installed `nnn` version | sh | curl |
| gutenread | Browse, download, read from Project Gutenberg | sh | curl, unzip, w3m<br>[epr](https://github.com/wustho/epr) (optional) | | gutenread | Browse, download, read from Project Gutenberg | sh | curl, unzip, w3m<br>[epr](https://github.com/wustho/epr) (optional) |
| gpgd | Decrypt files using gpg | sh | gpg | | gpg\* | Encrypt/decrypt files using GPG | sh | gpg |
| gpge | Encrypt files using gpg | sh | gpg, fzf |
| hexview | View a file in hex in `$PAGER` | sh | xxd | | hexview | View a file in hex in `$PAGER` | sh | xxd |
| imgresize | Resize images in dir to screen resolution | sh | [imgp](https://github.com/jarun/imgp) | | imgresize | Resize images in dir to screen resolution | sh | [imgp](https://github.com/jarun/imgp) |
| imgthumb | View thumbnail of an image or dir of images | sh | [lsix](https://github.com/hackerb9/lsix) | | imgthumb | View thumbnail of an image or dir of images | sh | [lsix](https://github.com/hackerb9/lsix) |
@ -63,8 +62,8 @@ Plugins are installed to `${XDG_CONFIG_HOME:-$HOME/.config}/nnn/plugins`.
| pdfread | Read a PDF or text file aloud | sh | pdftotext, mpv,<br>pico2wave | | pdfread | Read a PDF or text file aloud | sh | pdftotext, mpv,<br>pico2wave |
| pdfview | View PDF file in `$PAGER` | sh | pdftotext/<br>mupdf-tools | | pdfview | View PDF file in `$PAGER` | sh | pdftotext/<br>mupdf-tools |
| picker | Pick files and list one per line (to pipe) | sh | nnn | | picker | Pick files and list one per line (to pipe) | sh | nnn |
| preview-tabbed | `tabbed`/xembed based file previewer | bash | _see in-file docs_ | | preview-tabbed | Tabbed/xembed based file previewer | bash | _see in-file docs_ |
| preview-tui | Tmux/kitty/`$TERMINAL` based file previewer | sh | _see in-file docs_ | | preview-tui | Tmux/kitty/xterm/`$TERMINAL` based file previewer | sh | _see in-file docs_ |
| pskill | Fuzzy list by name and kill process or zombie | sh | fzf, ps, sudo/doas | | pskill | Fuzzy list by name and kill process or zombie | sh | fzf, ps, sudo/doas |
| renamer | Batch rename selection or files in dir | sh | [qmv](https://www.nongnu.org/renameutils/)/[vidir](https://joeyh.name/code/moreutils/) | | renamer | Batch rename selection or files in dir | sh | [qmv](https://www.nongnu.org/renameutils/)/[vidir](https://joeyh.name/code/moreutils/) |
| ringtone | Create a variable bitrate mp3 ringtone from file | sh | date, ffmpeg | | ringtone | Create a variable bitrate mp3 ringtone from file | sh | date, ffmpeg |