ZSH: Don't invoke vi-mode in emacs shell
This commit is contained in:
parent
c1d7982c61
commit
1f6ee00a75
|
@ -50,6 +50,8 @@ bindkey '^r' history-incremental-search-backward
|
|||
bindkey '^w' backward-kill-word
|
||||
bindkey '^a' beginning-of-line
|
||||
bindkey '^e' end-of-line
|
||||
|
||||
if ! [ "$EMACS" ]; then
|
||||
bindkey ${terminfo[kdch1]} delete-char
|
||||
|
||||
# Switch between block and line cursor (Only in iterm)
|
||||
|
@ -73,6 +75,7 @@ if is_mac; then
|
|||
zle -N zle-line-finish
|
||||
zle -N zle-keymap-select
|
||||
fi
|
||||
fi
|
||||
|
||||
# Switch between block and line cursor (Only in iterm)
|
||||
autoload colors
|
||||
|
|
Loading…
Reference in a new issue