|
@@ -163,8 +163,9 @@ function history-substring-search-down() {
|
|
zle -N history-substring-search-up
|
|
zle -N history-substring-search-up
|
|
zle -N history-substring-search-down
|
|
zle -N history-substring-search-down
|
|
|
|
|
|
-bindkey '\e[A' history-substring-search-up
|
|
+zmodload zsh/terminfo
|
|
-bindkey '\e[B' history-substring-search-down
|
|
+bindkey "$terminfo[kcuu1]" history-substring-search-up
|
|
|
|
+bindkey "$terminfo[kcud1]" history-substring-search-down
|
|
|
|
|
|
#-----------------------------------------------------------------------------
|
|
#-----------------------------------------------------------------------------
|
|
# implementation details
|
|
# implementation details
|