summaryrefslogtreecommitdiffstats
path: root/txr.1
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2015-10-02 06:48:26 -0700
committerKaz Kylheku <kaz@kylheku.com>2015-10-02 06:48:26 -0700
commitbfd251f813aee284d9cd3886a5aeffdb58497ea6 (patch)
treeddfeeffd6197f76e423e0ca75ef73cd6eaa23afa /txr.1
parent19b8654f3cc6b51e8c22138b42bee7031bef151a (diff)
downloadtxr-bfd251f813aee284d9cd3886a5aeffdb58497ea6.tar.gz
txr-bfd251f813aee284d9cd3886a5aeffdb58497ea6.tar.bz2
txr-bfd251f813aee284d9cd3886a5aeffdb58497ea6.zip
linenoise: insert previous line command.
* linenoise/linenoise.c (edit): Extended Ctrl-X Ctrl-R/r command added. * txr.1: Documented.
Diffstat (limited to 'txr.1')
-rw-r--r--txr.18
1 files changed, 8 insertions, 0 deletions
diff --git a/txr.1 b/txr.1
index bdfb6b08..b9781641 100644
--- a/txr.1
+++ b/txr.1
@@ -34227,6 +34227,14 @@ Only the most recent three decimal digits are retained, so the number can range
from 0 to 999. A value of 0, or a value which exceeds the number of words
causes the Ctrl-A or a to do nothing.
+.NP* Insert Previous Line
+
+The command sequences Ctrl-X, Ctrl-R ("repeat") and Ctrl-X, r, which are
+equivalent, insert an entire line of history into the current buffer. By
+default, the previous line is inserted. A less recent line can be selected by
+typing a numeric argument between the Ctrl-X and the Ctrl-R/r. The immediately
+previous history line is numbered 1, the one before it 2 and so on.
+
.NP* Symbolic Completion
If the Tab key is pressed while editing a line, it is interpreted as a