docs: improve the descriptions of --softwrap and 'set softwrap'

master
Benno Schulenberg 2020-03-19 13:10:28 +01:00
parent 0de4700002
commit 39ed865043
4 changed files with 15 additions and 9 deletions

View File

@ -324,9 +324,10 @@ Make Ctrl+Right stop at word ends instead of beginnings.
Allow the user to suspend the editor (with \fB^Z\fR by default). Allow the user to suspend the editor (with \fB^Z\fR by default).
.TP .TP
.BR \-$ ", " \-\-softwrap .BR \-$ ", " \-\-softwrap
Enable 'soft wrapping'. This will make \fBnano\fP attempt to display the Display lines that exceed the screen's width over multiple screen lines.
entire contents of any line, even if it is longer than the screen width, by (You can make this soft-wrapping occur at whitespace instead of rudely at
continuing it over multiple screen lines. Since the screen's edge, by using also \fB\-\-atblanks\fR.)
Since
\&'$' normally refers to a variable in the Unix shell, you should specify \&'$' normally refers to a variable in the Unix shell, you should specify
this option last when using other options (e.g.\& 'nano \-wS$') or pass it this option last when using other options (e.g.\& 'nano \-wS$') or pass it
separately (e.g.\& 'nano \-wS \-$'). separately (e.g.\& 'nano \-wS \-$').

View File

@ -462,9 +462,10 @@ keystroke (usually @kbd{^Z}).
@item -$ @item -$
@itemx --softwrap @itemx --softwrap
Enable 'soft wrapping'. This will make @command{nano} attempt to display the Display lines that exceed the screen's width over multiple screen lines.
entire contents of any line, even if it is longer than the screen width, by (You can make this soft-wrapping occur at whitespace instead of rudely at
continuing it over multiple screen lines. Since the screen's edge, by using also @code{--atblanks}.)
Since
@code{$} normally refers to a variable in the Unix shell, you should specify @code{$} normally refers to a variable in the Unix shell, you should specify
this option last when using other options (e.g.@: @code{nano -wS$}) or pass it this option last when using other options (e.g.@: @code{nano -wS$}) or pass it
separately (e.g.@: @code{nano -wS -$}). separately (e.g.@: @code{nano -wS -$}).
@ -934,7 +935,9 @@ Deprecated option since it has become the default setting.
When needed, use @code{unset jumpyscrolling} instead. When needed, use @code{unset jumpyscrolling} instead.
@item set softwrap @item set softwrap
Enable soft line wrapping for easier viewing of very long lines. Display lines that exceed the screen's width over multiple screen lines.
(You can make this soft-wrapping occur at whitespace instead of rudely at
the screen's edge, by using also @code{set atblanks}.)
@item set speller "@var{program} [@var{argument} @dots{}]" @item set speller "@var{program} [@var{argument} @dots{}]"
Use the given program to do spell checking and correcting. Use the given program to do spell checking and correcting.

View File

@ -267,7 +267,9 @@ Deprecated option since it has become the default setting.
When needed, use \fBunset jumpyscrolling\fR instead. When needed, use \fBunset jumpyscrolling\fR instead.
.TP .TP
.B set softwrap .B set softwrap
Enable soft line wrapping for easier viewing of very long lines. Display lines that exceed the screen's width over multiple screen lines.
(You can make this soft-wrapping occur at whitespace instead of rudely at
the screen's edge, by using also \fBset atblanks\fR.)
.TP .TP
.B set speller """\fIprogram\fR [\fIargument \fR...]\fB""" .B set speller """\fIprogram\fR [\fIargument \fR...]\fB"""
Use the given \fIprogram\fR to do spell checking and correcting, instead of Use the given \fIprogram\fR to do spell checking and correcting, instead of

View File

@ -142,7 +142,7 @@
## beginning of the line. ## beginning of the line.
# set smarthome # set smarthome
## Enable soft line wrapping (AKA full-line display). ## Spread overlong lines over multiple screen lines.
# set softwrap # set softwrap
## Use this spelling checker instead of the internal one. This option ## Use this spelling checker instead of the internal one. This option