>From fc800a769c0ac959eca2a492f8c8485202d7a321 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Diego=20Aur=C3=A9lio=20Mesquita?= Date: Mon, 10 Dec 2018 12:30:24 -0200 Subject: [PATCH 3/3] docs: add bookmarks documentation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add documentation for the bookmarks feature. Signed-off-by: Marco Diego Aurélio Mesquita --- doc/nano.texi | 12 ++++++++++++ doc/nanorc.5 | 12 ++++++++++++ 2 files changed, 24 insertions(+) diff --git a/doc/nano.texi b/doc/nano.texi index cdadd8d8..07f3b5b9 100644 --- a/doc/nano.texi +++ b/doc/nano.texi @@ -1153,6 +1153,18 @@ current cursor position. Throws away the current line (or the marked region). (This function is bound by default to .) address@hidden bookmark +Sets or removes a bookmark in the current line. +(This function is bound by default to .) + address@hidden prevbookmark +Goes to the previous bookmark in the current buffer. +(This function is bound by default to .) + address@hidden nextbookmark +Goes to the next bookmark in the current buffer. +(This function is bound by default to .) + @item cutwordleft Cuts from the cursor position to the beginning of the preceding word. (This function is not bound by default. If your terminal produces diff --git a/doc/nanorc.5 b/doc/nanorc.5 index 21af1a79..89aaa1ba 100644 --- a/doc/nanorc.5 +++ b/doc/nanorc.5 @@ -510,6 +510,18 @@ current cursor position. Throws away the current line (or the marked region). (This function is bound by default to .) .TP +.B bookmark +Sets or removes a bookmark in the current line. +(This function is bound by default to .) +.TP +.B bookmarkprevious +Goes to the next bookmark in the current buffer. +(This function is bound by default to .) +.TP +.B bookmarknext +Goes to the previous bookmark in the current buffer. +(This function is bound by default to .) +.TP .B cutwordleft Cuts from the cursor position to the beginning of the preceding word. (This function is not bound by default. If your terminal produces -- 2.11.0