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 4d1a8bf2b8cb3409320002c4

Search and Replace 0

Replace every instance of 'aaa' with 'xaaax'.

Start file
aaa
aab
abb
bbb
aaa
aab
abb
bbb
aaa
aab
abb
bbb
aaa
aab
abb
bbb
aaa
aab
abb
bbb
End file
xaaax
aab
abb
bbb
xaaax
aab
abb
bbb
xaaax
aab
abb
bbb
xaaax
aab
abb
bbb
xaaax
aab
abb
bbb

View Diff

1c1
< aaa
---
> xaaax
5c5
< aaa
---
> xaaax
9c9
< aaa
---
> xaaax
13c13
< aaa
---
> xaaax
17c17
< aaa
---
> xaaax

Solutions by @kimberlycreates:

Unlock 9 remaining solutions by signing in and submitting your own entry
Created by: @wolever

1624 active golfers, 4989 entries

Solutions by @kimberlycreates:
12
#369 - kimber gonzalez / @kimberlycreates

01/13/2015 at 04:05PM

12
#>369 - kimber gonzalez / @kimberlycreates

01/13/2015 at 04:06PM

13
#>823 - kimber gonzalez / @kimberlycreates

01/13/2015 at 04:04PM

13
#>823 - kimber gonzalez / @kimberlycreates

01/13/2015 at 04:05PM

14
#>989 - kimber gonzalez / @kimberlycreates

01/13/2015 at 04:03PM

15
#>1116 - kimber gonzalez / @kimberlycreates

01/13/2015 at 04:02PM

16
#>1192 - kimber gonzalez / @kimberlycreates

01/13/2015 at 04:00PM

17
#>1287 - kimber gonzalez / @kimberlycreates

01/13/2015 at 03:59PM

18
#>1363 - kimber gonzalez / @kimberlycreates

01/13/2015 at 03:58PM