about summary refs log tree commit diff
path: root/Doc/Zsh/contrib.yo
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2001-07-20 13:04:51 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2001-07-20 13:04:51 +0000
commit32f7b3206172ebc2ca59d609062f585502ac8619 (patch)
tree9feacabf2445080672ace3f8d43a92ebc47a679a /Doc/Zsh/contrib.yo
parent79dbcc8382abb6bf947fe5ae237e4bf2ecf1c677 (diff)
downloadzsh-32f7b3206172ebc2ca59d609062f585502ac8619.tar.gz
zsh-32f7b3206172ebc2ca59d609062f585502ac8619.tar.xz
zsh-32f7b3206172ebc2ca59d609062f585502ac8619.zip
15432: New bash-transpose-words widget
Diffstat (limited to 'Doc/Zsh/contrib.yo')
-rw-r--r--Doc/Zsh/contrib.yo6
1 files changed, 4 insertions, 2 deletions
diff --git a/Doc/Zsh/contrib.yo b/Doc/Zsh/contrib.yo
index 9919117e5..86a8b79c6 100644
--- a/Doc/Zsh/contrib.yo
+++ b/Doc/Zsh/contrib.yo
@@ -366,15 +366,17 @@ tindex(bash-forward-word)
 tindex(bash-backward-word)
 tindex(bash-kill-word)
 tindex(bash-backward-kill-word)
+tindex(bash-transpowse-words)
 xitem(tt(bash-forward-word), tt(bash-backward-word))
-item(tt(bash-kill-word), tt(bash-backward-kill-word))(
+xitem(tt(bash-kill-word), tt(bash-backward-kill-word))
+item(tt(bash-transpose-words))(
 These work similarly to the corresponding builtin zle functions without the
 `tt(bash-)' prefix, but a word is considered to consist of alphanumeric
 characters only.  If you wish to replace your existing bindings with these
 four widgets, the following is sufficient:
 
 example(for widget in kill-word backward-kill-word \ 
-forward-word backward-word; do 
+forward-word backward-word transpose-words; do 
   autoload bash-$widget 
   zle -N $widget bash-$widget
 done)