mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-10-02 08:51:18 +02:00
10 lines
260 B
Plaintext
10 lines
260 B
Plaintext
|
# This implements a bash-style forward-word.
|
||
|
# To use,
|
||
|
# zle -N bash-forward-word
|
||
|
# bindkey '...' bash-forward-word
|
||
|
# or if you wish to replace existing forward-word bindings,
|
||
|
# zle -N forward-word bash-forward-word
|
||
|
|
||
|
local WORDCHARS=''
|
||
|
zle .forward-word
|