mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-23 04:30:24 +02:00
Bart15083: bash-backward-kill-word
This commit is contained in:
parent
c2277ed220
commit
0b8e4008b6
2 changed files with 13 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2001-06-29 Clint Adams <clint@zsh.org>
|
||||||
|
|
||||||
|
* Bart: 15083 plus comments: Functions/Zle/bash-backward-kill-word:
|
||||||
|
bash-style backward-kill-word function.
|
||||||
|
|
||||||
2001-06-28 Wayne Davison <wayned@users.sourceforge.net>
|
2001-06-28 Wayne Davison <wayned@users.sourceforge.net>
|
||||||
|
|
||||||
* 15172: Src/hist.c: Have prepnexthistent() remove any HIST_TEMPSTORE
|
* 15172: Src/hist.c: Have prepnexthistent() remove any HIST_TEMPSTORE
|
||||||
|
|
8
Functions/Zle/bash-backward-kill-word
Normal file
8
Functions/Zle/bash-backward-kill-word
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
# function bash-backward-kill-word {
|
||||||
|
# This implements a bash-style backward-kill-word.
|
||||||
|
# To use,
|
||||||
|
# zle -N bash-backward-kill-word
|
||||||
|
# bindkey '...' bash-backward-kill-word
|
||||||
|
local WORDCHARS=''
|
||||||
|
zle .backward-kill-word
|
||||||
|
# }
|
Loading…
Add table
Add a link
Reference in a new issue