Removed 'zsh-' prefix.
This commit is contained in:
parent
b8c4337ddd
commit
56d178984e
1 changed files with 5 additions and 5 deletions
|
|
@ -43,7 +43,7 @@ F_ordinary_highlight="bg=magenta,fg=white,bold"
|
||||||
F_out_of_matches_highlight="bg=red,fg=white,bold"
|
F_out_of_matches_highlight="bg=red,fg=white,bold"
|
||||||
F_max_buffer_size=250000
|
F_max_buffer_size=250000
|
||||||
|
|
||||||
zsh-history-substring-search-backward() {
|
history-substring-search-backward() {
|
||||||
|
|
||||||
emulate -L zsh
|
emulate -L zsh
|
||||||
|
|
||||||
|
|
@ -192,7 +192,7 @@ zsh-history-substring-search-backward() {
|
||||||
# read -k -t 200 && zle -U $REPLY
|
# read -k -t 200 && zle -U $REPLY
|
||||||
}
|
}
|
||||||
|
|
||||||
zle -N zsh-history-substring-search-forward zsh-history-substring-search-backward
|
zle -N history-substring-search-forward history-substring-search-backward
|
||||||
zle -N zsh-history-substring-search-backward
|
zle -N history-substring-search-backward
|
||||||
bindkey '\e[A' zsh-history-substring-search-backward
|
bindkey '\e[A' history-substring-search-backward
|
||||||
bindkey '\e[B' zsh-history-substring-search-forward
|
bindkey '\e[B' history-substring-search-forward
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue