Zsh history/bindkey tweaks
This commit is contained in:
parent
3d77c14121
commit
fa989aa26b
1 changed files with 4 additions and 2 deletions
|
@ -146,8 +146,10 @@ then
|
|||
elif [ -n "$ZSH_VERSION" ]
|
||||
then
|
||||
bindkey -e
|
||||
bindkey "^[[A" history-beginning-search-backward
|
||||
bindkey "^[[B" history-beginning-search-forward
|
||||
bindkey "^[[1;5C" forward-word
|
||||
bindkey "^[[1;5D" backward-word
|
||||
bindkey "^[[A" history-beginning-search-backward-end
|
||||
bindkey "^[[B" history-beginning-search-forward-end
|
||||
fi
|
||||
|
||||
# Set the prompt for various shells. The prompt should look like "user@host$ "
|
||||
|
|
Loading…
Reference in a new issue