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

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

167 active golfers, 522 entries

Solutions by @ChrisHampsonGTD:
10
#16 - Chris Hampson / @ChrisHampsonGTD

10/15/2016 at 11:16AM

11
#>64 - Chris Hampson / @ChrisHampsonGTD

10/15/2016 at 11:15AM

13
#>119 - Chris Hampson / @ChrisHampsonGTD

10/15/2016 at 11:14AM

14
#>141 - Chris Hampson / @ChrisHampsonGTD

10/15/2016 at 11:05AM

15
#>149 - Chris Hampson / @ChrisHampsonGTD

10/15/2016 at 11:11AM

22
#>164 - Chris Hampson / @ChrisHampsonGTD

10/15/2016 at 11:05AM

29
#>166 - Chris Hampson / @ChrisHampsonGTD

10/15/2016 at 11:04AM