From 900eed1ec714253d6c2f2f15ca4adbe281098bb5 Mon Sep 17 00:00:00 2001 From: Mark Lumsden Date: Thu, 13 Dec 2018 14:59:17 +0000 Subject: Allow all non-ephemeral buffers to be toggled writable or read-only while mg is running: toggle-read-only-all --- usr.bin/mg/mg.1 | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'usr.bin/mg/mg.1') 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. -- cgit v1.2.3