summaryrefslogtreecommitdiff
path: root/sys/man/1/acme
diff options
context:
space:
mode:
authorspew <devnull@localhost>2018-08-01 11:14:59 -0400
committerspew <devnull@localhost>2018-08-01 11:14:59 -0400
commit4757debd0b5935dae94944c35c3cac74b14aa209 (patch)
tree950414554d5b67cce61a3c7809222a331d64a028 /sys/man/1/acme
parent2b619dc9669e34c7b110ce188a10d03849119c78 (diff)
acme: add spacesindent mode
Diffstat (limited to 'sys/man/1/acme')
-rw-r--r--sys/man/1/acme23
1 files changed, 22 insertions, 1 deletions
diff --git a/sys/man/1/acme b/sys/man/1/acme
index 2220fa670..36fbd8ae3 100644
--- a/sys/man/1/acme
+++ b/sys/man/1/acme
@@ -4,7 +4,7 @@ acme, win \- interactive text windows
.SH SYNOPSIS
.B acme
[
-.B -ab
+.B -aib
]
[
.B -c
@@ -174,6 +174,16 @@ The option
.B -a
causes each window to start in
autoindent mode.
+.PP
+When a window is in spacesindent mode
+(see the
+.B Spaces
+command below) and a tab character is typed,
+acme indents the line with spaces equal to the current
+tabstop for the window. The option
+.B -i
+causes each window to start in spacesindent
+mode.
.SS "Directory context
Each window's tag names a directory: explicitly if the window
holds a directory; implicitly if it holds a regular file
@@ -430,6 +440,17 @@ Place selected text in snarf buffer.
Arrange the windows in the column from top to bottom in lexicographical
order based on their names.
.TP
+.B Spaces
+Set the spacesindent mode according to the argument:
+.B on
+and
+.B off
+set the mode for the current window;
+.B ON
+and
+.B OFF
+set the mode for all existing and future windows.
+.TP
.B Tab
Set the width of tab stops for this window to the value of the argument, in units of widths of the zero
character.