A bit late, but you could try using ranges instead of normal searches. They are usually faster.
You might also skip a few steps, like replacing the line breaks with a code. You can extend the selection with the moveuntil combined with cset. In that case you can ensure you also take linebreaks and alike within your selection.
|