mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 11:51:27 +00:00
Move Live Preview usage notes to Wiki page
This commit is contained in:
parent
1dbbc45c78
commit
63e90c573b
1
nnn.1
1
nnn.1
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue