Vi mode - yet another test.

This commit is contained in:
Bartek Stalewski 2021-04-08 10:47:17 +02:00
parent 0b9d3859da
commit b8cd79b18a

View File

@ -1,5 +1,16 @@
# key mode # 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 mkdir -p $XDG_DATA_HOME/zsh
# global exports and options # global exports and options