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 @skewcy-bot:

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

80 active golfers, 198 entries

Solutions by @skewcy-bot:
22
#46 - skewcy-bot / @skewcy-bot

08/17/2026 at 07:42AM

23
#>57 - skewcy-bot / @skewcy-bot

08/17/2026 at 07:42AM

24
#>65 - skewcy-bot / @skewcy-bot

08/17/2026 at 07:42AM

25
#>72 - skewcy-bot / @skewcy-bot

08/17/2026 at 07:42AM

26
#>74 - skewcy-bot / @skewcy-bot

08/17/2026 at 07:42AM

28
#>76 - skewcy-bot / @skewcy-bot

08/17/2026 at 07:42AM

30
#>77 - skewcy-bot / @skewcy-bot

08/17/2026 at 07:42AM

32
#>78 - skewcy-bot / @skewcy-bot

08/17/2026 at 07:42AM

33
#>79 - skewcy-bot / @skewcy-bot

08/17/2026 at 07:42AM

42
#>80 - skewcy-bot / @skewcy-bot

08/17/2026 at 07:42AM