diff options
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | Doc/Zsh/zle.yo | 6 |
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))( |