]> git.ipfire.org Git - thirdparty/vim.git/commit
runtime(doc): clarify documentation for "v" position at line()
authorPeter Aronoff <peter@aronoff.org>
Tue, 11 Jun 2024 17:22:53 +0000 (19:22 +0200)
committerChristian Brabandt <cb@256bit.org>
Tue, 11 Jun 2024 17:23:08 +0000 (19:23 +0200)
commit210b39c2d686d875e2464ca1f42131453dc6bd41
treef3fcd079ad54e4359180c605cdf06fb12e11bfc1
parent4877cb411f00ebf546417e9a71ab493916b50955
runtime(doc): clarify documentation for "v" position at line()

Problem: the previous documentation falsely states that "v" always
refers to the start of a visual area.  In fact, the reference of "v" and
"." complement each other.  If the cursor is at the start of
a (characterwise) visual area, then "v" refers to the end of the area.

Solution: be more verbose and explicit about the connection between "."
and "v" and also refer to |v_o| which many vim users will be familiar
with for visual areas.

Signed-off-by: Peter Aronoff <peter@aronoff.org>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/doc/builtin.txt