aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Reagle <greg.reagle@umbc.edu>2020-11-19 12:53:55 -0500
committerGreg Reagle <greg.reagle@umbc.edu>2020-11-19 12:53:55 -0500
commitf1e9f7da811248e7f0c8cd246ecd541a091e920f (patch)
tree71d4dae926034f95d7551f466a1a9395517bf1a0
parentbe0a71b9ce42622c4f06be6842760bd131ef1915 (diff)
downloadvis-f1e9f7da811248e7f0c8cd246ecd541a091e920f.tar.gz
vis-f1e9f7da811248e7f0c8cd246ecd541a091e920f.tar.xz
correct a couple of typos and distinguish between immediate and waiting operators
-rw-r--r--man/vis.131
1 files changed, 20 insertions, 11 deletions
diff --git a/man/vis.1 b/man/vis.1
index 4082997..0543366 100644
--- a/man/vis.1
+++ b/man/vis.1
@@ -123,7 +123,7 @@ commands provide means to restore the text to an arbitrary state.
.Ss Marks
.
A mark associates a symbolic name to a set of selections.
-A stored selection becomes invalid when its delimiting boundaries changes
+A stored selection becomes invalid when its delimiting boundaries change
in the underlying buffer.
If said changes are later undone the mark becomes valid again.
.Ic m
@@ -769,16 +769,30 @@ command.
.
.Ss Operators
.
-Operators perform a certain operation an a text range indicated by either a
+Operators perform a certain operation on a text range indicated by either a
motion, a text object or an existing selection.
.Pp
+When used in normal mode, the following operators wait for a motion, putting
+vis into operator pending mode.
.Bl -tag -width XXXXXXXXXX -compact
.It Ic c
change, delete range and enter insert mode
.
.It Ic d
-delete range
+delete, cut range to register
.
+.It Ic <
+shift-left, decrease indent
+.
+.It Ic >
+shift-right, increase indent
+.
+.It Ic y
+yank, copy range to register
+.El
+.Pp
+When used in normal mode, the following actions take effect immediately.
+.Bl -tag -width XXXXXXXXXX -compact
.It Ic =
format, filter range through
.Xr fmt 1
@@ -799,16 +813,11 @@ join lines, insert spaces in between
join lines remove any delimiting white spaces
.
.It Ic p
-put, insert register content
+put register content after cursor
.
-.It Ic <
-shift-left, decrease indent
+.It Ic P
+put register content before cursor
.
-.It Ic >
-shift-right, increase indent
-.
-.It Ic y
-yank, copy range to register
.El
.
.Ss Motions