summaryrefslogtreecommitdiff
path: root/usr.bin/mg/mg.1
diff options
context:
space:
mode:
authorOmar Polo <op@cvs.openbsd.org>2023-06-28 08:37:53 +0000
committerOmar Polo <op@cvs.openbsd.org>2023-06-28 08:37:53 +0000
commit79aa3df36e2b3e5320ab5e3464ea7df734e75173 (patch)
treeeeb65b2384627c1027152b46a2bb8bb88dae74d5 /usr.bin/mg/mg.1
parent76401ff66afbf67b6f6aa86d8975c775e5646835 (diff)
add `notab' to the list of modes that can be set with set-default-mode
specify also that it can be set globally with set-default-mode, as done in the description of the other built-in modes. Diff from Simon Branch (that I got via jmc@), thanks!
Diffstat (limited to 'usr.bin/mg/mg.1')
-rw-r--r--usr.bin/mg/mg.18
1 files changed, 5 insertions, 3 deletions
diff --git a/usr.bin/mg/mg.1 b/usr.bin/mg/mg.1
index 2387b29a106..e1df3f2c87c 100644
--- a/usr.bin/mg/mg.1
+++ b/usr.bin/mg/mg.1
@@ -1,7 +1,7 @@
-.\" $OpenBSD: mg.1,v 1.134 2023/04/28 10:02:03 op Exp $
+.\" $OpenBSD: mg.1,v 1.135 2023/06/28 08:37:52 op Exp $
.\" This file is in the public domain.
.\"
-.Dd $Mdocdate: April 28 2023 $
+.Dd $Mdocdate: June 28 2023 $
.Dt MG 1
.Os
.Sh NAME
@@ -770,6 +770,8 @@ lines.
.It Ic no-tab-mode
Toggle notab mode.
In this mode, spaces are inserted rather than tabs.
+Can be set globally with
+.Ic set-default-mode .
.It Ic not-modified
Turn off the modified flag in the current buffer.
.It Ic open-line
@@ -920,7 +922,7 @@ This is the default.
.It Ic set-default-mode
Append the supplied mode to the list of default modes
used by subsequent buffer creation.
-Built in modes include: fill, indent and overwrite.
+Built in modes include: fill, indent, notab and overwrite.
.It Ic set-fill-column
Prompt the user for a fill column.
Used by