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

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

165 active golfers, 505 entries

Solutions by @__Coos:
10
#44 - Janzen / @__Coos

10/01/2022 at 01:25PM

11
#>84 - Janzen / @__Coos

10/01/2022 at 01:24PM

13
#>134 - Janzen / @__Coos

10/01/2022 at 01:24PM

14
#>143 - Janzen / @__Coos

10/01/2022 at 01:21PM