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.

sudavid4
  • 161
  • 3

1 Answers1

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!'
r_31415
  • 496
  • 1
  • 4
  • 7
  • 1
    thank you for that. Unfortunatelly my linux machine is long gone so I can't confirm that this works. – sudavid4 Jul 14 '21 at 07:31
  • The recommended approach (from `:help Man`) you list is the exact same line the OP had in the question. The error persists, at least on Ubuntu 22.04. – type_outcast Jul 12 '23 at 10:35