this post was submitted on 28 Oct 2025
19 points (91.3% liked)

Linux

9966 readers
466 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
 

I’d like to be able to navigate text in a pager with Vim-style modal editing (moving with hjkl and yank/paste with y/p). Is there a way to enable this in the default pager, or is there an alternative pager that supports this kind of modal behavior?

you are viewing a single comment's thread
view the rest of the comments
[–] SinTan1729@programming.dev 3 points 3 days ago* (last edited 3 days ago)

This, but I use bat since it seems to be faster for this.

Edit: I should clarify that I only use bat as the MANPAGER, since bat uses less under 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 the PAGER too.