reformat in vim for a nice column layout

后端 未结 13 1146
野性不改
野性不改 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:58

    I wrote python script that allows users to basicly columize any type of text also outside of vim. Not sure if this will work for windows or mac users.

    columnice.py gist

    Usage when in vim.

    :'<,'>!columnice =
    

    This will use the equals sign as the delimeter. The delimeter is not thrown away though.

提交回复
热议问题