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 53e1d5a0f201bc0002226501

120 Degrees

Rotate that triangle.

Start file
   1
  9 2
 8   3
7 6 5 4
End file
   4
  3 5
 2   6
1 9 8 7

View Diff

1,4c1,4
<    1
<   9 2
<  8   3
< 7 6 5 4
---
>    4
>   3 5
>  2   6
> 1 9 8 7

Solutions by @kentyuan:

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

145 active golfers, 493 entries

Solutions by @kentyuan:
18
#52 - Kai Yuan / @kentyuan

08/06/2014 at 09:04AM