Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use less as default pager #143

Open
adigitoleo opened this issue Dec 18, 2022 · 0 comments
Open

Use less as default pager #143

adigitoleo opened this issue Dec 18, 2022 · 0 comments

Comments

@adigitoleo
Copy link

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) <[email protected]>.

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant