I have just posted a question about "How to search a Dictionary with the contents of a list", and received answers by El Isra, romainl and Zyx which solved the question.
But it occurred to me (in a todo list point of view) that it might be interesting to display the results in a specific way, ie, views by categories (or "labels") created.
The resulting lines were :
Call Tom about the Foo project @Tom &Foo
Complete the summary of the Bar project and send it to Thomas &Bar @Tom
Have Susan send me and Tom her forecasts for the Foo project @Susan @Tom &Foo
Is it possible in Vim to display those results after the lines by category (or "label") this way (separated by blank line) :
Call Tom about the Foo project @Tom &Foo
Complete the summary of the Bar project and send it to Thomas &Bar @Tom
Have Susan send me and Tom her forecasts for the Foo project @Susan @Tom &Foo
@Tom
Call Tom about the Foo project &Foo
Complete the summary of the Bar project and send it to Thomas &Bar
Have Susan send me and Tom her forecasts for the Foo project @Susan &Foo
@Susan
Have Susan send me and Tom her forecasts for the Foo project @Tom &Foo
&Foo
Call Tom about the Foo project @Tom
Have Susan send me and Tom her forecasts for the Foo project @Susan @Tom
&Bar
Complete the summary of the Bar project and send it to Thomas @Tom
In fact, I remembered this was the way ("views") Lotus Agenda proceeded, although in a much more sophisticated way...