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

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

166 active golfers, 509 entries

Solutions by @gmanbor:
10
#12 - manbogot / @gmanbor

10/02/2016 at 09:16AM

11
#>62 - manbogot / @gmanbor

10/02/2016 at 09:16AM

13
#>118 - manbogot / @gmanbor

10/02/2016 at 09:15AM