Updated Live previews (markdown)

luukvbaal 2021-04-24 00:34:00 +02:00
parent b6eaffbc40
commit 2e0b500294
1 changed files with 1 additions and 1 deletions

@ -31,7 +31,7 @@ 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 or 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. 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](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.
To run a previewer (or any plugin in general) when you start `nnn`, use the option `-P`