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

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

1624 active golfers, 4989 entries

Solutions by @nickandbro:
12
#737 - nickGPT / @nickandbro

08/29/2024 at 12:12AM

12
#>737 - nickGPT / @nickandbro

08/29/2024 at 12:12AM

12
#>737 - nickGPT / @nickandbro

08/29/2024 at 12:12AM

12
#>737 - nickGPT / @nickandbro

08/29/2024 at 12:12AM

12
#>737 - nickGPT / @nickandbro

08/29/2024 at 12:13AM

12
#>737 - nickGPT / @nickandbro

08/29/2024 at 12:13AM

13
#>884 - nickGPT / @nickandbro

08/29/2024 at 12:14AM

13
#>884 - nickGPT / @nickandbro

08/29/2024 at 12:14AM

14
#>1080 - nickGPT / @nickandbro

08/29/2024 at 12:21AM

15
#>1133 - nickGPT / @nickandbro

08/29/2024 at 12:13AM

15
#>1133 - nickGPT / @nickandbro

08/29/2024 at 12:13AM

15
#>1133 - nickGPT / @nickandbro

08/29/2024 at 12:13AM

15
#>1133 - nickGPT / @nickandbro

08/29/2024 at 12:13AM

15
#>1133 - nickGPT / @nickandbro

08/29/2024 at 12:13AM

15
#>1133 - nickGPT / @nickandbro

08/29/2024 at 12:13AM

15
#>1133 - nickGPT / @nickandbro

08/29/2024 at 12:13AM

15
#>1133 - nickGPT / @nickandbro

08/29/2024 at 12:13AM

15
#>1133 - nickGPT / @nickandbro

08/29/2024 at 12:13AM

15
#>1133 - nickGPT / @nickandbro

08/29/2024 at 12:14AM

15
#>1133 - nickGPT / @nickandbro

08/29/2024 at 12:14AM

15
#>1133 - nickGPT / @nickandbro

08/29/2024 at 12:14AM

15
#>1133 - nickGPT / @nickandbro

08/29/2024 at 12:14AM

15
#>1133 - nickGPT / @nickandbro

08/29/2024 at 12:14AM

15
#>1133 - nickGPT / @nickandbro

08/29/2024 at 12:14AM

15
#>1133 - nickGPT / @nickandbro

08/29/2024 at 12:14AM

16
#>1246 - nickGPT / @nickandbro

08/29/2024 at 12:12AM

16
#>1246 - nickGPT / @nickandbro

08/29/2024 at 12:14AM

16
#>1246 - nickGPT / @nickandbro

08/29/2024 at 12:15AM

16
#>1246 - nickGPT / @nickandbro

08/29/2024 at 12:15AM

16
#>1246 - nickGPT / @nickandbro

08/29/2024 at 12:15AM

16
#>1246 - nickGPT / @nickandbro

08/29/2024 at 12:15AM

16
#>1246 - nickGPT / @nickandbro

08/29/2024 at 12:15AM

16
#>1246 - nickGPT / @nickandbro

08/29/2024 at 12:15AM

16
#>1246 - nickGPT / @nickandbro

08/29/2024 at 12:15AM

16
#>1246 - nickGPT / @nickandbro

08/29/2024 at 12:15AM

16
#>1246 - nickGPT / @nickandbro

08/29/2024 at 12:15AM

16
#>1246 - nickGPT / @nickandbro

08/29/2024 at 12:15AM

16
#>1246 - nickGPT / @nickandbro

08/29/2024 at 12:16AM

16
#>1246 - nickGPT / @nickandbro

08/29/2024 at 12:16AM

16
#>1246 - nickGPT / @nickandbro

08/29/2024 at 12:16AM

16
#>1246 - nickGPT / @nickandbro

08/29/2024 at 12:16AM

16
#>1246 - nickGPT / @nickandbro

08/29/2024 at 12:16AM

16
#>1246 - nickGPT / @nickandbro

08/29/2024 at 12:16AM

16
#>1246 - nickGPT / @nickandbro

08/29/2024 at 12:16AM

16
#>1246 - nickGPT / @nickandbro

08/29/2024 at 12:16AM

16
#>1246 - nickGPT / @nickandbro

08/29/2024 at 12:16AM

16
#>1246 - nickGPT / @nickandbro

08/29/2024 at 12:16AM

16
#>1246 - nickGPT / @nickandbro

08/29/2024 at 12:17AM

16
#>1246 - nickGPT / @nickandbro

08/29/2024 at 12:21AM

16
#>1246 - nickGPT / @nickandbro

08/29/2024 at 12:21AM

16
#>1246 - nickGPT / @nickandbro

08/29/2024 at 12:21AM

17
#>1299 - nickGPT / @nickandbro

08/29/2024 at 12:12AM

17
#>1299 - nickGPT / @nickandbro

08/29/2024 at 12:21AM

17
#>1299 - nickGPT / @nickandbro

08/29/2024 at 12:21AM

17
#>1299 - nickGPT / @nickandbro

08/29/2024 at 12:21AM

17
#>1299 - nickGPT / @nickandbro

08/29/2024 at 12:21AM

17
#>1299 - nickGPT / @nickandbro

08/29/2024 at 12:21AM

17
#>1299 - nickGPT / @nickandbro

08/29/2024 at 12:22AM

17
#>1299 - nickGPT / @nickandbro

08/29/2024 at 12:22AM

17
#>1299 - nickGPT / @nickandbro

08/29/2024 at 12:22AM

17
#>1299 - nickGPT / @nickandbro

08/29/2024 at 12:22AM

17
#>1299 - nickGPT / @nickandbro

08/29/2024 at 12:22AM

17
#>1299 - nickGPT / @nickandbro

08/29/2024 at 12:22AM

18
#>1412 - nickGPT / @nickandbro

08/29/2024 at 12:12AM

22
#>1553 - nickGPT / @nickandbro

08/29/2024 at 12:12AM

28
#>1591 - nickGPT / @nickandbro

08/29/2024 at 12:12AM

40
#>1606 - nickGPT / @nickandbro

08/29/2024 at 12:12AM

41
#>1607 - nickGPT / @nickandbro

08/29/2024 at 12:12AM

47
#>1608 - nickGPT / @nickandbro

08/29/2024 at 12:12AM

107
#>1622 - nickGPT / @nickandbro

08/29/2024 at 12:11AM