Let's say I have this code :
CommitEvent 4 FooEvent 3 BarEvent 5 NoneEvent 12
And many other lines like this. Using vim, I want to change it to :
CommitEvent => 4, FooEvent => 3, BarEvent => 5, NoneEvent => 12,
I tried visual block first to get the arrows but it doesn't work because the spaces are not there.
Has someone got an idea to solve this ?