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

integrate `history-substring-search-down` with existing widget

Open blueray453 opened this issue 2 years ago • 0 comments

My current widget associated with downkey looks like the following:

down-line-or-select() { if [[ $RBUFFER == $'\n' ]]; then zle down-line else zle menu-select -w fi }

zle -N down-line-or-select bindkey $terminfo[kcud1] down-line-or-select # down arrow

How can I integrate history-substring-search-down with this?

blueray453 avatar Aug 12 '22 16:08 blueray453