Imagine a situation, where you remember, that you want to re-use something
you have deleted a while ago. Most likely the thing that has been deleted is stored in one of the numeric registers. Usually it's not a big deal to just type :reg
and start looking through the list. However, I often find myself in a situation, where many of the registers are similar, and finding the register I want to use is difficult. Or it might be the case that I have yanked something to a permanent register but just can't remember which one it was. In these kind of situations I would find it quite useful to
be able to search the registers: if I remember that the line I want to re-use contains the word function
I would like be able get a list of just the registers containing that word.
Is this possible? Perhaps with a plugin I'm not aware of?