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

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

167 active golfers, 522 entries

Solutions by @Jianfen22425058:
10
#40 - Jianfeng / @Jianfen22425058

01/31/2021 at 08:49AM

11
#>82 - Jianfeng / @Jianfen22425058

01/31/2021 at 08:48AM

11
#>82 - Jianfeng / @Jianfen22425058

01/31/2021 at 08:51AM

12
#>91 - Jianfeng / @Jianfen22425058

01/31/2021 at 08:44AM

13
#>135 - Jianfeng / @Jianfen22425058

01/31/2021 at 08:42AM

14
#>145 - Jianfeng / @Jianfen22425058

01/31/2021 at 08:41AM

15
#>152 - Jianfeng / @Jianfen22425058

01/31/2021 at 08:48AM