I would like to right align text in columns in Sublime Text 3 (on Win 8.1, FWIW).
That is, I want to convert this
Time Cash Flow
0 -500
1 100
2 200
3 300
into this
Time Cash Flow
0 -500
1 100
2 200
3 300
with the ultimate goal of this
Time Cash Flow
----- ----------
0 -500
1 100
2 200
3 300
This a simple table in pandoc. I tried the alignment
and AlignTab
packages, but these seem to specialize in aligning some delimiters rather than aligning columns like I need.
Is there some trick to do this? I am also open to a solution that requires vi or Excel.