reformat in vim for a nice column layout

后端 未结 13 1119
野性不改
野性不改 2020-11-30 16:21

I have this dataset in a csv file

1.33570301776, 3.61194e-06, 7.24503e-06, -9.91572e-06, 1.25098e-05, 0.0102828, 0.010352, 0.0102677, 0.0103789, 0.00161604,          


        
13条回答
  •  失恋的感觉
    2020-11-30 16:52

    I just wrote tablign for this purpose. Install with

    pip3 install tablign --user
    

    Then simply mark the table in vim and do

    :'<,'>:!tablign
    

提交回复
热议问题