From 2c8d57fbb2c6ad76044bbdd959b1224cab28c00c Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Sun, 7 Apr 2024 10:57:07 +0200 Subject: [PATCH] docs: document the new bindable functions 'toprow' and 'bottomrow' --- doc/nano.texi | 6 ++++++ doc/nanorc.5 | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/doc/nano.texi b/doc/nano.texi index 32ba4ed0..960f0338 100644 --- a/doc/nano.texi +++ b/doc/nano.texi @@ -1648,6 +1648,12 @@ Moves the cursor to the beginning of the current or preceding block of text. @item nextblock Moves the cursor to the beginning of the next block of text. +@item toprow +Moves the cursor to the first row in the viewport. + +@item bottomrow +Moves the cursor to the last row in the viewport. + @item pageup Goes up one screenful. diff --git a/doc/nanorc.5 b/doc/nanorc.5 index 5aab07d8..53b671d2 100644 --- a/doc/nanorc.5 +++ b/doc/nanorc.5 @@ -809,6 +809,12 @@ Moves the cursor to the beginning of the current or preceding block of text. .B nextblock Moves the cursor to the beginning of the next block of text. .TP +.B toprow +Moves the cursor to the first row in the viewport. +.TP +.B bottomrow +Moves the cursor to the last row in the viewport. +.TP .B pageup Goes up one screenful. .TP