Tim Chase wrote:
Or even a quality :s command instead of a function:
:%s/.\{72}/&r/g

Thanks - I occasionally need to split a line into equal-length blocks
and your command is excellent. Your posts are very valuable.

However, for anyone trying this, 'r' should be '\r'.

:%s/.\{72}/&\r/g

John

Reply via email to