From 3503942d9ea69d293a8258039d6398a05cbbd316 Mon Sep 17 00:00:00 2001 From: Terminator X Date: Wed, 11 Aug 2021 23:58:50 +0530 Subject: [PATCH] Updated Concepts (markdown) --- Concepts.md | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/Concepts.md b/Concepts.md index b25dd0b..149ae28 100644 --- a/Concepts.md +++ b/Concepts.md @@ -149,7 +149,7 @@ A selection can be edited, copied, moved, removed, archived or linked. Example w - navigate to a target directory - use ^P (cp) or ^V (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: