|
|
@ -1,3 +1,22 @@ |
|
|
|
# vim bindings |
|
|
|
bindkey -v |
|
|
|
export KEYTIMEOUT=1 |
|
|
|
|
|
|
|
# Use vim cli mode |
|
|
|
bindkey '^P' up-history |
|
|
|
bindkey '^N' down-history |
|
|
|
|
|
|
|
# backspace and ^h working even after |
|
|
|
# returning from command mode |
|
|
|
bindkey '^?' backward-delete-char |
|
|
|
bindkey '^h' backward-delete-char |
|
|
|
|
|
|
|
# ctrl-w removed word backwards |
|
|
|
bindkey '^w' backward-kill-word |
|
|
|
|
|
|
|
# ctrl-r starts searching history backward |
|
|
|
bindkey '^r' history-incremental-search-backward |
|
|
|
|
|
|
|
if [ "light" = "$THEME_SWITCHER" ]; then |
|
|
|
ZSH_THEME="sunrise" |
|
|
|
else |
|
|
|