Example in ":help v_b_I_example" is not correct

8 views
Skip to first unread message

Yegappan Lakshmanan

unread,
May 30, 2021, 1:04:01 PM5/30/21
to vim_dev
Hi,

The example shown in ":help v_b_I_example" doesn't work properly.
After executing the commands, in the third line, the following text is
present:

abcdef ghi STRING <Tab>jklmnopqrstuvwxyz

instead of the following:

abcdef ghi STRING<Tab>jklmnopqrstuvwxyz

Note the additional two spaces before <Tab> after "STRING".

- Yegappan

Bram Moolenaar

unread,
May 30, 2021, 3:09:26 PM5/30/21
to vim...@googlegroups.com, Yegappan Lakshmanan
Yeah, that's what happens. I sometimes clean up white space, then a
space before a tab is usually undesired, but here it's supposed to stay.

--
If "R" is Reverse, how come "D" is FORWARD?

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///

Yegappan Lakshmanan

unread,
May 30, 2021, 3:13:27 PM5/30/21
to Bram Moolenaar, vim_dev
Hi Bram,

On Sun, May 30, 2021 at 12:09 PM Bram Moolenaar <Br...@moolenaar.net> wrote:
>
>
> Yegappan wrote:
>
> > The example shown in ":help v_b_I_example" doesn't work properly.
> > After executing the commands, in the third line, the following text is
> > present:
> >
> > abcdef ghi STRING <Tab>jklmnopqrstuvwxyz
> >
> > instead of the following:
> >
> > abcdef ghi STRING<Tab>jklmnopqrstuvwxyz
> >
> > Note the additional two spaces before <Tab> after "STRING".
>
> Yeah, that's what happens. I sometimes clean up white space, then a
> space before a tab is usually undesired, but here it's supposed to stay.
>

The example under ":help v_b_I_example" shows only the <Tab>
character after STRING without the two space characters. If the two
space characters after STRING are expected, then the help text needs
to be updated.

Regards,
Yegappan
Reply all
Reply to author
Forward
0 new messages