I know about answers like how-to-make-mouse-wheel-scroll-the-less-pager-using-bash-and-gnome-terminal, which is to remove the
-X flag from the $LESS environment variable. But I would like to do both of these:
- use the mouse wheel to scroll the pager (as opposed to scrolling the terminal window's scrollbar) (which you get by removing
- have the content from the pager remain on the screen after quitting (which is normally accomplished by adding
Is there any way I can have my cake and eat it as well?