Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
cs24-19fa
git_rec_nano
Commits
9ffd3c02
Commit
9ffd3c02
authored
7 years ago
by
David Lawrence Ramsey
Committed by
Benno Schulenberg
7 years ago
Browse files
Options
Download
Email Patches
Plain Diff
docs: consistently describe the -U/-c and -r/-w overrides
parent
2704b387
master
feature/match-parens
refactor/readbility
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
doc/nano.1
+5
-4
doc/nano.1
doc/nano.texi
+6
-3
doc/nano.texi
doc/nanorc.5
+6
-3
doc/nanorc.5
doc/sample.nanorc.in
+1
-1
doc/sample.nanorc.in
with
18 additions
and
11 deletions
+18
-11
doc/nano.1
View file @
9ffd3c02
...
...
@@ -145,7 +145,8 @@ Set the size (width) of a tab to \fInumber\fP columns. The value of
.TP
.BR \-U ", " \-\-quickblank
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
.BR \-V ", " \-\-version
Show the current version number and exit.
...
...
@@ -165,7 +166,7 @@ defined in the \fInanorc\fP files.
.TP
.BR \-c ", " \-\-constantshow
Constantly show the cursor position on the status bar.
Note that this overrides \fB\-U\f
P
.
Note that this overrides
option
\fB\-U\f
R (\fB\-\-quickblank\fR)
.
.TP
.BR \-d ", " \-\-rebinddelete
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
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
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
.BR \-s\ \fIprogram\fR ", " \-\-speller= \fIprogram
Use this alternative spell checker command.
...
...
@@ -239,7 +240,7 @@ Just view the file and disallow editing: read-only mode.
.TP
.BR \-w ", " \-\-nowrap
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
.BR \-x ", " \-\-nohelp
Don't show the two help lines at the bottom of the screen.
...
...
This diff is collapsed.
Click to expand it.
doc/nano.texi
View file @
9ffd3c02
...
...
@@ -690,6 +690,7 @@ Do case-sensitive searches by default.
@item set constantshow
Constantly display the cursor position on the status bar.
(The old form of this option, @code
{
set const
}
, is deprecated.)
Note that this overrides @option
{
quickblank
}
.
@item set cut
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
}
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 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
}
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).
Don't add newlines to the ends of files.
@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
}
Specify the color combination to use for line numbers.
...
...
@@ -781,7 +784,7 @@ The default value is @t{"!.?"}.
@item set quickblank
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
When set, @code
{
nano
}
will not report errors in the nanorc file nor ask them
...
...
This diff is collapsed.
Click to expand it.
doc/nanorc.5
View file @
9ffd3c02
...
...
@@ -91,6 +91,7 @@ Do case-sensitive searches by default.
.B set constantshow
Constantly display the cursor position in the status bar.
(The old form of this option, '\fBset const\fR', is deprecated.)
This overrides the option \fBquickblank\fR.
.TP
.B set cut
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
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 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
.B set functioncolor \fIfgcolor\fR,\fIbgcolor\fR
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
the last one will be visible (when there are multiple ones).
.TP
.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
.B set numbercolor \fIfgcolor\fR,\fIbgcolor\fR
Specify the color combination to use for line numbers.
...
...
@@ -184,7 +187,7 @@ specfified closing punctuation, optionally followed by closing brackets
.TP
.B set quickblank
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
.B set quiet
\fBnano\fP will not report errors in the \fInanorc\fP file nor ask them
...
...
This diff is collapsed.
Click to expand it.
doc/sample.nanorc.in
View file @
9ffd3c02
...
...
@@ -125,7 +125,7 @@
# set punct "!.?"
## 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 "const
antshow
" overrides this.
# set quickblank
## The email-quote string, used to justify email-quoted paragraphs.
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help