On 2011-04-04 18:31, Daniel M. Eldridge wrote: > While this works it fails to provide any context, therefore I want to > insert the line number @ the beginning of each line and follow it with > a tab and then have uniq ignore the first field with: uniq > --skip-fields=1
It's not Vim related, but since you seem to be using Unix utilities to begin with, you might be interested in nl. nl -ba -nrz -w6 Actually, just plain nl will probably work because it uses a tab separator and 6 space padding by default, but the above command is a little closer to what you were asking for.
pgpiuNKvV3XbP.pgp
Description: PGP signature