From 83ee1feda44fc36fe0958c8702e29bccdc8c439f Mon Sep 17 00:00:00 2001 From: Benno Schulenberg <bensberg@justemail.net> Date: Sat, 22 Oct 2016 13:56:43 +0200 Subject: [PATCH] docs: add 'set linenumbers' and '--linenumbers' to the texinfo document Also mention the corresponding toggle (M-#). --- doc/texinfo/nano.texi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/doc/texinfo/nano.texi b/doc/texinfo/nano.texi index 2b5c8539..f721485d 100644 --- a/doc/texinfo/nano.texi +++ b/doc/texinfo/nano.texi @@ -270,6 +270,10 @@ the previous line. Make the 'Cut Text' command (normally ^K) cut from the current cursor 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. + @item -m @itemx --mouse Enable mouse support, if available for your system. When enabled, mouse @@ -592,6 +596,9 @@ toggles the @code{-z} (@code{--suspend}) command-line option. @item Soft Wrapping Toggle (Meta-$) toggles the @code{-$} (@code{--softwrap}) command-line option. +@item Line Numbers Toggle (Meta-#) +toggles the @code{-l} (@code{--linenumbers}) command-line option. + @end table @@ -700,6 +707,9 @@ Specify the color combination to use for the shortcut key combos in the two help lines at the bottom of the screen. See @code{set titlecolor} for more details. +@item set linenumbers +Display line numbers to the left of the text area. + @item set locking Enable vim-style lock-files for when editing files. -- GitLab