Move Live Preview usage notes to Wiki page

This commit is contained in:
Arun Prakash Jana 2020-06-03 09:15:00 +05:30
parent 1dbbc45c78
commit 63e90c573b
No known key found for this signature in database
GPG key ID: A75979F35C080412
2 changed files with 1 additions and 6 deletions

1
nnn.1
View file

@ -193,7 +193,6 @@ Special keys at filter prompt:
------ + ---------------------------------------
^char | Usual keybind functionality
Esc | Exit filter prompt but skip dir refresh
F5 | Exit filter prompt and refresh dir
------ + ---------------------------------------
.Ed
.Pp

View file

@ -198,13 +198,9 @@ Usage examples can be found in the Examples section below.
If `NNN_FIFO` is set, `nnn` will open it and write every hovered files. This can be used in plugins and external scripts, e.g. to implement file previews.
The easiest way to set `NNN_FIFO` is to start `nnn` with the `-a` option, to automatically setup a temporary FIFO file for this `nnn` instance.
If a `NNN_FIFO` environment variable is set globally (and `-a` is not passed to `nnn`), each `nnn` instance will write to the same FIFO, and a process reading from the pipe will get hovered path from every instance, interleaved.
Don't forget to fork in the background to avoid blocking `nnn`.
Note that `nnn` does not watch the hovered file and update the path if it's modified while under preview. Press <kbd>|</kbd> to update the preview without changing the hovered entry.
For more details on configuration and usage of the preview plugins, visit [Live Previews](https://github.com/jarun/nnn/wiki/Live-previews).
#### Examples
There are many plugins provided by `nnn` which can be used as examples. Here are a few simple selected examples.