mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-23 04:30:24 +02:00
15432: New bash-transpose-words widget
This commit is contained in:
parent
79dbcc8382
commit
32f7b32061
3 changed files with 18 additions and 2 deletions
9
Functions/Zle/bash-transpose-words
Normal file
9
Functions/Zle/bash-transpose-words
Normal file
|
@ -0,0 +1,9 @@
|
|||
# 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
|
Loading…
Add table
Add a link
Reference in a new issue