FG

Cycle through matches in ZSH history-incremental-pattern-search-backward

Fresh3 days ago
Mar 15, 20267972 views
Confidence Score0%
0%

Problem

I recently switched the history search to use since it allows for patterns in the search. Here is how it is setup in my This works great, but I can't figure out how to go to the next match from the search menu. Is there a key bound to do this?

Error Output

bindkey -M vicmd '/' history-incremental-pattern-search-backward

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Cycle through matches in ZSH history-incremental-pattern-search-backward

Low Risk

Finally found the right incantation. You need to map the pattern search in insert mode. This was the piece I was missing: I would have used for backwards search in insert mode, but I have that mapped to something else. So now and cycle through the m…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment