diff --git a/.zshrc b/.zshrc index 24206ec..57e1eef 100644 --- a/.zshrc +++ b/.zshrc @@ -465,14 +465,15 @@ bindkey '^[Oc' forward-word # bindkey '^[Od' backward-word # bindkey '^[[1;5D' backward-word # bindkey '^[[1;5C' forward-word # +# Delete words with ctrl+bksp/del bindkey '^H' backward-kill-word # delete previous word with ctrl+backspace bindkey '^[[3;5~' kill-word # delete next word with ctrl+delete bindkey '^[[Z' undo # Shift+tab undo last action # bind UP and DOWN arrow keys to history substring search zmodload zsh/terminfo -bindkey "$terminfo[kcuu1]" history-substring-search-up -bindkey "$terminfo[kcud1]" history-substring-search-down +# bindkey "$terminfo[kcuu1]" history-substring-search-up +# bindkey "$terminfo[kcud1]" history-substring-search-down bindkey '^[[A' history-substring-search-up bindkey '^[[B' history-substring-search-down bindkey -M vicmd 'k' history-substring-search-up