From 98bab0db0738cdbff82b97dfce04711c43c1ceba Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Mon, 20 Jan 2025 15:25:40 +0100 Subject: [PATCH] docs: improve the description of the `constantshow` bindable function And of the '--constantshow' and 'set constantshow' options. --- doc/nano.1 | 2 +- doc/nano.texi | 7 ++++--- doc/nanorc.5 | 5 +++-- doc/sample.nanorc.in | 2 +- 4 files changed, 9 insertions(+), 7 deletions(-) diff --git a/doc/nano.1 b/doc/nano.1 index 18e2b24b..49e3404b 100644 --- a/doc/nano.1 +++ b/doc/nano.1 @@ -244,7 +244,7 @@ Automatically hard-wrap the current line when it becomes overlong. the last one given takes effect.) .TP .BR \-c ", " \-\-constantshow -Constantly show the cursor position on the status bar. +Constantly report the cursor position on the status bar. Note that this overrides option \fB\-U\fR (\fB\-\-quickblank\fR). .TP .BR \-d ", " \-\-rebinddelete diff --git a/doc/nano.texi b/doc/nano.texi index 85daabb7..5a495e53 100644 --- a/doc/nano.texi +++ b/doc/nano.texi @@ -570,7 +570,7 @@ the last one given takes effect.) @item -c @itemx --constantshow -Constantly display the cursor position (line number, column number, +Constantly report the cursor position (line number, column number, and character number) on the status bar. Note that this overrides option @option{-U} (@option{--quickblank}). @@ -951,7 +951,7 @@ the original filename as is. To disable this colon parsing for some file, use @code{+1} or similar before the relevant filename. @item set constantshow -Constantly display the cursor position on the status bar. +Constantly report the cursor position on the status bar. Note that this overrides @option{quickblank}. @item set cutfromcursor @@ -1832,7 +1832,8 @@ and the linter. All further toggles are available in the main menu only.) Toggles the presence of title bar and status bar. @item constantshow -Toggles the constant display of the current line, column, and character positions. +Toggles the constant reporting (on the status bar) +of the current line, column, and character positions. @item softwrap Toggles the displaying of overlong lines on multiple screen lines. diff --git a/doc/nanorc.5 b/doc/nanorc.5 index 788ded4c..eed92654 100644 --- a/doc/nanorc.5 +++ b/doc/nanorc.5 @@ -133,7 +133,7 @@ the original filename as is. To disable this colon parsing for some file, use \fB+1\fR or similar before the relevant filename. .TP .B set constantshow -Constantly display the cursor position in the status bar. +Constantly report the cursor position on the status bar. This overrides the option \fBquickblank\fR. .TP .B set cutfromcursor @@ -982,7 +982,8 @@ and the linter. All further toggles are available in the main menu only.) Toggles the presence of title bar and status bar. .TP .B constantshow -Toggles the constant display of the current line, column, and character positions. +Toggles the constant reporting (on the status bar) +of the current line, column, and character positions. .TP .B softwrap Toggles the displaying of overlong lines on multiple screen lines. diff --git a/doc/sample.nanorc.in b/doc/sample.nanorc.in index 18f39c00..c322a495 100644 --- a/doc/sample.nanorc.in +++ b/doc/sample.nanorc.in @@ -54,7 +54,7 @@ ## as the line number to go to in that file. # set colonparsing -## Constantly display the cursor position in the status bar or minibar. +## Constantly report the cursor position, in the status bar or minibar. # set constantshow ## Use cut-from-cursor-to-end-of-line by default.