I can't remember where I came across the idea of reading man pages with vim by setting the $MANPAGER envvar. I think it was from this post

For me, it really does make reading man pages way more comfortable. I wonder if we could do something similar for reading other text heavy content... like perhaps?

@asym "most" is also a great alternative to "less"
I use it as PAGER and also for man pages

@asym turns out has a pager built in.
export MANPAGER='nvim +Man!'
does the trick.

See ':h man.vim'

Sign in to participate in the conversation

Fosstodon is an English speaking Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.