1
1
mirror of https://github.com/jarun/nnn.git synced 2024-11-22 15:20:59 +03:00

Updated Concepts (markdown)

Terminator X 2021-07-14 02:43:42 +05:30
parent 6d768619ee
commit fa8fa99fbc

@ -151,13 +151,11 @@ A selection can be edited, copied, moved, removed, archived or linked. Example w
Absolute paths of the selected files are copied to `.selection` file in the config directory. The selection file is shared between multiple program instances. Selection from multiple instances are not merged. The last instance writing to the file overwrites earlier contents. If you have 2 instances of `nnn` _open_ in 2 panes of a terminal multiplexer, you can select in one pane and use the selection in the other pane. Absolute paths of the selected files are copied to `.selection` file in the config directory. The selection file is shared between multiple program instances. Selection from multiple instances are not merged. The last instance writing to the file overwrites earlier contents. If you have 2 instances of `nnn` _open_ in 2 panes of a terminal multiplexer, you can select in one pane and use the selection in the other pane.
`nnn` clears the selection after an operation with the selection. Plugins are allowed to define the behaviour individually. `nnn` clears the selection after a successful operation with the selection. Plugins are allowed to define the behaviour individually.
`nnn` 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 `nnn` allows selection across directories. So the selection marks are cleared. The selection can still be edited in the same instance.
#### Editing selection #### Editing selection
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 or to remove duplicates. Editing doesn't 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 to list the selection file. To edit the selection use the _edit selection_ key. Editing doesn't 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 to list the selection file.
#### File paths in selection to system clipboard #### File paths in selection to system clipboard