larkery / zsh-histdb

A slightly better history for zsh
MIT License
1.25k stars 74 forks source link

up-line-or-beginning-search and down-line-or-beginning-search support #128

Open dereckson opened 2 years ago

dereckson commented 2 years ago

Zle, the line editor from zsh offers two main modes to browse history:

Reference: https://github.com/zsh-users/zsh/blob/master/Functions/Zle/up-line-or-beginning-search

Could zsh-histdb support that mode?

To emulate that we would need a function allowing to open the query buffer through _histdb_isearch_query then directly do the _histdb-isearch-up without ofering any special interactive mode.