Added plugin to delete a word forward like Alt+Backspace Reverse
This commit is contained in:
parent
85401d4811
commit
072e00a842
@ -0,0 +1,7 @@
|
||||
reverse-word-delete() {
|
||||
RBUFFER=$(echo "$RBUFFER" | sed -e "s/^\W*\w*//")
|
||||
}
|
||||
|
||||
zle -N reverse-word-delete
|
||||
# Defined shortcut keys: [Esc] [Esc]
|
||||
bindkey '3~' reverse-word-delete
|
Loading…
Reference in New Issue
Block a user