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

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

165 active golfers, 505 entries

Solutions by @MelvinCheung:
10
#27 - Melvin Cheung / @MelvinCheung

05/26/2017 at 03:45AM

11
#>71 - Melvin Cheung / @MelvinCheung

05/26/2017 at 03:44AM

13
#>130 - Melvin Cheung / @MelvinCheung

05/26/2017 at 03:41AM

15
#>148 - Melvin Cheung / @MelvinCheung

05/26/2017 at 03:37AM

15
#>150 - Melvin Cheung / @MelvinCheung

11/12/2019 at 10:08AM

16
#>154 - Melvin Cheung / @MelvinCheung

11/12/2019 at 10:07AM

17
#>156 - Melvin Cheung / @MelvinCheung

05/26/2017 at 03:37AM