mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-29 17:31:02 +01:00
15288, 15432, 15585: Zle widgets with bash-style word delimiting
This commit is contained in:
parent
18dea73f95
commit
a642cc3274
10 changed files with 1000 additions and 4 deletions
9
Functions/Zle/bash-kill-word
Normal file
9
Functions/Zle/bash-kill-word
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
# This implements a bash-style kill-word.
|
||||
# To use,
|
||||
# zle -N bash-kill-word
|
||||
# bindkey '...' bash-kill-word
|
||||
# or if you wish to replace existing kill-word bindings,
|
||||
# zle -N kill-word bash-kill-word
|
||||
|
||||
local WORDCHARS=''
|
||||
zle .kill-word
|
||||
Loading…
Add table
Add a link
Reference in a new issue