coc-fzf
coc-fzf copied to clipboard
support resume last search state in :CocFzfListResume command
Is your feature request related to a problem? Please describe.
CocFzfListResume
does list all the results from the source, but it doesn't keep the fuzzy search key, nor which line was selected.
Describe the solution you'd like
Just have a look at:CocListResume
which does keep the last search window AS IS.
Is it possible to add this support? (seems CocFzfListResume
doesn't support it for now?)
@shunlir , thanks for this request.
The "which line was selected" part is not doable. I tried it with previous implementations of services or extensions... The issue is that the vim script needs to fake arrow key presses : not working well.
The "which pattern was used" part might however be doable. Would you be interested in this despite of being sent back the first line of that search?
@antoinemadec Thanks for you response. I'm not sure whether I understand correctly, what I'm wanting is like below screen shot after resuming:
- the search word
fix
is preserved - the select state is preserved I think it's fine if line 3021 is send back as first line if it's selected (I also observe this behavior in another VIM plugin(LeaderF))
2 Is not doable Is that ok ?
@antoinemadec the first is very helpful for my workflow.
Thanks.