vim - Using Tabularize plugin -
how can modify this…
pt1 = [0, 1, 0] pt2 = [0.588, -0.809, 0] pt3 = [-0.951, 0.309, 0] pt4 = [0.951, 0.309, 0] pt5 = [-0.588, -0.809, 0]
…to make this…
pt1 = [ 0, 1, 0] pt2 = [ 0.588, -0.809, 0] pt3 = [-0.951, 0.309, 0] pt4 = [ 0.951, 0.309, 0] pt5 = [-0.588, -0.809, 0]
…using tabularize plugin? it's regular expressions , not find 1 works in case.
i make this
:tabularize /[,[]/l1c0r0c1r0c1r0
the spacing after commas isn't quite right when try peter's suggestion, modified slightly.
Comments
Post a Comment