|
|
@@ -41,10 +41,14 @@ bindkey '^Z' fancy-ctrl-z
|
|
|
#
|
|
|
# [Up & Down Arrow] - search through history for the current input string.
|
|
|
if [[ "${terminfo[kcuu1]}" != "" ]]; then
|
|
|
- bindkey "${terminfo[kcuu1]}" up-line-or-search
|
|
|
+ autoload -U up-line-or-beginning-search
|
|
|
+ zle -N up-line-or-beginning-search
|
|
|
+ bindkey "${terminfo[kcuu1]}" up-line-or-beginning-search
|
|
|
fi
|
|
|
if [[ "${terminfo[kcud1]}" != "" ]]; then
|
|
|
- bindkey "${terminfo[kcud1]}" down-line-or-search
|
|
|
+ autoload -U down-line-or-beginning-search
|
|
|
+ zle -N down-line-or-beginning-search
|
|
|
+ bindkey "${terminfo[kcud1]}" down-line-or-beginning-search
|
|
|
fi
|
|
|
# [Ctrl-r] - Search backward incrementally for a specified string.
|
|
|
bindkey '^r' history-incremental-search-backward
|