summaryrefslogtreecommitdiffstats
path: root/txr.1
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2015-09-21 21:11:32 -0700
committerKaz Kylheku <kaz@kylheku.com>2015-09-21 21:11:32 -0700
commit4331f6a3c3e83160044ad75bf6d8ffcc05edab34 (patch)
treecec3a9768b401049a8d5a2fe6d5edaede21fc581 /txr.1
parentb0467383501c9d99d36b1882edf6d2997105cdee (diff)
downloadtxr-4331f6a3c3e83160044ad75bf6d8ffcc05edab34.tar.gz
txr-4331f6a3c3e83160044ad75bf6d8ffcc05edab34.tar.bz2
txr-4331f6a3c3e83160044ad75bf6d8ffcc05edab34.zip
linenoise: new Ctrl-X Ctrl-K command to delete line.
* linenoise/linenoise.c (edit_delete_line): New static function. (edit): New Ctrl-K extended command case implemented using edit_delete_line. * txr.1: Documented.
Diffstat (limited to 'txr.1')
-rw-r--r--txr.17
1 files changed, 7 insertions, 0 deletions
diff --git a/txr.1 b/txr.1
index 673c1d5e..53d7e32a 100644
--- a/txr.1
+++ b/txr.1
@@ -33653,6 +33653,13 @@ appears as such in multi-line mode, or as
.code ^M
in line mode.
+.NP* Delete Current Line
+
+The Ctrl-X, Ctrl-K command sequence may be used in multi-line mode
+to delete the entire physical line under the cursor. Any lines below that
+line move up to close the gap. In line mode, the command has no effect,
+other than canceling select mode.
+
.NP* History Recall
By default, the most recent 500 lines submitted to the interactive listener are