commit 66dc90655fcdeb0dda20a74919eac65362271bb3 from: Stefan Sperling date: Sat Feb 15 17:11:59 2020 UTC document the new search feature in tog's diff view commit - bf93a5c0fdac6a15fa1cc764734f5cd7b7f0bae1 commit + 66dc90655fcdeb0dda20a74919eac65362271bb3 blob - 1cca12979be126c0b7f73441feaa69ebf0e7ea73 blob + d891703b6b7312cb072ec360b1b33172a623e216 --- tog/tog.1 +++ tog/tog.1 @@ -194,6 +194,15 @@ If the diff view was opened via the log view, move to commit. .It Cm >, Full stop If the diff view was opened via the log view, move to the next (older) commit. +.It Cm / +Prompt for a search pattern and start searching for matching line. +The search pattern is an extended regular expression. +Regular expression syntax is documented in +.Xr re_format 7 . +.It Cm n +Find the next line which matches the current search pattern. +.It Cm N +Find the previous line which matches the current search pattern. .El .It Cm blame Oo Fl c Ar commit Oc Oo Fl r Ar repository-path Oc Ar path Display line-by-line history of a file at the specified path.