liuchengxu / vim-clap

:clap: Modern performant fuzzy picker, tree-sitter highlighting, and more, for both Vim and NeoVim
https://liuchengxu.github.io/vim-clap/
MIT License
2.11k stars 87 forks source link

Taking over change history #661

Open alerque opened 3 years ago

alerque commented 3 years ago

Sometime since I last updated vim-plugins (up to a month perhaps?), the behavior of vim-clap has regressed.

A common workflow for me is to open a file, search for some next, make a change, then use vim-clap with a grep or files provider to load up another file with related content. My expectation is that I should be able to use n without further ado to find the next instance from my previous search, then . to repeat the fix.

At some point vim-clap has started registering things typed into the search (for example using the files provider) as an action in VIM's command history. Now when I get a new buffer open n works to find the next instance of my last search, but when I try to repeat the last action using . I get whatever fuzzy string I typed into the files provider inserted in my file.

liuchengxu commented 3 years ago

It can be helpful if you bisect the commit that introduces this change.

alerque commented 3 years ago

Yes, and if I did that I could probably fix it myself too. Trouble is I don't have the bandwidth today or in the next couple days. I may get to it eventually if nobody else does first.