mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-11-19 21:44:11 +01:00
10 lines
281 B
Plaintext
10 lines
281 B
Plaintext
# This implements a bash-style transpose-words.
|
|
# To use,
|
|
# zle -N bash-transpose-words
|
|
# bindkey '...' bash-transpose-words
|
|
# or if you wish to replace existing transpose-words bindings,
|
|
# zle -N transpose-words bash-transpose-words
|
|
|
|
local WORDCHARS=''
|
|
zle .transpose-words
|