aboutsummaryrefslogtreecommitdiffstats
path: root/pw.1
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2022-05-06 21:16:41 -0700
committerKaz Kylheku <kaz@kylheku.com>2022-05-06 21:16:41 -0700
commitb11c4d66002e5338c6e210fb31a7e19eef649d21 (patch)
treecf2a91110789031e2cb12b126dd963032d5a4e12 /pw.1
parentbdb1bb5e9be601e096a5c83d4ba56e6cf7821360 (diff)
downloadpw-b11c4d66002e5338c6e210fb31a7e19eef649d21.tar.gz
pw-b11c4d66002e5338c6e210fb31a7e19eef649d21.tar.bz2
pw-b11c4d66002e5338c6e210fb31a7e19eef649d21.zip
Implement . (period) command for repeating commands.
Diffstat (limited to 'pw.1')
-rw-r--r--pw.113
1 files changed, 13 insertions, 0 deletions
diff --git a/pw.1 b/pw.1
index c751945..2966e1f 100644
--- a/pw.1
+++ b/pw.1
@@ -153,6 +153,19 @@ count greater than 1 is in effect. (See the
.B -q
option).
+.IP "[\fIcount\fP]\fB.\fP (period)"
+Repeats the most recent simple command, with the specified
+.I count
+or if
+.I count
+is omitted, with the original count of that command. If
+.I count
+is given, it also replaces the remembered count, for the next
+time the
+.B .
+(period) command is used without a count. Colon and trigger commands are not
+simple commands; they cannot be repeated by the period command.
+
.IP "[\fIcount\fP]\fBl\fP, [\fIcount\fP]\fILeft Arrow\fP"
Scroll the display to the left by
.I count