:let j=[] | %s/xxxx/\=printf(”%04d”, “”.len(add(j,”)))/g
(adapted from this tip)
Posted in unix, vim | No Comments »
You are currently browsing the Flaming Penguin blog archives for August, 2010.