Skip to content

Commit a5eba40

Browse files
authored
added the cntrl+backspace for deleting the entire word
added the cntrl+backspace for deleting the entire word for normal user
1 parent 051fb6e commit a5eba40

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

airootfs/etc/skel/.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)