NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
lib/59953: [PATCH] editline.7: Document vi-histedit command
>Number: 59953
>Category: lib
>Synopsis: [PATCH] editline.7: Document vi-histedit command
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: lib-bug-people
>State: open
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Sat Jan 31 19:55:00 +0000 2026
>Originator: Artem Bunichev
>Release: NetBSD 10.1
>Organization:
>Environment:
>Description:
The editline(7) manual page lacks the detailed description of the 'vi-histedit' editor command. But it's still mentioned in the list of the default input bindings for the vi command mode.
>How-To-Repeat:
man 7 editline
>Fix:
Here's the patch that adds the missing description:
diff --git a/lib/libedit/editline.7 b/lib/libedit/editline.7
index 9a96fca47fa5..de856ce331ee 100644
--- a/lib/libedit/editline.7
+++ b/lib/libedit/editline.7
@@ -15,7 +15,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd April 6, 2024
+.Dd January 31, 2026
.Dt EDITLINE 7
.Os
.Sh NAME
@@ -637,6 +637,12 @@ cursor, move the cursor after to the character after the inserted
word, and switch to vi insert mode.
It is an error if there is no history entry or the most recent
history entry is empty.
+.It Ic vi-histedit Pq vi command: v
+Edit the buffer with the editor and return the edit buffer to the program.
+The editor specified by the
+.Ev EDITOR
+environment variable will be invoked instead of the default editor
+.Xr vi 1 .
.It Ic vi-insert Pq vi command: i
Enter insert mode.
.It Ic vi-insert-at-bol Pq vi command: I
Home |
Main Index |
Thread Index |
Old Index