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

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

1585 active golfers, 4790 entries

Solutions by @loki2441:
12
#463 - loki2441 / @loki2441

09/10/2016 at 09:57PM

12
#>464 - loki2441 / @loki2441

09/18/2016 at 11:44PM

13
#>823 - loki2441 / @loki2441

09/10/2016 at 09:56PM

14
#>985 - loki2441 / @loki2441

09/10/2016 at 09:55PM

15
#>1089 - loki2441 / @loki2441

09/10/2016 at 09:55PM

15
#>1089 - loki2441 / @loki2441

09/10/2016 at 09:56PM

15
#>1089 - loki2441 / @loki2441

09/10/2016 at 09:57PM

16
#>1179 - loki2441 / @loki2441

09/10/2016 at 09:54PM

21
#>1493 - loki2441 / @loki2441

09/10/2016 at 09:54PM