Benno Schulenberg
e14127b843
rcfile: rename 'nowrap' toggle to 'breaklonglines', to match the option
...
Now all toggle functions have the same name as their corresponding
long command-line option. Also, all names now indicate the effect
of the toggle when it is invoked from a default setting.
2021-01-02 17:14:07 +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
c1bd54dd47
tweaks: move 'set indicator' to its alphabetical place in the manual
...
Also, reword some option descriptions, to mention the effect of the
option instead of what the user should give as argument.
2020-12-06 16:34:42 +01:00
Benno Schulenberg
3efb9c3a2e
docs: mention the new 'set promptcolor' option
2020-12-06 16:34:42 +01:00
Benno Schulenberg
587e6e2c88
bump version numbers and add a news item for the 5.4 release
2020-12-02 11:15:31 +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
ced0019b6c
bump version numbers and add a news item for the 5.3 release
2020-10-07 10:40:12 +02:00
Benno Schulenberg
777082a7b8
docs: add a link to the website also to the info manual
...
And add a reference to the "cheat sheet" to the nanorc man page.
2020-10-02 10:32:44 +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
82080b044b
docs: mention that syntax definitions are available in /usr/share/nano/
...
Inspired-by: Hussam al-Homsi <sawuare@gmail.com>
2020-09-12 12:48:37 +02:00
Benno Schulenberg
93b25ce014
tweaks: adjust some whitespace in the docs, and improve a comment
2020-09-12 12:21:24 +02:00
Benno Schulenberg
586a7d22e7
docs: add the customary (1) after the name of command-line programs
...
Also, don't format the wrapping quotes of strings,
and normalize the formatting of default values.
This addresses https://savannah.gnu.org/bugs/?59064 .
Reported-by: Helge Kreutzmann <debian@helgefjell.de>
2020-09-05 19:43:51 +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
63ac050733
bump version numbers and add a news item for the 5.2 release
2020-08-24 09:53:07 +02:00
Benno Schulenberg
a14c894325
docs: add a cross-reference from 'findbracket' to 'set matchbrackets'
2020-08-17 14:20:03 +02:00
Benno Schulenberg
b1a0f5e65a
bump version numbers and add a news item for the 5.1 release
2020-08-12 07:57:31 +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
df9ca85961
bump version numbers and add a news item for the 5.0 release
2020-07-29 09:44:39 +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
2261377309
docs: complete the renaming of 'tempfile' to 'saveonexit'
...
This should have been part of commit d4ee6a2b
from two months ago.
2020-07-05 10:53:57 +02:00
Benno Schulenberg
2c228796a8
docs: improve some descriptions concerning the file browser
2020-07-03 18:45:09 +02:00
Benno Schulenberg
1a2d0c1770
scrolling: add a function and a key binding to center the cursor line
...
By default, this function is bound to ^L, to make that keystroke do
something actually useful. To not lose the Refresh function that this
keystroke had, the centering function additionally does a full redraw
and refresh of the screen.
2020-07-02 11:11:44 +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
8061a981b1
tweaks: correct two spelling mistakes [codespell]
2020-06-26 11:27:07 +02:00
Benno Schulenberg
b1b89f01b7
docs: mention that M-X toggle is special, because available in most menus
2020-06-24 09:30:08 +02:00
Benno Schulenberg
054cafa138
docs: mention the nine new color names, and "bold" plus "italic"
2020-06-18 15:31:06 +02:00
Benno Schulenberg
7ff82aa5e2
rcfile: add bindable function 'execute', for access to "Execute Command"
...
(This should have been added three weeks ago when ^T was rebound.)
2020-06-15 14:27:49 +02:00
Benno Schulenberg
32ee39e44a
docs: document the --indicator (-q) and 'set indicator' options
2020-06-04 18:52:28 +02:00
Benno Schulenberg
d9106abfda
rcfile: rename 'extcmd' to 'execute', to be more readable and fitting
...
Also, improve its description in the documentation.
2020-05-31 12:04:58 +02:00
Benno Schulenberg
09a004cad9
tweaks: order three menu names in the documentation slightly better
2020-05-24 11:24:49 +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
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
bcaa1ef7f2
docs: explain how anchors work, and document their bindable functions
2020-04-13 12:20:36 +02:00
Benno Schulenberg
edf2d8d68f
docs: mention that the dedicated cursor-moving keys are not rebindable
2020-04-10 12:25:02 +02:00
Benno Schulenberg
2d4bacf61d
docs: stop mentioning that --wordchars overrides --wordbounds
...
Since the previous commit, it no longer does. Instead, the two
interfere, and the user probably wants to use just one of them.
2020-04-06 19:07:02 +02:00
Benno Schulenberg
49a84f9e8a
bump version numbers and add a news item for the 4.9 release
2020-03-24 11:11:22 +01:00
Benno Schulenberg
39ed865043
docs: improve the descriptions of --softwrap and 'set softwrap'
2020-03-19 13:10:28 +01:00
Benno Schulenberg
3690d60b71
rcfile: rename bindable function 'suspendenable' to 'suspendable'
...
The name of a toggle function should match the name of the corresponding
option, like for 'mouse' and 'linenumbers' and 'smarthome' and such.
2020-03-15 11:17:46 +01:00
Benno Schulenberg
067ee1a6b1
tweaks: highlight keystrokes in the documentation more consistently
2020-03-13 16:40:34 +01:00
Benno Schulenberg
0c1db4879e
docs: update the missed occurrences of --suspendable / 'set suspendable'
2020-03-13 16:34:41 +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
c65fa25ce2
docs: mention that ^[ (Esc) is unbindable, and explain why
2020-03-10 15:55:19 +01:00
Benno Schulenberg
f2ae08ab19
bump version numbers and add a news item for the 4.8 release
2020-02-07 10:50:44 +01:00
Benno Schulenberg
7f0bfdfeb2
docs: put the three new behaviors in a bulletted list, to catch the eye
...
Also, move the relevant section down in the nanorc man page, to increase
the contrast between the two pages.
2020-02-06 16:07:11 +01:00
Benno Schulenberg
d141e849a3
tweaks: unabbreviate "argument" in the documentation
...
Also, show that the argument in the extendsyntax format is not optional,
as any command requires at least one argument. Also mention 'tabgives'
among the commands that are allowed in an included file.
2020-02-04 12:23:58 +01:00
Benno Schulenberg
6cd98e32f7
docs: document the new Sh-M-X format for binding <Shift+Meta+letter>
2020-01-23 11:11:34 +01:00
Benno Schulenberg
aac3126183
docs: improve the description of which rc-files are read during startup
2020-01-19 13:27:41 +01:00