4
There is one little thing annoying me in man pages. When I search for text using '/' command the line where the text is found is positioned at the top of the screen. I find it inconvenient because when I search for text I want to see it in the context which also includes the a couple of lines before the found text.
Is there a way to tell the man pager not to scroll the screen all the way to the top during search?
Thanks.
1I needed to export the LESS variable before it worked. Example: export LESS=-j4 – gregh – 2011-06-27T20:48:00.960
@gregh: Thanks for the reminder. I added the
export
in my answer. – Paused until further notice. – 2011-06-28T02:05:02.253