From 32f7b3206172ebc2ca59d609062f585502ac8619 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Fri, 20 Jul 2001 13:04:51 +0000 Subject: 15432: New bash-transpose-words widget --- Functions/Zle/bash-transpose-words | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 Functions/Zle/bash-transpose-words (limited to 'Functions') diff --git a/Functions/Zle/bash-transpose-words b/Functions/Zle/bash-transpose-words new file mode 100644 index 000000000..eb96a1277 --- /dev/null +++ b/Functions/Zle/bash-transpose-words @@ -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 -- cgit 1.4.1