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

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

167 active golfers, 522 entries

Solutions by @mihaicristiant:
11
#80 - Mihai / @mihaicristiant

12/24/2018 at 06:25PM

12
#>91 - Mihai / @mihaicristiant

12/24/2018 at 03:44PM

15
#>151 - Mihai / @mihaicristiant

12/24/2018 at 03:43PM

16
#>156 - Mihai / @mihaicristiant

12/24/2018 at 03:43PM

18
#>162 - Mihai / @mihaicristiant

12/24/2018 at 03:43PM

20
#>164 - Mihai / @mihaicristiant

12/24/2018 at 03:40PM

21
#>164 - Mihai / @mihaicristiant

12/24/2018 at 03:40PM

29
#>166 - Mihai / @mihaicristiant

12/24/2018 at 03:44PM