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 50b375efd028d90002000050

Flip the chessboard

White's turn is over. Flip the board to black's perspective. I added coordinates to frustrate you.

Start file
  a b c d e f g h
8 r n b q k b n r
7 p p p p p p p p
6 . . . . . . . .
5 . . . . . . . .
4 . . . . P . . .
3 . . . . . . . .
2 P P P P . P P P
1 R N B Q K B N R
End file
  h g f e d c b a
1 R N B K Q B N R
2 P P P . P P P P
3 . . . . . . . .
4 . . . P . . . .
5 . . . . . . . .
6 . . . . . . . .
7 p p p p p p p p
8 r n b k q b n r

View Diff

1,6c1,3
<   a b c d e f g h
< 8 r n b q k b n r
< 7 p p p p p p p p
< 6 . . . . . . . .
< 5 . . . . . . . .
< 4 . . . . P . . .
---
>   h g f e d c b a
> 1 R N B K Q B N R
> 2 P P P . P P P P
8,9c5,9
< 2 P P P P . P P P
< 1 R N B Q K B N R
---
> 4 . . . P . . . .
> 5 . . . . . . . .
> 6 . . . . . . . .
> 7 p p p p p p p p
> 8 r n b k q b n r

Solutions

The best way to learn is to practice. Below, you will find some of the solutions other golfers have entered. To unlock higher ranked solutions, submit your own entry which does as well or better than the solutions you can currently see - climb the ladder!

Check out these helpful resources to improve your Vim skills... Game on.

Unlock 31 remaining solutions by signing in and submitting your own entry
#32 Scott Harvey / @scottharveyco - Score: 71 - 11/29/12 @ 10:01
j<C-V>9j14l:g/^/m1<CR>kllCh g f e d c b a<Esc>jFkFKrQFQrKjr.f.rPjjr.hhrP5jrkllrqZZ

0 comments


Created by: @udioica

32 active golfers, 95 entries

Leaderboard (lowest score wins):
57
#31 - Justin Knag / @justinknag

10/10/2014 at 06:16AM

71
#32 - Scott Harvey / @scottharveyco

11/29/2012 at 10:01AM