zsh-users / zsh-history-substring-search

🐠 ZSH port of Fish history search (up arrow)
2.61k stars 156 forks source link

binding keys doesn't work? #141

Closed jeusdi closed 11 months ago

jeusdi commented 1 year ago

I don't quite figure out what I'm doing wrong. I've recorded an asciinema here.

As you can see, when I type up key after having written ls, it's not suggesting me the previous ls command history.

> set | rg history_substring | xclip -selection clipboard
_history_substring_search_match_index=0
_history_substring_search_matches=(  )
_history_substring_search_query=''
_history_substring_search_query_highlight=''
_history_substring_search_query_parts=(  )
_history_substring_search_raw_match_index=0
_history_substring_search_raw_matches=(  )
_history_substring_search_refresh_display=''
_history_substring_search_result=''
_history_substring_search_unique_filter=( )

My zplug loading plugins:

zplug "wfxr/forgit"
zplug "plugins/z", from:oh-my-zsh
zplug "zsh-users/zsh-autosuggestions", defer:2
zplug "zsh-users/zsh-history-substring-search"

Any ideas?