From 3966df490d697a90f05812d53c0ce36336b201cc Mon Sep 17 00:00:00 2001 From: luukvbaal <31730729+luukvbaal@users.noreply.github.com> Date: Mon, 31 May 2021 00:03:47 +0200 Subject: [PATCH] Updated Live previews (markdown) --- Live-previews.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Live-previews.md b/Live-previews.md index 2c24ba8..b8a6ce3 100644 --- a/Live-previews.md +++ b/Live-previews.md @@ -31,15 +31,14 @@ Follow the instructions in the [plugin documentation](https://github.com/jarun/n There are 2 previewer plugins for `nnn`, using various mechanisms to display the preview window: - [preview-tabbed](https://github.com/jarun/nnn/blob/master/plugins/preview-tabbed): the preview window is a [tabbed](https://tools.suckless.org/tabbed) X window, files are viewed using Xembed capable programs ([mpv](https://mpv.io) for audio/video, [sxiv](https://github.com/muennich/sxiv) for images, [zathura](https://pwmt.org/projects/zathura) for PDF, xterm/urxvt/st + [nuke](https://github.com/jarun/nnn/blob/master/plugins/nuke) plugin text preview for other files) -- [preview-tui](https://github.com/jarun/nnn/blob/master/plugins/preview-tui): the preview window is either a tmux pane, a new terminal window or a [kitty](https://sw.kovidgoyal.net/kitty/) pane (needs kitty's `allow_remote_control` option turned on), and files are previewed using tools like tree, less, file, mediainfo, kitty's icat, [ueberzug](https://github.com/seebye/ueberzug) etc. On WSL it will use [QuickLook](https://github.com/QL-Win/QuickLook) to preview files. It can also use ranger's scope.sh or pistol. It's a good starting point from where you can build your own customized plugin. -- [preview-tui-ext](https://github.com/jarun/nnn/blob/master/plugins/preview-tui-ext): a more extended version of `preview-tui`, including ueberzug support and other optional dependencies. Meant to include preview support for an any file-type imaginable. +- [preview-tui](https://github.com/jarun/nnn/blob/master/plugins/preview-tui): the preview window is either a tmux pane, a new terminal window or a [kitty](https://sw.kovidgoyal.net/kitty/) pane (needs kitty's `allow_remote_control` option turned on), and files are previewed using tools like tree, less, file, mediainfo, kitty's icat, [ueberzug](https://github.com/seebye/ueberzug) etc. On WSL it will use [QuickLook](https://github.com/QL-Win/QuickLook) to preview files. It can also use ranger's scope.sh or pistol. Feel free to submit a pull-request for any previewer you feel is missing. To run a previewer (or any plugin in general) when you start `nnn`, use the option `-P` Notes: 1. `nnn` does not watch the hovered file and update the path if it's modified while under preview. Press Esc or click on the entry to update the preview without changing the hovered entry. -2. To close the `preview-tui(-ext)` preview windows run the plugin again or press ^C on the preview window. +2. To close the `preview-tui` preview windows run the plugin again or press ^C on the preview window. ## Custom script configuration example