search in less


With less text files are displayed. But you can also search in files.

By pressing /named to get to the first occurrence of named.

A reverse search works with
?named.

Press n to jump to the next occurrence.

In order not to have to press n again and again, a certain place can also be highlighted.
This works by mt.
With m a mark is set. The following character is the name of the marker (t).
To jump to a marked position, ' is used along with the name of the mark. E.g. mt to go to the mark t..

Leave a comment

Your email address will not be published. Required fields are marked *