diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2015-10-02 07:05:40 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2015-10-02 07:05:40 -0700 |
commit | b75a472f44d05977c00c7b3be4f3c3d203c38979 (patch) | |
tree | 0ccb3928ae48e2e37f66842234adc8bd75123580 /txr.1 | |
parent | c4a66ad7ed5c74cda3a16b191c6763c1a5cedc6d (diff) | |
download | txr-b75a472f44d05977c00c7b3be4f3c3d203c38979.tar.gz txr-b75a472f44d05977c00c7b3be4f3c3d203c38979.tar.bz2 txr-b75a472f44d05977c00c7b3be4f3c3d203c38979.zip |
linenoise: Ctrl-X/Ctrl-[AWR] relative to hist pos.
* linenoise/linenoise.c (edit): The recall previous word,
atom and line features now offset relative to the current
navigation position in the history. Previous line means
the line before the currently showing history line, not the
line most recently entered into the history.
* txr.1: Documented.
Diffstat (limited to 'txr.1')
-rw-r--r-- | txr.1 | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -34223,7 +34223,10 @@ The number 1 specifies that the last word is to be inserted, 2 specifies the second last word, 3 the third word from the right and so on. 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-W or w to do nothing. +causes the Ctrl-W or w to do nothing. Note that "previous line" means +relative to the current location in the history. If the 42nd most recent +history line is currently recalled, this command takes material from the 43rd +history line. .NP* Insert Previous Atom @@ -34242,7 +34245,8 @@ atoms by position from the end. The number 1 specifies the last atom, 2 the second last and so on. 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. +causes the Ctrl-A or a to do nothing. Note that "previous line" +has the same meaning as for the Ctrl-X, Ctrl-W (insert previous word) command. .NP* Insert Previous Line @@ -34251,6 +34255,8 @@ 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. +If this command is used during history navigation, it references previous +lines relative to the currently recalled history line. .NP* Symbolic Completion |