zsh-history-substring-search icon indicating copy to clipboard operation
zsh-history-substring-search copied to clipboard

Display multiple matches

Open davidsoergel opened this issue 12 years ago • 5 comments

This plugin is really great-- and could be even greater (imho) if it could display a navigable menu of matching history items instead of one at a time-- something like the "kill" completion menu.

See also http://stackoverflow.com/questions/13613698/zsh-history-completion-menu

Thanks!

davidsoergel avatar Feb 11 '13 18:02 davidsoergel

I have an experimental version of this at gezalore/zsh-history-substring-search@menu-experiment which I have been using for the past 6 months, it need some polish but might be a good starting point. Issues in particular:

  • the menu is drawn entirely in POSTDISPLAY, is there a better way to provide a menu in zsh?
  • the patch tries to colour the diff between consecutive results and depends on Python to compute the diff

gezalore avatar Dec 10 '16 14:12 gezalore

Implemented in #79

gezalore avatar May 16 '17 20:05 gezalore

It's not working in MacOSX High Sierra...

devssh avatar Jan 10 '18 12:01 devssh

have look at fzf and zsh integration

qoomon avatar Jan 10 '18 18:01 qoomon

Yes the fzf integration solved the problem! I had to add plugin - fzf

Might I add most of the zsh-users repositories are really good, life is so much better with autocomplete and syntax highlighting! Thank you for everything

devssh avatar Jan 10 '18 19:01 devssh