what for a regex is needed for formating some lines from
0 0 0
00 00 00
000 000 00
0 00 000
000 00 0
000 0 000
to
0 0 0
00 00 00
000 000 000
0 00 000
000 00 0
000 0 000
?
TIA
Watch this:
There are times when you can improve the readability of your code by lining up the elements on neighbouring lines. In this episode, I demonstrate how this can be achieved using the Tabular plugin...
For such tasks, I'd take a look at "DrChips Alignment Tool for Vim"
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