zsh-autosuggestions: up arrow completion(up-line-or-history) doesn't work
After enabling zsh-autosuggestions, the up arrow key go through history with commands begin with words just typed doesn’t work any more.
It seem it is disabled here
ZLE_AUTOSUGGEST_SUSPEND_WIDGETS=(
vi-cmd-mode vi-backward-char backward-char backward-word beginning-of-line
history-search-forward history-search-backward up-line-or-history
Is it because some incompatibility? Anyone know what’s the alternative we have here? How can I enable it back? Thanks
About this issue
- Original URL
- State: closed
- Created 9 years ago
- Comments: 16 (7 by maintainers)
Ok, I believe you need to bind up and down to history-beginning-search-backward/forward widgets for it to search history entries that match the beginning of the buffer.
I’m not sure how you were getting the history-beginning-search-backward behavior without binding it.