From 0856f53703318e103c0f7654ff617e3c568dedb0 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Thu, 6 Feb 2020 15:52:35 +0100 Subject: [PATCH] docs: mention that -D/--boldtext gets overridden by some nanorc options Also, remove an obsolete anchor, and add a missing word. --- doc/nano.1 | 5 ++++- doc/nano.texi | 12 +++++++----- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/doc/nano.1 b/doc/nano.1 index d8b02d36..5f8e5239 100644 --- a/doc/nano.1 +++ b/doc/nano.1 @@ -112,7 +112,10 @@ numbered one every time a file is saved -- when backups are enabled (\fB\-B\fR). The uniquely numbered files are stored in the specified \fIdirectory\fR. .TP .BR \-D ", " \-\-boldtext -Use bold text instead of reverse video text. +For the interface, use bold instead of reverse video. This will be overridden +by setting the options \fBtitlecolor\fP, \fBstatuscolor\fP, \fBkeycolor\fP, +\fBfunctioncolor\fP, \fBnumbercolor\fP, and/or \fBselectedcolor\fP in your +nanorc file. See \fBnanorc\fR(5). .TP .BR \-E ", " \-\-tabstospaces Convert typed tabs to spaces. diff --git a/doc/nano.texi b/doc/nano.texi index 7f70b3f6..d0e51eff 100644 --- a/doc/nano.texi +++ b/doc/nano.texi @@ -186,7 +186,10 @@ The uniquely numbered files are stored in the specified directory. @item -D @itemx --boldtext -Use bold text instead of reverse video text. +For the interface, use bold instead of reverse video. This will be overridden +by setting the options @code{titlecolor}, @code{statuscolor}, @code{keycolor}, +@code{functioncolor}, @code{numbercolor}, and/or @code{selectedcolor} in your +nanorc file. @xref{@code{set functioncolor}} for details. @item -E @itemx --tabstospaces @@ -439,7 +442,6 @@ This is the default. (This option is the opposite of @option{-b} (@option{--breaklonglines}) --- the last one given takes effect.) -@anchor{Expert Mode} @item -x @itemx --nohelp Expert Mode: don't show the Shortcut List at the bottom of the screen. @@ -756,9 +758,9 @@ The uniquely numbered files are stored in the specified directory. @item set boldtext Use bold instead of reverse video for the title bar, status bar, key combos, -function tags, line numbers, and selected text. This can be overridden by +function tags, line numbers, and selected text. This is overridden by setting the options @code{titlecolor}, @code{statuscolor}, @code{keycolor}, -@code{functioncolor}, @code{numbercolor}, and @code{selectedcolor}. +@code{functioncolor}, @code{numbercolor}, and/or @code{selectedcolor}. @item set brackets "@var{characters}" Set the characters treated as closing brackets when justifying @@ -1616,7 +1618,7 @@ whereas Pico does it at screen width minus six columns. You can make By default, @command{nano} will scroll just one line (instead of half a screen) when the cursor is moved to a line that is just out of view. And when paging up or down, @command{nano} keeps the cursor in the same -screen position as much as possible, instead always placing it on the +screen position as much as possible, instead of always placing it on the first line of the viewport. The Pico-like behavior can be obtained with the @option{--jumpyscrolling} option.