Sfoglia il codice sorgente

Move Live Preview usage notes to Wiki page

master
Arun Prakash Jana 4 anni fa
parent
commit
63e90c573b
Non sono state trovate chiavi note per questa firma nel database ID Chiave GPG: A75979F35C080412
2 ha cambiato i file con 1 aggiunte e 6 eliminazioni
  1. +0
    -1
      nnn.1
  2. +1
    -5
      plugins/README.md

+ 0
- 1
nnn.1 Vedi 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


+ 1
- 5
plugins/README.md Vedi 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.


Loading…
Annulla
Salva