mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-01-21 00:01:26 +01:00
10 lines
260 B
Text
10 lines
260 B
Text
|
# 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
|