doronbehar / pistol

General purpose file previewer designed for Ranger, Lf to make scope.sh redundant
MIT License
321 stars 7 forks source link

Pistol is now supported on nnn #27

Closed marioortizmanero closed 4 years ago

marioortizmanero commented 4 years ago

This file previewer is now supported on nnn by using the preview-tui plugin. It's a fairly popular file manager, I just wanted to mention this in case you wanted to update the docs on how it can be integrated.

All you have to do is install nnn, download and enable the plugin by setting NNN_PLUG accordingly, and most importantly, set USE_PISTOL=1, either in the preview-tui script, or as an environment variable. NNN_FIFO is necessary, but it can be replaced by nnn -a. The script can be launched automatically with nnn -P k where k is the assigned key from NNN_PLUG. The wiki has tons of details on how to configure nnn properly, but if you need my help do tell. I can even do it in a PR if you want, or review yours.

Cheers!