zsh-vi-mode icon indicating copy to clipboard operation
zsh-vi-mode copied to clipboard

Incremental history preview

Open avorima opened this issue 3 years ago • 3 comments

General information

  • alacritty 0.9.0 (fed349aa)
  • linux 5.14.12-arch1-1
  • zsh 5.8 (without framework)
  • ZVM 0.8.4-1

Basic examination

  • [x] I have read through the README page
  • [x] I have the latest version of zsh-vi-mode
  • [ ] I have tested with another terminal program

Problem description

/ does not show results incrementally.

Reproduction steps

  1. Use / and compare it to using CTRL-r without ZVM

Expected behavior

I would expect / to behave like CTRL-r or as if incsearch was enabled in ViM or at least provide a config option to enable that behaviour.

avorima avatar Oct 21 '21 10:10 avorima

Hi @avorima

Thanks for your issue, I will work on this issue as soon as possible.

Thanks and Regards

jeffreytse avatar Oct 25 '21 03:10 jeffreytse

How can you iterate over multiple matching results in case of / search? In case with CTRL-r search you can do:

  • CTRL-r
  • enter search term
  • CTRL-r to iterate over matching results.

It seems it could be related how the fix should be implemented.

Btw, do you need a hand with the fix?

redpublic avatar Nov 29 '21 20:11 redpublic

What worked for me was simply sourcing https://github.com/joshskidmore/zsh-fzf-history-search after sourcing zvm.

I use a stripped-down version of zvm, so YMMV.

scresante avatar Jun 01 '22 22:06 scresante