1
1
mirror of https://github.com/jarun/nnn.git synced 2024-11-26 09:52:12 +03:00

Updated Concepts (markdown)

Mischievous Meerkat 2020-11-14 10:12:17 +05:30
parent f22162cdf3
commit b817f5ce49

@ -46,7 +46,7 @@ Sessions are a way to save and restore states of work. A session stores the sett
Sessions can be loaded dynamically at runtime or with a [program option](https://github.com/jarun/nnn/wiki/Usage#program-options). Sessions can be loaded dynamically at runtime or with a [program option](https://github.com/jarun/nnn/wiki/Usage#program-options).
**Notes:** Notes:
1. When a session is loaded dynamically, the last working session is saved automatically to a dedicated -- "last session" -- session file. The "last session" is also used in persistent session mode. 1. When a session is loaded dynamically, the last working session is saved automatically to a dedicated -- "last session" -- session file. The "last session" is also used in persistent session mode.
2. Listing input stream has a higher priority to session options (`-s`/`-S`). Sessions can be loaded explicitly at runtime. Session option _restore_ would restore the persistent session at runtime. 2. Listing input stream has a higher priority to session options (`-s`/`-S`). Sessions can be loaded explicitly at runtime. Session option _restore_ would restore the persistent session at runtime.
@ -171,7 +171,7 @@ so you can easily handle files together (**even at the `nnn` command prompt!**):
xargs -0 ls -l < $sel // compare 2 selected files xargs -0 ls -l < $sel // compare 2 selected files
``` ```
**Notes:** Notes:
1. The selection file can be directly edited to remove any entries but it's not recommended. 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. 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.