Hello!
I've been enjoying the resurrection of no-tab-mode in mg(1).
It is simple to enable by default:
set-default-mode notab
The manual page says that "built in modes include fill, indent and
overwrite". This patch makes the list more complete by adding notab,
and adds "can be set globally with set-default-mode" to no-tab-mode's
documentation (since it is there for the other modes). Hopefully this
makes the manual page more useful, obvious, and regular.
Thank you,
Simon
Index: mg.1
===================================================================
RCS file: /cvs/src/usr.bin/mg/mg.1,v
retrieving revision 1.134
diff -u -r1.134 mg.1
--- mg.1 28 Apr 2023 10:02:03 -0000 1.134
+++ mg.1 28 Jun 2023 01:27:46 -0000
@@ -770,6 +770,8 @@
.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 @@
.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