Unfortunately the less pager does not have this functionality. The only search options available are / for a forward search, and ? for a backward search.
I know about it but can you pipe text to it? i.e. use it as a pager for other tools (such as git) – hasen jFeb 27 '10 at 2:08
1
looks like vim comes with a script for that.. export PAGER=/usr/share/vim/vim71/macros/less.sh or if you google 'vimpager' there is a supposedly better replacement.. git sort of has issues with it because of the terminal escape codes for color, but there might be an easy fix for that... – user23307Feb 27 '10 at 11:04