about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@zsh.org>2016-08-12 12:54:34 +0100
committerPeter Stephenson <pws@zsh.org>2016-08-12 12:54:34 +0100
commitbedb61fd999b87948d30987302362b3c07302132 (patch)
treef47a7a13c6003f89e388f683d4baf3ac09f22af6
parentb2be8e1b6ed73f1b91661c91c95768d39f5b7145 (diff)
downloadzsh-bedb61fd999b87948d30987302362b3c07302132.tar.gz
zsh-bedb61fd999b87948d30987302362b3c07302132.tar.xz
zsh-bedb61fd999b87948d30987302362b3c07302132.zip
39029: document transpose-words change
-rw-r--r--ChangeLog2
-rw-r--r--Doc/Zsh/zle.yo6
2 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 2628a4861..4a7449ca4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2016-08-12  Peter Stephenson  <p.stephenson@samsung.com>
 
+	* 39029: Doc/Zsh/zle.yo: document previous change.
+
 	* Han Pingtian: 38983: Src/Zle/zle_word.c: make transpose-words
 	handle numeric arguments sensibly.
 
diff --git a/Doc/Zsh/zle.yo b/Doc/Zsh/zle.yo
index eaca1b3b1..fad5e15fa 100644
--- a/Doc/Zsh/zle.yo
+++ b/Doc/Zsh/zle.yo
@@ -1948,6 +1948,12 @@ to the left.
 tindex(transpose-words)
 item(tt(transpose-words) (tt(ESC-T ESC-t)) (unbound) (unbound))(
 Exchange the current word with the one before it.
+
+With a positive numeric argument em(N), the word before the cursor is
+transposed with the following em(N) words.
+
+With a negative numeric argument em(-N), the word after the cursor
+is transposed with the preceding em(N) words.
 )
 tindex(vi-unindent)
 item(tt(vi-unindent) (unbound) (tt(<)) (unbound))(