Updated Concepts (markdown)

Terminator X 2021-08-11 23:58:50 +05:30
parent 3a40793968
commit 3503942d9e
1 changed files with 1 additions and 7 deletions

@ -149,7 +149,7 @@ A selection can be edited, copied, moved, removed, archived or linked. Example w
- navigate to a target directory
- use <kbd>^P</kbd> (cp) or <kbd>^V</kbd> (mv) to copy or move the selected files
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. The selection gets cleared in the `nnn` instance where the selection was made on selection mv/rm (but not on cp).
`nnn` clears the selection after a successful operation with the selection. Plugins are allowed to define the behaviour individually.
@ -183,12 +183,6 @@ so you can easily handle files together (**even at the `nnn` command prompt!**):
xargs -0 ls -l < $sel // compare 2 selected files
```
Notes:
1. The selection file can be directly edited to remove any entries but it's not recommended.
2. If an already selected file doesn't have the `+` symbol before it (say, on a directory refresh or after navigating away and back to the dir), the selection toggle key will add it again.
3. Window managers like i3/sway re-dimensions window and forces redraw when opening a file. So the `+` symbol disappears. To get rid of this use a CLI opener like `nuke`. For example, when opening and renaming files with `nuke`, the images are opened in the terminal in `viu` and there is no window-manager redraw involved. See issue [#464](https://github.com/jarun/nnn/issues/464).
## Find and list
There are two ways to search and list: