summary refs log tree commit diff
path: root/bin/man1/qf.1
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2022-06-02 22:22:58 -0400
committerJune McEnroe <june@causal.agency>2022-06-02 22:40:41 -0400
commit07596633a2d95ff24de1a7a6b9df64534cd9e82e (patch)
tree88379d6be9d6d137309732f2d19732629a6975b5 /bin/man1/qf.1
parentClean up parsing a little (diff)
downloadsrc-07596633a2d95ff24de1a7a6b9df64534cd9e82e.tar.gz
src-07596633a2d95ff24de1a7a6b9df64534cd9e82e.zip
Do basic match highlighting
Diffstat (limited to '')
-rw-r--r--bin/man1/qf.117
1 files changed, 16 insertions, 1 deletions
diff --git a/bin/man1/qf.1 b/bin/man1/qf.1
index 06676087..8828d723 100644
--- a/bin/man1/qf.1
+++ b/bin/man1/qf.1
@@ -7,7 +7,7 @@
 .Nd grep pager
 .
 .Sh SYNOPSIS
-.Nm
+.Nm Op Ar pattern
 .
 .Sh DESCRIPTION
 .Nm
@@ -31,6 +31,19 @@ It otherwise operates similar to
 .Xr less 1 .
 .
 .Pp
+If
+.Ar pattern
+is given,
+the first match on each line
+will be highlighted.
+The
+.Ar pattern
+is interpreted as
+an extended regular expression
+and is matched case-insensitively
+unless it contains an uppercase letter.
+.
+.Pp
 The keys are as follows:
 .Bl -tag -width Ds
 .It Ic Enter
@@ -49,6 +62,8 @@ Move to next or previous line.
 Jump to next or previous match line.
 .It Ic q
 Exit.
+.It Ic r
+Refresh the display.
 .El
 .
 .Sh EXAMPLES