ページャがneovimの場合、Linux mintのマニュアルページにsudoが必要です。

ページャがneovimの場合、Linux mintのマニュアルページにsudoが必要です。

うまくいけばsudo manそうでなければ手に入る

~$ 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

MANPAGER参考までにneovimのヘルプに従って設定してください。

export MANPAGER='nvim +Man!'

:Manこのコマンドはnvim内でうまく機能します。

ベストアンサー1

MANPAGERでなぜこれが起こるのかよくわかりませんが、エラーメッセージのアドバイスによればこれが可能だと思います。

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

修正する:

以前のソリューションはneovim> = v0.6.1では動作しなくなりました。次は尊敬される方法:

export MANPAGER='nvim +Man!'

おすすめ記事