[Bug 281635] vi editor ) command -go to next sentence- goes to the next paragraph instead

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 21 Sep 2024 18:05:00 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281635

--- Comment #2 from Alfredo Llaquet Alsina <llaquet@protonmail.com> ---
Upon further investigation, vi documentation says:

A sentence is defined to end at a '.', '!' or '?' which is followed by either
the end of a line, or by two spaces.

According to that, ) works fine, although I don't see the practicality of
looking for two spaces after the period instead of just one.

Curiously, the command ( -go to previous sentence- functions also when the
period is followed by just one space, which is what threw me off.

If I could decide, I'd change ) to work like ( in this respect -look for just
one space-.

-- 
You are receiving this mail because:
You are the assignee for the bug.