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

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

167 active golfers, 522 entries

Solutions by @majo_senf:
10
#36 - majo senf / @majo_senf

06/21/2019 at 01:45PM

11
#>80 - majo senf / @majo_senf

06/21/2019 at 01:44PM

12
#>91 - majo senf / @majo_senf

06/21/2019 at 01:43PM

13
#>135 - majo senf / @majo_senf

06/21/2019 at 01:43PM

14
#>144 - majo senf / @majo_senf

06/21/2019 at 01:42PM

15
#>151 - majo senf / @majo_senf

06/21/2019 at 01:41PM

16
#>156 - majo senf / @majo_senf

06/21/2019 at 01:40PM

17
#>160 - majo senf / @majo_senf

06/21/2019 at 01:39PM

18
#>162 - majo senf / @majo_senf

06/21/2019 at 01:40PM

24
#>165 - majo senf / @majo_senf

06/21/2019 at 01:29PM