2

If I sudo man it works fine, otherwise I'm getting

~$ man ls
fuse: mount failed: Permission denied

Cannot mount AppImage, please check your FUSE setup.
You might still be able to extract the contents of this AppImage 
if you run it with the --appimage-extract option. 
See https://github.com/AppImage/AppImageKit/wiki/FUSE 
for more information
open dir error: No such file or directory

for reference, setting the MANPAGER as per neovim help

export MANPAGER='nvim +Man!'

:Man command works fine from inside nvim.

1
  • 1
    The title should be a summary of the question, not the first line. Also tell us which OS. Jun 6, 2020 at 15:34

1 Answer 1

1

I don't really understand why this happens with MANPAGER, but following the suggestion in your error message, I believe this works:

export MANPAGER='nvim --appimage-extract-and-run -c "set ft=man"'

UPDATE:

The previous solution is not working anymore in neovim >= v0.6.1. The following is the recommended approach:

export MANPAGER='nvim +Man!'
1
  • 1
    thank you for that. Unfortunatelly my linux machine is long gone so I can't confirm that this works.
    – sudavid4
    Jul 14, 2021 at 7:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.