diff --git a/zsh/.zshrc b/zsh/.zshrc index 45a8260..096a130 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -1,5 +1,16 @@ # key mode -bindkey -e +bindkey -v +bindkey '^?' backward-delete-char +bindkey "^A" vi-beginning-of-line +bindkey "^E" vi-end-of-line +bindkey "^P" up-line-or-history +bindkey "^N" down-line-or-history +bindkey "^K" forward-char +bindkey "^U" kill-whole-line +bindkey -r "^[[A" +bindkey -r "^[[B" +bindkey -r "^[[D" +bindkey -r "^[[C" mkdir -p $XDG_DATA_HOME/zsh # global exports and options