nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit 5b56791aef2dfd747108cb5bc36f35c07a460fc1
parent 71c0cde5ce922a8aa25d67a481a47b3005f63171
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Mon,  3 Aug 2020 10:22:21 +0200

docs: mention that anchors are visible when line numbers are shown

Suggested-by: Tomáš Mudruňka <mudrunka@spoje.net>

Diffstat:
Mdoc/nano.1 | 1+
Mdoc/nano.texi | 5+++++
Mdoc/nanorc.5 | 2++
Mdoc/sample.nanorc.in | 2+-
4 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/doc/nano.1 b/doc/nano.1 @@ -261,6 +261,7 @@ position to the end of the line, instead of cutting the entire line. .TP .BR \-l ", " \-\-linenumbers Display line numbers to the left of the text area. +(Any line with an anchor additionally gets a mark in the margin.) .TP .BR \-m ", " \-\-mouse Enable mouse support, if available for your system. When enabled, mouse diff --git a/doc/nano.texi b/doc/nano.texi @@ -370,6 +370,7 @@ position to the end of the line, instead of cutting the entire line. @item -l @itemx --linenumbers Display line numbers to the left of the text area. +(Any line with an anchor additionally gets a mark in the margin.) @item -m @itemx --mouse @@ -630,6 +631,8 @@ inherits the anchor. After performing an operation on the entire buffer spell check on it), any anchors that were present are gone. And when you close the buffer, all its anchors simply disappear; they are not saved. +Anchors are visualized in the margin when line numbers are activated. + @node Limitations @section Limitations @@ -853,6 +856,7 @@ in the two help lines at the bottom of the screen. @item set linenumbers Display line numbers to the left of the text area. +(Any line with an anchor additionally gets a mark in the margin.) @item set locking Enable vim-style lock-files for when editing files. @@ -1424,6 +1428,7 @@ Moves the cursor to the bracket (brace, parenthesis, etc.) that matches @item anchor Places an anchor at the current line, or removes it when already present. +(An anchor is visible when line numbers are activated.) @item prevanchor Goes to the first anchor before the current line. diff --git a/doc/nanorc.5 b/doc/nanorc.5 @@ -166,6 +166,7 @@ See \fBset titlecolor\fR for more details. .TP .B set linenumbers Display line numbers to the left of the text area. +(Any line with an anchor additionally gets a mark in the margin.) .TP .B set locking Enable vim-style lock-files for when editing files. @@ -727,6 +728,7 @@ Moves the cursor to the bracket (brace, parenthesis, etc.) that matches .TP .B anchor Places an anchor at the current line, or removes it when already present. +(An anchor is visible when line numbers are activated.) .TP .B prevanchor Goes to the first anchor before the current line. diff --git a/doc/sample.nanorc.in b/doc/sample.nanorc.in @@ -68,7 +68,7 @@ ## Scroll the buffer contents per half-screen instead of per line. # set jumpyscrolling -## Display line numbers to the left of the text. +## Display line numbers to the left (and any anchors in the margin). # set linenumbers ## Enable vim-style lock-files. This is just to let a vim user know you