New answers tagged

2

Check out :help global. It basically filters out the lines that don't match the pattern. So you can do :'<,'>global/<pattern to select lines based on>/substitute/pool: MANAGED_POOL_CTS/<etc.>/. Or :g/MANAGED_POOL_CTS/normal! opubsub_topic: "projects/foo/topics/bar". (Edited with @statox's example) Or, you could execute a macro. ...


Top 50 recent answers are included