Benno Schulenberg
bc7e7d847e
docs: list the default color combo for 'spotlightcolor' in sample nanorc
...
The comment says that only 'errorcolor' and 'spotlightcolor' have
a default value. Better list the default value for both of them.
2021-10-01 09:47:45 +02:00
Benno Schulenberg
0010cd4443
tweaks: slightly reword or rewrap some comments in the sample nanorc
2021-09-15 09:55:14 +02:00
Benno Schulenberg
7d6ffd9e78
docs: don't use "light" after "bold", as the latter often implies "light"
...
On most terminals "bold" also makes the relevant text lighter (or just
makes it lighter, like on a Linux console). Only some terminals allow
the user to switch this coupling of bold to light off.
Suggested-by: Hussam al-Homsi <sawuare@gmail.com>
2021-09-14 12:40:32 +02:00
Benno Schulenberg
5563c710d0
docs: improve the description of the 'tabstospaces' option
...
It never mentioned to how many spaces a tab would be converted.
2021-07-01 09:52:10 +02:00
Benno Schulenberg
101dc4e805
docs: make ^E access the Execute menu in the example CUA bindings
...
Also, add the normal CUA bindings for Undo (^Z) and Redo (^Y),
and drop the M-X thinko.
With these more "usual" alternative bindings, ^X will now do a Cut
(putting the cut text into the cutbuffer) only when in the main menu
-- in the other places it did not put anything into the cutbuffer,
so it's better to have only the default ^K ("kill") for that.
Suspension is now accessible with ^E^Z, and the Speller with ^E^S.
This fixes https://savannah.gnu.org/bugs/?60766 .
Bug existed since version 3.2, commit 33d67d5c
,
since the more usual example bindings were introduced.
2021-06-11 11:10:28 +02:00
Benno Schulenberg
74c6bdac9f
docs: add example bindings for uppercasing and lowercasing a word
...
(The diff looks weird in 'less' -- the "c" before the "^T" hides
two escape sequences.)
2021-06-10 10:40:49 +02:00
Benno Schulenberg
ac5e5179fb
options: rename 'highlightcolor' to the more distinct 'spotlightcolor'
...
This way there cannot be any confusion with syntax highlighting,
and it indicates better that a single place will be highlighted.
2021-03-03 09:31:46 +01:00
Benno Schulenberg
0a57da42e0
docs: correct the description of --quickblank for the changed base value
...
And mention that --minibar overrides the option too.
2021-02-22 12:24:06 +01:00
Benno Schulenberg
1b01adfa9f
docs: mention the new 'set highlightcolor' option
2021-02-14 12:51:09 +01:00
Benno Schulenberg
eb0962fb06
docs: remove all mentions of --markmatch and 'set markmatch'
2021-02-07 09:18:15 +01:00
Benno Schulenberg
64bf03b0d9
docs: correct the formatting of a comment in the sample nanorc
2021-01-15 10:05:04 +01:00
Benno Schulenberg
ca398fdfdf
docs: explain the purpose of --markmatch / -^ / 'set markmatch'
...
Also, colorize 'set markmatch' as a valid option in a nanorc file.
2020-12-24 11:49:49 +01:00
Benno Schulenberg
e353203010
docs: explain the effect of --minibar / -_ / 'set minibar'
...
Also, colorize 'set minibar' as valid option in a nanorc file.
2020-12-23 17:15:06 +01:00
Benno Schulenberg
3efb9c3a2e
docs: mention the new 'set promptcolor' option
2020-12-06 16:34:42 +01:00
Benno Schulenberg
26f5c8b9d5
rcfile: stop accepting 'set view' in a nanorc file, and undocument it
...
Like --restricted, --view really only makes sense on the command line.
2020-10-10 12:42:20 +02:00
Benno Schulenberg
2c41600957
docs: explain the purpose of -! / --magic / 'set magic'
...
Also, colorize 'set magic' as valid option in a nanorc file.
2020-09-25 16:35:50 +02:00
Benno Schulenberg
844c671bf1
docs: explain what the options --stateflags (-%) and 'set stateflags' do
...
Also, colorize 'set stateflags' as valid option in a nanorc file.
2020-09-23 19:48:03 +02:00
Benno Schulenberg
7b19b4114c
docs: improve two wordings in the sample nanorc
2020-09-11 10:45:19 +02:00
Benno Schulenberg
b122d3b8e5
docs: explain the 'set scrollercolor' option, for coloring the indicator
...
And mention that a background color does not work on libvte before 0.55.
To find out the version of libvte on your system:
ls -R1 /usr/lib | grep libvte | grep 00 | grep -o "0\..."
2020-09-02 19:55:24 +02:00
Benno Schulenberg
5b56791aef
docs: mention that anchors are visible when line numbers are shown
...
Suggested-by: Tomáš Mudruňka <mudrunka@spoje.net>
2020-08-03 10:27:57 +02:00
Benno Schulenberg
ee78f2348b
rcfile: rename bindable function 'curpos' to 'location'
...
It is better that the bindable function is named the same as the
tag in the help lines, and that it is not an ugly abbreviation.
2020-07-05 11:05:45 +02:00
Benno Schulenberg
da0ac58ecc
docs: document the new -O/--bookstyle and 'set bookstyle' options
2020-06-27 11:12:21 +02:00
Benno Schulenberg
26fb83c61f
docs: use 'bold' and 'light' instead of 'bright' in the sample nanorc
2020-06-15 15:30:52 +02:00
Benno Schulenberg
32ee39e44a
docs: document the --indicator (-q) and 'set indicator' options
2020-06-04 18:52:28 +02:00
Benno Schulenberg
d4ee6a2b53
options: rename --tempfile to --saveonexit, to be far clearer
...
A long option should describe what it does, not vaguely hint at it.
Also, in several places of nano's code we deal with actual temp files,
and then having a flag called TEMP_FILE that doesn't have anything to
do with temp files is somewhat confusing.
2020-04-30 19:12:54 +02:00
Benno Schulenberg
56d1214187
syntax: move distro-specific files down to a subdirectory, syntax/extra/
2020-04-14 19:05:41 +02:00
Benno Schulenberg
5755ecdbfc
options: let --afterends affect also the deleting of words (Ctrl+Delete)
...
It makes more sense that <Ctrl+Delete> deletes the same thing as what
<Shift+Ctrl+Right> would select.
Suggested-by: Liu Hao <lh_mouse@126.com>
2020-04-14 12:14:49 +02:00
Benno Schulenberg
66e64dd2d2
docs: in the sample nanorc file, refer instead of duplicating
...
Instead of duplicating information, just refer to 'man nanorc'.
Also reshuffle a paragraph, and add a suggestion to just select
the syntax files that will actually get used.
2020-04-09 10:27:39 +02:00
Benno Schulenberg
39ed865043
docs: improve the descriptions of --softwrap and 'set softwrap'
2020-03-19 13:10:28 +01:00
Benno Schulenberg
a91bc04e04
docs: update the form of an option, --suspendable / 'set suspendable'
2020-03-13 15:58:56 +01:00
Benno Schulenberg
639f37669a
docs: remove the note saying that nanorc files must be in Unix format
...
Since commit 98f038ad
from a month ago, nanorc files do not need to be
in Unix format (LF) but may also be in DOS (CR+LF) and Mac (CR) format.
2020-03-12 19:03:02 +01:00
Benno Schulenberg
3f5ba950d6
tweaks: suggest a few more alternative key bindings and unbindings
...
This demonstrates the presence of the 'savefile' function,
and makes the main help text look better.
2020-01-31 17:16:31 +01:00
Benno Schulenberg
0a52e92d4c
docs: for the alternative bindings, rebind ^C only in the main menu
...
Because ^C is needed for Cancel in most other menus.
This fixes https://bugs.debian.org/950223 .
Reported-by: Jonas Smedegaard <dr@jones.dk>
Bug existed since version 4.0, commit 3a170d2c
.
2020-01-31 16:54:55 +01:00
Benno Schulenberg
6c09504040
docs: stop saying that 'set fill' enables hard-wrapping -- it does not
...
This fixes https://savannah.gnu.org/bugs/?57477 .
2019-12-25 14:20:35 +01:00
Benno Schulenberg
c51f5f4bff
docs: mention that the 'nopauses' option is obsolete
2019-10-15 11:23:05 +02:00
Benno Schulenberg
7338b45d36
docs: remove some excessive detail from the sample nanorc file
...
The sample file should just mention the basics. The manual contains
all the details.
2019-10-06 14:50:27 +02:00
Benno Schulenberg
c95e5362e6
docs: mention that color rules are applied in the order they are listed
...
Suggested-by: Tiago Almeida <tjamadeira@gmail.com>
2019-10-06 14:27:29 +02:00
Benno Schulenberg
cdb9b04980
docs: add two examples of the 'tabgives' command to the sample nanorc
2019-10-03 16:41:10 +02:00
Benno Schulenberg
fea1901592
docs: remove "--" from the default value of 'quotestr'
...
Adjust the documentation to the removal of "--" in the previous commit.
2019-06-08 17:48:44 +02:00
Benno Schulenberg
c4e04eb682
docs: show double quotes where they are needed
...
Instead of saying that string parameters should be enclosed in
double quotes, just show the quotes in the relevant commands.
Also, rename the parameters, to better fit the subsequent description.
2019-06-07 11:15:02 +02:00
Benno Schulenberg
941637615b
docs: clarify that in nano regexes are extended regular expressions
...
And add a concise summary of the most important special characters.
This addresses https://savannah.gnu.org/bugs/?56438 .
2019-06-06 15:16:56 +02:00
Benno Schulenberg
209531a761
docs: remove all mention of --finalnewline, and undefault --nonewlines
2019-04-07 10:02:22 +02:00
Benno Schulenberg
610be482fa
docs: suggest a setting for 'stripecolor' in the sample nanorc
2019-03-09 09:54:27 +01:00
Benno Schulenberg
2c7d336711
bindings: rename 'cutwordleft' to 'chopwordleft', and similar for right
...
These bindable functions should not connote cutting, as they don't put
anything into the cutbuffer.
2019-02-24 17:31:40 +01:00
Benno Schulenberg
00713a7c47
docs: deprecate the use of morespace, smooth, nonewlines, and nowrap
2019-02-20 16:34:29 +01:00
Benno Schulenberg
60bdac2bbc
docs: describe breaklonglines, emptyline, finalnewline, jumpyscrolling
2019-02-19 19:06:26 +01:00
Benno Schulenberg
2eb1960523
docs: mention that 'quotestr' enables the rewrapping of comment blocks
...
Inspired-by: David Griffith <dave@661.org>
2019-01-23 20:01:49 +01:00
Benno Schulenberg
63db58cbfd
docs: adjust for the enhancement of the default quoting regex
2019-01-22 20:06:14 +01:00
Benno Schulenberg
dc99610c36
docs: reword and reshuffle the description of --rawsequences
...
It's not just about the numeric keypad, but about the interpretation
of all editing keys (arrows, Home, End, PageUp, PageDown, Insert, and
Delete), of the escape sequences that they produce.
2018-12-28 19:29:38 +01:00
Benno Schulenberg
67c69b2298
options: rename long version of -K from --rebindkeypad to --rawsequences
...
To better describe what it does, and to have full contrast with the
--rebinddelete option: the latter can now be shortened to --rebind
without getting a conflict, and --rawsequences can be abbreviated
to simply --raw and still make sense.
2018-12-28 17:35:55 +01:00