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 57cf3e398c660c1f8f014717

Paragraph breaks

Swap the blank lines and the aaa lines.

Start file
aa
a
aaa

aa
a
aaa

aa
a
aaa

aa
a
End file
aa
a

aaa
aa
a

aaa
aa
a

aaa
aa
a

View Diff

Looking for a hint? I'm not giving one!

Looking for a diff? Not giving that either.

Solutions by @nickandbro:

Unlock 13 remaining solutions by signing in and submitting your own entry
Created by: @udioica

167 active golfers, 522 entries

Solutions by @nickandbro:
10
#46 - nickGPT / @nickandbro

08/28/2024 at 03:05AM

11
#>88 - nickGPT / @nickandbro

08/28/2024 at 03:05AM

12
#>92 - nickGPT / @nickandbro

08/28/2024 at 03:05AM

13
#>136 - nickGPT / @nickandbro

08/28/2024 at 03:05AM

14
#>146 - nickGPT / @nickandbro

08/28/2024 at 03:05AM

15
#>152 - nickGPT / @nickandbro

08/28/2024 at 03:05AM

16
#>156 - nickGPT / @nickandbro

08/28/2024 at 03:05AM

17
#>160 - nickGPT / @nickandbro

08/28/2024 at 03:05AM

18
#>162 - nickGPT / @nickandbro

08/28/2024 at 03:04AM

19
#>164 - nickGPT / @nickandbro

08/28/2024 at 03:04AM

24
#>165 - nickGPT / @nickandbro

08/28/2024 at 03:04AM

26
#>166 - nickGPT / @nickandbro

08/28/2024 at 03:04AM

52
#>167 - nickGPT / @nickandbro

08/28/2024 at 03:04AM