Re: How do I search and replace based on a list?

2021-08-30 Thread Tim Chase
On 2021-08-28 03:05, Luciano ES wrote: > So I would like to create a list of string pairs, ideally in a > separate file and with some kind of separator such as '|' between > the strings. Then I would highlight the line or paragraph and run > the macro or script and have all pair replacements

How do I search and replace based on a list?

2021-08-30 Thread Luciano ES
Greetings. I've been using Vim for a long time, but never got around to learning programming in it. I've always found it difficult. I wonder if someone here is willing to help me with a little project. I sometimes highlight a line or paragraph and run some search and replace on it: