go ahead. it matches vi.ref anyway. i was waiting on confirmation from millert
since i never use this stuff.
jmc
On 29 January 2023 08:19:43 GMT, Otto Moerbeek wrote:
>On Sat, Jan 28, 2023 at 07:55:57PM +0100, Tomáš Rippl wrote:
>
>> System: OpenBSD 7.2
>> Architecture: OpenBSD.amd64
>> Machine: amd64
>>
>> >Description
>> There is a bug in vi(1) manpage in VI TEXT INPUT COMMANDS section.
>> ^ is said to "Erase all of the autoindent characters, and reset
>> the autoindent level."
>> Actually, it does not reset the autoindent level.
>> 0 is said to "Erase all of the autoindent characters."
>> Actually, it also resets the autoindent level.
>> It seems that the sentence part that mentions the autoindent level reset
>> should be moved from ^ to 0
>
>Yes I think you are right.
>
> -Otto
>
>
>Index: docs/USD.doc/vi.man/vi.1
>===
>RCS file: /home/cvs/src/usr.bin/vi/docs/USD.doc/vi.man/vi.1,v
>retrieving revision 1.82
>diff -u -p -r1.82 vi.1
>--- docs/USD.doc/vi.man/vi.1 22 Apr 2022 21:09:48 - 1.82
>+++ docs/USD.doc/vi.man/vi.1 29 Jan 2023 08:18:19 -
>@@ -1593,10 +1593,10 @@ Erase to the previous
> column boundary.
> .Pp
> .It Cm ^ Ns Aq Cm control-D
>-Erase all of the autoindent characters, and reset the autoindent level.
>+Erase all of the autoindent characters.
> .Pp
> .It Cm 0 Ns Aq Cm control-D
>-Erase all of the autoindent characters.
>+Erase all of the autoindent characters, and reset the autoindent level.
> .Pp
> .It Aq Cm control-T
> Insert sufficient
>