I have a tab delimited file (one line). I can easily enough replace the tabs with new lines so that I can see what fields are in what position
:%s/\t/\r/g
How can I do the inverse, after I've edited the fields? I could record a macro:
Js<tab>Esc
And then repeat it all the way down - but is there an easier way?
How about this:
:%s/\n/\t/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With