mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 11:51:27 +00:00
Update man page on selection
This commit is contained in:
parent
7a562d7b03
commit
54aa971a6b
28
nnn.1
28
nnn.1
|
@ -276,23 +276,29 @@ A selection can be edited, copied, moved, removed, archived or linked.
|
||||||
.Pp
|
.Pp
|
||||||
Absolute paths of the selected files are copied to \fB.selection\fR file in
|
Absolute paths of the selected files are copied to \fB.selection\fR file in
|
||||||
the config directory. The selection file is shared between multiple program
|
the config directory. The selection file is shared between multiple program
|
||||||
instances. The most recent instance writing to the file overwrites the entries
|
instances. Selection from multiple insances are not merged. The last instance
|
||||||
from earlier writes. If you have 2 instances if
|
writing to the file overwrites earlier contents. If you have 2 instances of
|
||||||
.Nm
|
.Nm
|
||||||
\fIopen\fR in 2 panes of a terminal multiplexer, you can select in one pane and
|
\fIopen\fR in 2 panes of a terminal multiplexer, you can select in one pane and
|
||||||
use the selection (e.g. to copy or move) in the other pane (if the instance
|
use the selection in the other pane.
|
||||||
doesn't have any local selection already).
|
|
||||||
.Pp
|
.Pp
|
||||||
.Nm
|
.Nm
|
||||||
clears the selection after file removal, batch-rename and link creation with
|
clears the selection after an operation with the selection. Plugins are allowed
|
||||||
selection. However, it is retained after archive creation with selection as
|
to define the behaviour individually.
|
||||||
the user may want to delete the archived files next.
|
.Pp
|
||||||
|
.Nm
|
||||||
|
doesn't match directory entries for selected files after a redraw or after the
|
||||||
|
user navigates away from the directory. An attempt to do so will increase
|
||||||
|
memory consumption and processing significantly as
|
||||||
|
.Nm
|
||||||
|
allows selection across directories. So the selection marks are cleared. The
|
||||||
|
selection can still be edited in the same instance.
|
||||||
.Pp
|
.Pp
|
||||||
To edit the selection use the _edit selection_ key. Use this key to remove a
|
To edit the selection use the _edit selection_ key. Use this key to remove a
|
||||||
file from selection after you navigate away from its directory. Editing doesn't
|
file from selection after you navigate away from its directory or to remove
|
||||||
end the selection mode. You can add more files to the selection and edit the
|
duplicates. Editing doesn't end the selection mode. You can add more files to
|
||||||
list again. If no file is selected in the current session, this option attempts
|
the selection and edit the list again. If no file is selected in the current
|
||||||
to list the selection file.
|
session, this option attempts to list the selection file.
|
||||||
.Sh FIND AND LIST
|
.Sh FIND AND LIST
|
||||||
There are two ways to search and list:
|
There are two ways to search and list:
|
||||||
.Pp
|
.Pp
|
||||||
|
|
Loading…
Reference in a new issue