Just downloaded and found that I was getting empty pages for everything. The solution was to switch to less for the pager. Apparently this has happened before, e.g. #32, #103. Because vim/neovim are a lot more complicated than less, not even counting all the plugins that may be installed, I think it would make more sense to use less by default, like man does. Unless there was a specific reason why vim was chosen as the default pager?
Some info about my setup where I was getting empty pages:
/bin/cppman Ver 0.5.3
Copyright (C) 2010 Wei-Ning Huang
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Wei-Ning Huang (AZ) <aitjcize@gmail.com>.
My vim was aliased to neovim:
NVIM v0.8.1
Build type: Release
LuaJIT 2.1.0-beta3
Compiled by void-buildslave@a-fsn-de
Features: +acl +iconv +tui
See ":help feature-compile"
system vimrc file: "$VIM/sysinit.vim"
fall-back for $VIM: "/usr/share/nvim"
Run :checkhealth for more info
Just downloaded and found that I was getting empty pages for everything. The solution was to switch to
less
for the pager. Apparently this has happened before, e.g. #32, #103. Because vim/neovim are a lot more complicated than less, not even counting all the plugins that may be installed, I think it would make more sense to useless
by default, likeman
does. Unless there was a specific reason whyvim
was chosen as the default pager?Some info about my setup where I was getting empty pages:
My
vim
was aliased to neovim: