From acf86ec40604bba240a8d09ed3d64937d8bd4380 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Diego=20Aur=C3=A9lio=20Mesquita?= Date: Wed, 6 Sep 2017 00:05:31 -0300 Subject: [PATCH 4/4] Document logging for executed commands MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marco Diego Aurélio Mesquita --- doc/nano.texi | 4 ++++ doc/nanorc.5 | 4 ++++ doc/sample.nanorc.in | 3 +++ 3 files changed, 11 insertions(+) diff --git a/doc/nano.texi b/doc/nano.texi index ecdbdf5d..7321340b 100644 --- a/doc/nano.texi +++ b/doc/nano.texi @@ -730,6 +730,10 @@ Note that this overrides @option{quickblank}. Use cut-from-cursor-to-end-of-line by default, instead of cutting the whole line. (The old form of this option, @code{set cut}, is deprecated.) address@hidden set executelog +Enable the use of @file{~/.nano/execute_history} for saving and reading +executed commands strings. + @item set fill @var{number} Hard-wrap lines at column number @var{number}. If @var{number} is 0 or less, the maximum line length will be the screen width less @var{number} columns. diff --git a/doc/nanorc.5 b/doc/nanorc.5 index 49a0d69a..660f3c40 100644 --- a/doc/nanorc.5 +++ b/doc/nanorc.5 @@ -101,6 +101,10 @@ This overrides the option \fBquickblank\fR. Use cut-from-cursor-to-end-of-line by default, instead of cutting the whole line. (The old form of this option, '\fBset cut\fR', is deprecated.) .TP +.B set executelog +Enable the use of \fB~/.nano/execute_history\fP for saving and reading +executed commands strings. +.TP .B set fill \fInumber\fR Hard-wrap lines at column number \fInumber\fR. If \fInumber\fR is 0 or less, the maximum line length will be the screen width less \fInumber\fP columns. diff --git a/doc/sample.nanorc.in b/doc/sample.nanorc.in index 725e1bfc..268e10bc 100644 --- a/doc/sample.nanorc.in +++ b/doc/sample.nanorc.in @@ -57,6 +57,9 @@ # set cutfromcursor ## (The old form, 'cut', is deprecated.) +## Remember the executed commands strings for the next session. +# set executelog + ## Set the line length for wrapping text and justifying paragraphs. ## If the value is 0 or less, the wrapping point will be the screen ## width less this number. -- 2.11.0