mirror of
https://github.com/jarun/nnn.git
synced 2025-01-15 21:36:42 +00:00
add bookmark section to the manpage
This commit is contained in:
parent
693df568e0
commit
e2b856904d
19
nnn.1
19
nnn.1
|
@ -345,6 +345,20 @@ file. Press '-' to return to the listing dir. Press 'Enter' to open the symlink.
|
||||||
.Pp
|
.Pp
|
||||||
Listing input stream can be scripted. It can be extended to pick (option -p)
|
Listing input stream can be scripted. It can be extended to pick (option -p)
|
||||||
selected entries from the listed results.
|
selected entries from the listed results.
|
||||||
|
.Sh BOOKMARKS
|
||||||
|
There are 2 ways (can be used together) to manage bookmarks.
|
||||||
|
.Pp
|
||||||
|
(1) Bookmark keys: See \fINNN_BMS\fR under \fIENVIORNMENT\fR section on how to
|
||||||
|
set bookmark keys.
|
||||||
|
.Pp
|
||||||
|
(2) Symlinked bookmarks: Symlinked bookmarks can be created at runtime
|
||||||
|
with the \fIB\fR key. They can also be manually created by adding symlinks
|
||||||
|
to bookmarked locations under the bookmarks directory in the nnn config
|
||||||
|
directory (~/.config/nnn/bookmarks).
|
||||||
|
.Pp
|
||||||
|
Pressing \fIb\fR will list all the bookmark keys set in NNN_BMS. Pressing
|
||||||
|
\fIEnter\fR at this prompt will take to the symlink bookmark directory, if
|
||||||
|
NNN_BMS is not set, it happens directly on bookmarks key.
|
||||||
.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.
|
||||||
|
@ -369,11 +383,10 @@ used. A single combination of arguments is supported for SHELL and PAGER.
|
||||||
separated by \fI;\fR:
|
separated by \fI;\fR:
|
||||||
.Bd -literal
|
.Bd -literal
|
||||||
export NNN_BMS="d:$HOME/Docs;u:/home/user/Cam Uploads;D:$HOME/Downloads/"
|
export NNN_BMS="d:$HOME/Docs;u:/home/user/Cam Uploads;D:$HOME/Downloads/"
|
||||||
|
|
||||||
Symlinked bookmarks can be created at runtime with the key \fIB\fR. To list
|
|
||||||
the symlinked bookmarks press \fIEnter\fR at the select bookmark prompt.
|
|
||||||
.Ed
|
.Ed
|
||||||
.Pp
|
.Pp
|
||||||
|
These bookmarks are listed in the help and config screen (key ?).
|
||||||
|
.Pp
|
||||||
\fBNNN_PLUG:\fR directly executable plugins as \fIkey_char:plugin\fR pairs
|
\fBNNN_PLUG:\fR directly executable plugins as \fIkey_char:plugin\fR pairs
|
||||||
separated by \fI;\fR:
|
separated by \fI;\fR:
|
||||||
.Bd -literal
|
.Bd -literal
|
||||||
|
|
Loading…
Reference in a new issue