Skip to content

Commit 051fb6e

Browse files
committed
added the cntrl+backspace for deleting the entire word
1 parent ab0d65c commit 051fb6e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

airootfs/root/.zshrc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,11 @@ SAVEHIST=10000
130130
# Use emacs key bindings
131131
bindkey -e
132132

133+
# Ctrl+ backspace delets the word
134+
135+
bindkey '^H' backward-kill-word
136+
bindkey '5~' kill-word
137+
133138
# [PageUp] - Up a line of history
134139
if [[ -n "${terminfo[kpp]}" ]]; then
135140
bindkey -M emacs "${terminfo[kpp]}" up-line-or-history

0 commit comments

Comments
 (0)