commit f6c767a3728a294f082aeb6aad5565211b607b68
parent 6c89815e8b1c03aba1cedc8f1aeee2b370e880b5
Author: Benno Schulenberg <bensberg@telfort.nl>
Date: Mon, 28 Jan 2019 20:43:02 +0100
docs: describe the four new options (-b, -f, -j, -e)
Diffstat:
2 files changed, 36 insertions(+), 0 deletions(-)
diff --git a/doc/nano.1 b/doc/nano.1
@@ -177,6 +177,11 @@ Let an unmodified Backspace or Delete erase the marked region
When doing soft line wrapping, wrap lines at whitespace
instead of always at the edge of the screen.
.TP
+.BR \-b ", " \-\-breaklonglines
+Automatically hard-wrap the current line when it becomes overlong.
+(This option is the opposite of \fB\-w\fR (\fB\-\-nowrap\fR) --
+the last one given takes effect.)
+.TP
.BR \-c ", " \-\-constantshow
Constantly show the cursor position on the status bar.
Note that this overrides option \fB\-U\fR (\fB\-\-quickblank\fR).
@@ -186,6 +191,14 @@ Interpret the Delete and Backspace keys differently so that both Backspace
and Delete work properly. You should only use this option when on your
system either Backspace acts like Delete or Delete acts like Backspace.
.TP
+.BR \-e ", " \-\-emptyline
+Do not use the line below the title bar, leaving it entirely blank.
+.TP
+.BR \-f ", " \-\-finalnewline
+If the buffer is not empty, ensure that it ends with a newline character.
+(This option is the opposite of \fB\-L\fR (\fB\-\-nonewlines\fR) --
+the last one given takes effect.)
+.TP
.BR \-g ", " \-\-showcursor
Make the cursor visible in the file browser (putting it on the
highlighted item) and in the help viewer. Useful for braille users
@@ -199,6 +212,9 @@ Automatically indent a newly created line to the same number of tabs
and/or spaces as the previous line (or as the next line if the previous
line is the beginning of a paragraph).
.TP
+.BR \-j ", " \-\-jumpyscrolling
+Scroll the buffer contents per half-screen instead of per line.
+.TP
.BR \-k ", " \-\-cutfromcursor
Make the 'Cut Text' command (normally \fB^K\fR) cut from the current cursor
position to the end of the line, instead of cutting the entire line.
diff --git a/doc/nano.texi b/doc/nano.texi
@@ -283,6 +283,12 @@ Let an unmodified @key{Backspace} or @key{Delete} erase the marked region
When doing soft line wrapping, wrap lines at whitespace
instead of always at the edge of the screen.
+@item -b
+@itemx --breaklonglines
+Automatically hard-wrap the current line when it becomes overlong.
+(This option is the opposite of @option{-w} (@option{--nowrap}) ---
+the last one given takes effect.)
+
@item -c
@itemx --constantshow
Constantly display the cursor position (line number, column number,
@@ -295,6 +301,16 @@ Interpret the Delete and Backspace keys differently so that both Backspace
and Delete work properly. You should only use this option when on your
system either Backspace acts like Delete or Delete acts like Backspace.
+@item -e
+@itemx --emptyline
+Do not use the line below the title bar, leaving it entirely blank.
+
+@item -f
+@itemx --finalnewline
+If the buffer is not empty, ensure that it ends with a newline character.
+(This option is the opposite of @option{-L} (@option{--nonewlines}) ---
+the last one given takes effect.)
+
@item -g
@itemx --showcursor
Make the cursor visible in the file browser (putting it on the
@@ -311,6 +327,10 @@ Automatically indent a newly created line to the same number of tabs
and/or spaces as the previous line (or as the next line if the previous
line is the beginning of a paragraph).
+@item -j
+@itemx --jumpyscrolling
+Scroll the buffer contents per half-screen instead of per line.
+
@item -k
@itemx --cutfromcursor
Make the 'Cut Text' command (normally @kbd{^K}) cut from the current cursor