- Use pip to install pymupdf (py -m pip install pymupdf)
- Download preview.bat and lf_preview.py from: https://github.com/ahrm/dotfiles/tree/main/lf-windows/lf_scripts
- Download pymupdf script updater from: https://github.com/pymupdf/PyMuPDF-Utilities/blob/master/alias-changer.py
-
Run
py alias-changer.py lf_preview.py
to convert depracated code. - LF on Window should now have a text preview of pdf files.