Commit c563fe95 authored by Florian Franzen's avatar Florian Franzen
Browse files

Makes history-substring-search use term specific up and down buttons. Fixes #2089.

parent ec37c05c
...@@ -163,8 +163,9 @@ function history-substring-search-down() { ...@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment