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

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

1585 active golfers, 4790 entries

Solutions by @samuelcharron:
16
#1106 - uoɹɹɐɥƆ ꞁǝnɯɐS / @samuelcharron

12/30/2010 at 01:06AM

16
#>1106 - uoɹɹɐɥƆ ꞁǝnɯɐS / @samuelcharron

12/30/2010 at 01:08AM

17
#>1228 - uoɹɹɐɥƆ ꞁǝnɯɐS / @samuelcharron

12/30/2010 at 12:52AM

18
#>1272 - uoɹɹɐɥƆ ꞁǝnɯɐS / @samuelcharron

12/30/2010 at 12:52AM

18
#>1272 - uoɹɹɐɥƆ ꞁǝnɯɐS / @samuelcharron

12/30/2010 at 01:05AM

19
#>1389 - uoɹɹɐɥƆ ꞁǝnɯɐS / @samuelcharron

12/30/2010 at 12:50AM

21
#>1490 - uoɹɹɐɥƆ ꞁǝnɯɐS / @samuelcharron

12/30/2010 at 12:49AM

22
#>1506 - uoɹɹɐɥƆ ꞁǝnɯɐS / @samuelcharron

12/30/2010 at 12:46AM

23
#>1527 - uoɹɹɐɥƆ ꞁǝnɯɐS / @samuelcharron

12/30/2010 at 12:34AM

25
#>1537 - uoɹɹɐɥƆ ꞁǝnɯɐS / @samuelcharron

12/30/2010 at 12:31AM

93
#>1582 - uoɹɹɐɥƆ ꞁǝnɯɐS / @samuelcharron

12/30/2010 at 12:36AM