How to use vim to quickly organize numbers
phpcn_u1582
phpcn_u1582 2017-05-16 16:35:48
0
1
821

I have this number in my file:

123456
223456
333456
443456

I want to use vim to organize it like this:

123456,223456,333456,443456

This file is very long, and it will definitely not be efficient if you edit it bit by bit. Is there any good way to record macros?

phpcn_u1582
phpcn_u1582

reply all(1)
迷茫

If you want to convert the branch data into comma-separated data, you can use the following replacement command:
:%s/$n/, /g

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template