summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorOmar Polo <op@cvs.openbsd.org>2024-07-09 14:51:38 +0000
committerOmar Polo <op@cvs.openbsd.org>2024-07-09 14:51:38 +0000
commitf03447622dc1ba127f615f503184afbc0772a54c (patch)
treea4f07bbecd53f3f9f651d4001ae8d059555a78f1 /usr.bin
parent3f4801fd4456716e7585d3fab82e1e14ed5c7ebf (diff)
document C-u handling on shell-command{,-on-region}, forgot in previous
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/mg/mg.18
1 files changed, 6 insertions, 2 deletions
diff --git a/usr.bin/mg/mg.1 b/usr.bin/mg/mg.1
index ca684157d14..7afbd733b7a 100644
--- a/usr.bin/mg/mg.1
+++ b/usr.bin/mg/mg.1
@@ -1,7 +1,7 @@
-.\" $OpenBSD: mg.1,v 1.137 2024/06/04 06:48:34 op Exp $
+.\" $OpenBSD: mg.1,v 1.138 2024/07/09 14:51:37 op Exp $
.\" This file is in the public domain.
.\"
-.Dd $Mdocdate: June 4 2024 $
+.Dd $Mdocdate: July 9 2024 $
.Dt MG 1
.Os
.Sh NAME
@@ -938,8 +938,12 @@ Set the tab width for the current buffer, or the default for new buffers
if called with a prefix argument or from the startup file.
.It Ic shell-command
Execute external command from mini-buffer.
+With an universal argument it inserts the command output into the current
+buffer.
.It Ic shell-command-on-region
Provide the text in region to the shell command as input.
+With an universal argument it replaces the region with the command
+output.
.It Ic shrink-window
Shrink current window by one line.
The window immediately below is expanded to pick up the slack.