Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

integrate history-substring-search-down with existing widget #136

Open
blueray453 opened this issue Aug 12, 2022 · 0 comments
Open

integrate history-substring-search-down with existing widget #136

blueray453 opened this issue Aug 12, 2022 · 0 comments

Comments

@blueray453
Copy link

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?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant