From 95bbda4a30c5aa5bf5e425177d0d386214afafd1 Mon Sep 17 00:00:00 2001 From: op Date: Tue, 9 Jul 2024 14:51:37 +0000 Subject: [PATCH] document C-u handling on shell-command{,-on-region}, forgot in previous --- usr.bin/mg/mg.1 | 8 ++++++-- 1 file 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. -- 2.20.1