summaryrefslogtreecommitdiff
path: root/usr.bin/mg/mg.1
diff options
context:
space:
mode:
authorMark Lumsden <lum@cvs.openbsd.org>2018-12-13 14:59:17 +0000
committerMark Lumsden <lum@cvs.openbsd.org>2018-12-13 14:59:17 +0000
commit900eed1ec714253d6c2f2f15ca4adbe281098bb5 (patch)
tree73044eff07d23bc8c38f146941a5f3f09a38e3b1 /usr.bin/mg/mg.1
parent3d4212dae69e5feb6eb917aa6aebf66e59ff25b0 (diff)
Allow all non-ephemeral buffers to be toggled writable or read-only
while mg is running: toggle-read-only-all
Diffstat (limited to 'usr.bin/mg/mg.1')
-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 2a4d962dfe4..6d4f22ff1f2 100644
--- a/usr.bin/mg/mg.1
+++ b/usr.bin/mg/mg.1
@@ -1,7 +1,7 @@
-.\" $OpenBSD: mg.1,v 1.108 2018/11/18 07:57:28 lum Exp $
+.\" $OpenBSD: mg.1,v 1.109 2018/12/13 14:59:16 lum Exp $
.\" This file is in the public domain.
.\"
-.Dd $Mdocdate: November 18 2018 $
+.Dd $Mdocdate: December 13 2018 $
.Dt MG 1
.Os
.Sh NAME
@@ -884,6 +884,10 @@ Prompt and switch to a new buffer in the current window.
Switch to buffer in another window.
.It toggle-read-only
Toggle the read-only flag on the current buffer.
+.It toggle-read-only-all
+Toggle the read-only flag on all non-ephemeral buffers.
+A simple toggle that switches a global read-only flag either on
+or off.
.It transpose-chars
Transpose the two characters in front of and under dot,
then move forward one character.