Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Sep 2024 18:05:00 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 281635] vi editor ) command -go to next sentence- goes to the next paragraph instead
Message-ID:  <bug-281635-227-meEZNJwC7e@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-281635-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-281635-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281635

--- 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 eith=
er
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 ju=
st
one space-.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-281635-227-meEZNJwC7e>