this post was submitted on 28 Oct 2025
19 points (91.3% liked)
Linux
10225 readers
724 users here now
A community for everything relating to the GNU/Linux operating system (except the memes!)
Also, check out:
Original icon base courtesy of lewing@isc.tamu.edu and The GIMP
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
You can set Vim as your pager. If you are on Neovim, its very easy, just set this variable:
Then try
man grep. These variables could be set in your .bashrc in example. If you use the "original" Vim, it's a bit more complicated to setup. I did that before too, so it's definitely doable.This, but I use
batsince it seems to be faster for this.Edit: I should clarify that I only use
batas theMANPAGER, sincebatuseslessunder the hood for paging anyway. But with support for a built-in pager in the new release, perhaps it makes sense to set it as thePAGERtoo.