diff --git a/doc/nano.1 b/doc/nano.1 index ea5044db..3e290d70 100644 --- 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 index 06f08582..9082045e 100644 --- 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 index 5ea8966c..dde3b8af 100644 --- 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 index c44e4d7d..3cde94cb 100644 --- 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