diff options
-rw-r--r-- | .zshrc | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -113,6 +113,14 @@ bindkey "^[OB" history-beginning-search-forward bindkey "^[[A" history-beginning-search-backward bindkey "^[[B" history-beginning-search-forward +backward-kill-dir () { + local WORDCHARS=${WORDCHARS/\/} + zle backward-kill-word + } +zle -N backward-kill-dir +# alt + backspace +bindkey '^[^?' backward-kill-dir + # HOWTO make your own: # bindkey '<crtl+v key>' action # for some actions run `bindkey` |