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

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

157 active golfers, 476 entries

Solutions by @pikjes2:
11
#81 - pikjes / @pikjes2

03/21/2021 at 08:02PM

12
#>84 - pikjes / @pikjes2

03/21/2021 at 08:01PM

13
#>127 - pikjes / @pikjes2

03/21/2021 at 08:01PM

14
#>136 - pikjes / @pikjes2

03/21/2021 at 08:01PM

15
#>142 - pikjes / @pikjes2

03/21/2021 at 08:00PM

16
#>146 - pikjes / @pikjes2

03/21/2021 at 08:00PM

17
#>150 - pikjes / @pikjes2

03/21/2021 at 07:59PM

18
#>152 - pikjes / @pikjes2

03/21/2021 at 07:59PM

19
#>154 - pikjes / @pikjes2

03/21/2021 at 07:59PM

24
#>155 - pikjes / @pikjes2

03/21/2021 at 07:59PM

25
#>155 - pikjes / @pikjes2

03/21/2021 at 07:58PM

26
#>156 - pikjes / @pikjes2

03/21/2021 at 07:58PM

30
#>156 - pikjes / @pikjes2

03/21/2021 at 07:58PM