From b9771a80e68a3c46e901dec298d5f5b6dfe2654e Mon Sep 17 00:00:00 2001 From: rsc Date: Sun, 30 Jan 2005 16:29:31 +0000 Subject: document -a, Indent --- man/man1/acme.1 | 45 +++++++++++++++++++++++++++++++++------------ 1 file changed, 33 insertions(+), 12 deletions(-) (limited to 'man/man1/acme.1') diff --git a/man/man1/acme.1 b/man/man1/acme.1 index b2007ed1..a162458d 100644 --- a/man/man1/acme.1 +++ b/man/man1/acme.1 @@ -4,6 +4,9 @@ acme, win, awd \- interactive text windows .SH SYNOPSIS .B acme [ +.B -abr +] +[ .B -f .I varfont ] @@ -16,9 +19,6 @@ acme, win, awd \- interactive text windows .I ncol ] [ -.B -br -] -[ .B -l .I file | @@ -174,6 +174,16 @@ The only exception is that the command names to the left of the bar in a tag are maintained automatically; changes to them are repaired by .IR acme . +.PP +When a window is in autoindent mode +(see the +.B Indent +command below) and a newline character is typed, +acme copies leading white space on the current line to the new line. +The option +.B -a +causes each window to start in +autoindent 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 @@ -352,6 +362,17 @@ This command is largely superseded by plumbing (see .IR plumb (7)). .TP +.B Indent +Set the autoindent 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 the current window and all future windows. +.TP .B Kill Send a .B kill @@ -359,6 +380,15 @@ note to .IR acme -initiated commands named as arguments. .TP +.B Load +Restore the state of +.I acme +from a file (default +.BR $home/acme.dump ) +created by the +.B Dump +command. +.TP .B Local In the Plan 9 .IR acme , @@ -385,15 +415,6 @@ is recognized as a prefix, but has no effect on the command being executed. .\" and to set environment variables such as .\" .BR $objtype . .TP -.B Load -Restore the state of -.I acme -from a file (default -.BR $home/acme.dump ) -created by the -.B Dump -command. -.TP .B Look Search in body for occurrence of literal text indicated by the argument or, if none is given, by the selected text in the body. -- cgit v1.2.3