Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Sep 2024 21:37:50 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 281638] vi editor ( command -go to the previous sentence- stops at period + 1 space when shouldn't
Message-ID:  <bug-281638-227@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 281638
           Summary: vi editor ( command -go to the previous sentence-
                    stops at period + 1 space when shouldn't
           Product: Base System
           Version: 14.1-STABLE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: llaquet@protonmail.com

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.

The ) command -go to the next sentence- works as expected, but the mirror
command ( considers that a period followed by just one space also marks the=
 end
of a sentence, when it should not.

Being mirror commands, ( and ) should function in the same manner, so you c=
an
navigate the document in one direction and the other the same way.

In my opinion, if this is going to be looked up and fixed, it'd be better to
take the opportunity to widen the definition of a sentence to the more "nor=
mal"
period + 1 space, so I would let ( as is and change ).

But if the objective is to follow the documentation, then I guess that the
opposite must be done.

Thank you for your time. I'm aware that this is not very important, but I t=
hink
it's good that at least gest hereby documented.

--=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-281638-227>