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

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

165 active golfers, 505 entries

Solutions by @Smylers2:
11
#46 - Smylers / @Smylers2

09/08/2016 at 08:24AM

12
#>87 - Smylers / @Smylers2

09/08/2016 at 08:18AM

12
#>87 - Smylers / @Smylers2

09/08/2016 at 08:19AM

12
#>87 - Smylers / @Smylers2

09/08/2016 at 08:20AM

13
#>101 - Smylers / @Smylers2

09/08/2016 at 08:22AM

14
#>134 - Smylers / @Smylers2

09/08/2016 at 08:22AM

15
#>144 - Smylers / @Smylers2

09/08/2016 at 08:16AM