Commit 9ffd3c02 authored by David Lawrence Ramsey's avatar David Lawrence Ramsey Committed by Benno Schulenberg
Browse files

docs: consistently describe the -U/-c and -r/-w overrides

No related merge requests found
Showing with 18 additions and 11 deletions
+18 -11
...@@ -145,7 +145,8 @@ Set the size (width) of a tab to \fInumber\fP columns. The value of ...@@ -145,7 +145,8 @@ Set the size (width) of a tab to \fInumber\fP columns. The value of
.TP .TP
.BR \-U ", " \-\-quickblank .BR \-U ", " \-\-quickblank
Do quick status-bar blanking: status-bar messages will disappear after 1 Do quick status-bar blanking: status-bar messages will disappear after 1
keystroke instead of 25. Note that \fB\-c\fP overrides this. keystroke instead of 25. Note that option \fB\-c\fR (\fB\-\-constantshow\fR)
overrides this.
.TP .TP
.BR \-V ", " \-\-version .BR \-V ", " \-\-version
Show the current version number and exit. Show the current version number and exit.
...@@ -165,7 +166,7 @@ defined in the \fInanorc\fP files. ...@@ -165,7 +166,7 @@ defined in the \fInanorc\fP files.
.TP .TP
.BR \-c ", " \-\-constantshow .BR \-c ", " \-\-constantshow
Constantly show the cursor position on the status bar. Constantly show the cursor position on the status bar.
Note that this overrides \fB\-U\fP. Note that this overrides option \fB\-U\fR (\fB\-\-quickblank\fR).
.TP .TP
.BR \-d ", " \-\-rebinddelete .BR \-d ", " \-\-rebinddelete
Interpret the Delete key differently so that both Backspace and Delete Interpret the Delete key differently so that both Backspace and Delete
...@@ -221,7 +222,7 @@ Hard-wrap lines at column \fInumber\fP. If this value is 0 or less, wrapping ...@@ -221,7 +222,7 @@ Hard-wrap lines at column \fInumber\fP. If this value is 0 or less, wrapping
will occur at the width of the screen less \fInumber\fP columns, allowing will occur at the width of the screen less \fInumber\fP columns, allowing
the wrap point to vary along with the width of the screen if the screen the wrap point to vary along with the width of the screen if the screen
is resized. The default value is \-8. This option conflicts with is resized. The default value is \-8. This option conflicts with
\fB\-w\fR -- the last one given takes effect. \fB\-w\fR (\fB\-\-nowrap\fR) -- the last one given takes effect.
.TP .TP
.BR \-s\ \fIprogram\fR ", " \-\-speller= \fIprogram .BR \-s\ \fIprogram\fR ", " \-\-speller= \fIprogram
Use this alternative spell checker command. Use this alternative spell checker command.
...@@ -239,7 +240,7 @@ Just view the file and disallow editing: read-only mode. ...@@ -239,7 +240,7 @@ Just view the file and disallow editing: read-only mode.
.TP .TP
.BR \-w ", " \-\-nowrap .BR \-w ", " \-\-nowrap
Disable the hard-wrapping of long lines. This option conflicts with Disable the hard-wrapping of long lines. This option conflicts with
\fB\-r\fR -- the last one given takes effect. \fB\-r\fR (\fB\-\-fill\fR) -- the last one given takes effect.
.TP .TP
.BR \-x ", " \-\-nohelp .BR \-x ", " \-\-nohelp
Don't show the two help lines at the bottom of the screen. Don't show the two help lines at the bottom of the screen.
......
...@@ -690,6 +690,7 @@ Do case-sensitive searches by default. ...@@ -690,6 +690,7 @@ Do case-sensitive searches by default.
@item set constantshow @item set constantshow
Constantly display the cursor position on the status bar. Constantly display the cursor position on the status bar.
(The old form of this option, @code{set const}, is deprecated.) (The old form of this option, @code{set const}, is deprecated.)
Note that this overrides @option{quickblank}.
@item set cut @item set cut
Use cut-to-end-of-line by default, instead of cutting the whole line. Use cut-to-end-of-line by default, instead of cutting the whole line.
...@@ -697,7 +698,8 @@ Use cut-to-end-of-line by default, instead of cutting the whole line. ...@@ -697,7 +698,8 @@ Use cut-to-end-of-line by default, instead of cutting the whole line.
@item set fill @var{number} @item set fill @var{number}
Hard-wrap lines at column number @var{number}. If @var{number} is 0 or less, Hard-wrap lines at column number @var{number}. If @var{number} is 0 or less,
the maximum line length will be the screen width less @var{number} columns. the maximum line length will be the screen width less @var{number} columns.
The default value is @t{-8}. The default value is @t{-8}. This option conflicts with
@option{nowrap}; the last one given takes effect.
@item set functioncolor @var{fgcolor},@var{bgcolor} @item set functioncolor @var{fgcolor},@var{bgcolor}
Specify the color combination to use for the function descriptions Specify the color combination to use for the function descriptions
...@@ -752,7 +754,8 @@ the last one will be visible (when there are multiple ones). ...@@ -752,7 +754,8 @@ the last one will be visible (when there are multiple ones).
Don't add newlines to the ends of files. Don't add newlines to the ends of files.
@item set nowrap @item set nowrap
Don't hard-wrap text at all. Don't hard-wrap text at all. This option conflicts with
@option{fill}; the last one given takes effect.
@item set numbercolor @var{fgcolor},@var{bgcolor} @item set numbercolor @var{fgcolor},@var{bgcolor}
Specify the color combination to use for line numbers. Specify the color combination to use for line numbers.
...@@ -781,7 +784,7 @@ The default value is @t{"!.?"}. ...@@ -781,7 +784,7 @@ The default value is @t{"!.?"}.
@item set quickblank @item set quickblank
Do quick status-bar blanking: status-bar messages will disappear after 1 Do quick status-bar blanking: status-bar messages will disappear after 1
keystroke instead of 25. keystroke instead of 25. Note that @option{constantshow} overrides this.
@item set quiet @item set quiet
When set, @code{nano} will not report errors in the nanorc file nor ask them When set, @code{nano} will not report errors in the nanorc file nor ask them
......
...@@ -91,6 +91,7 @@ Do case-sensitive searches by default. ...@@ -91,6 +91,7 @@ Do case-sensitive searches by default.
.B set constantshow .B set constantshow
Constantly display the cursor position in the status bar. Constantly display the cursor position in the status bar.
(The old form of this option, '\fBset const\fR', is deprecated.) (The old form of this option, '\fBset const\fR', is deprecated.)
This overrides the option \fBquickblank\fR.
.TP .TP
.B set cut .B set cut
Use cut-to-end-of-line by default, instead of cutting the whole line. Use cut-to-end-of-line by default, instead of cutting the whole line.
...@@ -98,7 +99,8 @@ Use cut-to-end-of-line by default, instead of cutting the whole line. ...@@ -98,7 +99,8 @@ Use cut-to-end-of-line by default, instead of cutting the whole line.
.B set fill \fInumber\fR .B set fill \fInumber\fR
Hard-wrap lines at column number \fInumber\fR. If \fInumber\fR is 0 or less, Hard-wrap lines at column number \fInumber\fR. If \fInumber\fR is 0 or less,
the maximum line length will be the screen width less \fInumber\fP columns. the maximum line length will be the screen width less \fInumber\fP columns.
The default value is \fB\-8\fR. The default value is \fB\-8\fR. This option conflicts with
\fBnowrap\fR -- the last one given takes effect.
.TP .TP
.B set functioncolor \fIfgcolor\fR,\fIbgcolor\fR .B set functioncolor \fIfgcolor\fR,\fIbgcolor\fR
Specify the color combination to use for the function descriptions Specify the color combination to use for the function descriptions
...@@ -156,7 +158,8 @@ Don't pause between warnings at startup. This means that only ...@@ -156,7 +158,8 @@ Don't pause between warnings at startup. This means that only
the last one will be visible (when there are multiple ones). the last one will be visible (when there are multiple ones).
.TP .TP
.B set nowrap .B set nowrap
Don't hard-wrap text at all. Don't hard-wrap text at all. This option conflicts with
\fBfill\fR -- the last one given takes effect.
.TP .TP
.B set numbercolor \fIfgcolor\fR,\fIbgcolor\fR .B set numbercolor \fIfgcolor\fR,\fIbgcolor\fR
Specify the color combination to use for line numbers. Specify the color combination to use for line numbers.
...@@ -184,7 +187,7 @@ specfified closing punctuation, optionally followed by closing brackets ...@@ -184,7 +187,7 @@ specfified closing punctuation, optionally followed by closing brackets
.TP .TP
.B set quickblank .B set quickblank
Do quick status-bar blanking: status-bar messages will disappear after 1 Do quick status-bar blanking: status-bar messages will disappear after 1
keystroke instead of 25. keystroke instead of 25. The option \fBconstantshow\fR overrides this.
.TP .TP
.B set quiet .B set quiet
\fBnano\fP will not report errors in the \fInanorc\fP file nor ask them \fBnano\fP will not report errors in the \fInanorc\fP file nor ask them
......
...@@ -125,7 +125,7 @@ ...@@ -125,7 +125,7 @@
# set punct "!.?" # set punct "!.?"
## Do quick status-bar blanking. Status-bar messages will disappear after ## Do quick status-bar blanking. Status-bar messages will disappear after
## 1 keystroke instead of 26. Note that "const" overrides this. ## 1 keystroke instead of 26. Note that "constantshow" overrides this.
# set quickblank # set quickblank
## The email-quote string, used to justify email-quoted paragraphs. ## The email-quote string, used to justify email-quoted paragraphs.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment