Real Vim ninjas count every keystroke - do you?

Pick a challenge, fire up Vim, and show us what you got.

Changelog, Rules & FAQ, updates: @vimgolf, RSS.

Your VimGolf key: please sign in

$ gem install vimgolf
$ vimgolf setup
$ vimgolf put 512eda055d6ed80002000025

Parsing with CSV: Unify lines and result.

col1;col2;col3;col4 A;1;4;5 A;3;4; A;1;4; # New output: col1;col2;col3;col4 A;1(2x);3;4(3x);5 any ideas?

Start file
col1;col2;col3;col4
A;1;4;5
A;3;4;
A;1;4;
End file
col1;col2;col3;col4
A;1(2x);3;4(3x);5

View Diff

2,4c2
< A;1;4;5
< A;3;4;
< A;1;4;
---
> A;1(2x);3;4(3x);5

Solutions by @0x89:

Unlock 7 remaining solutions by signing in and submitting your own entry
Created by: @ValessioBrito

72 active golfers, 164 entries

Solutions by @0x89:
21
#7 - Martin Sander / @0x89

03/08/2013 at 03:45PM

23
#>44 - Martin Sander / @0x89

03/08/2013 at 03:37PM

24
#>50 - Martin Sander / @0x89

03/08/2013 at 03:33PM

24
#>51 - Martin Sander / @0x89

03/08/2013 at 03:44PM

25
#>58 - Martin Sander / @0x89

03/08/2013 at 03:33PM

25
#>58 - Martin Sander / @0x89

03/08/2013 at 03:35PM

25
#>58 - Martin Sander / @0x89

03/08/2013 at 03:36PM