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 @Korvin79:

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

1624 active golfers, 4989 entries

Solutions by @Korvin79:
12
#149 - Renat Aksitov / @Korvin79

02/05/2012 at 08:09PM

13
#>771 - Renat Aksitov / @Korvin79

02/05/2012 at 08:03PM

14
#>927 - Renat Aksitov / @Korvin79

02/05/2012 at 07:58PM

15
#>1094 - Renat Aksitov / @Korvin79

02/05/2012 at 07:54PM

16
#>1155 - Renat Aksitov / @Korvin79

02/05/2012 at 07:50PM

17
#>1269 - Renat Aksitov / @Korvin79

01/24/2012 at 04:17PM