Real Vim ninjas count every keystroke - do you?

Pick a challenge, fire up Vim, and show us what you got.

Leaderboard, 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 16 remaining solutions by signing in and submitting your own entry
#17 Casey Dwyer / @caseydwyer - Score: 35 - 10/23/13 @ 02:16
qq7@='f mmde0p`m'<CR>3|jq8@q:g/./m1<CR>ZZ

0 comments

#18 Alex Pounds / @acreature - Score: 51 - 06/24/14 @ 12:15
0<C-V>8jl"tdVGc<C-O>:set ri<CR><C-R>"<Esc>dd:set nori<CR>gg"tP:2,$sort<CR>ZZ

0 comments

#19 James / @Dronak - Score: 55 - 09/20/14 @ 11:01
j3wrkwrqG4wrKwrQbkr.wrP2kr.brP:sor<CR>c$h g f e d c b a<Esc>ZZ

0 comments

#20 Justin Knag / @justinknag - Score: 57 - 10/09/14 @ 23:16
:sor<CR>Ch g f e d c b a<Esc>?Q<BS><BS>/Q<CR>rKwrQjrPbr.2jrPwr.3jjrqbrkZZ

0 comments

#21 Scott Harvey / @scottharveyco - Score: 71 - 11/29/12 @ 02: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

21 active golfers, 50 entries

Leaderboard (lowest score wins):
18
#1 - Kerson Hsiao / @KersonHsiao

11/26/2012 at 07:52PM

18
#2 - Urtica dioica / @udioica

11/26/2012 at 08:03PM

18
#3 - Conner McDaniel / @connermcd

11/26/2012 at 09:10PM

18
#4 - Petro Тrouq / @zulolosi

07/02/2014 at 07:42AM

18
#5 - John Braxler / @braxler

10/01/2014 at 11:23AM

20
#6 - a24f0600 / @a24f0600

11/28/2012 at 07:45AM

21
#7 - Vasil Sakarov / @vsakarov

11/29/2012 at 03:03PM

21
#8 - James Davis / @tripvg

06/27/2013 at 10:42AM

23
#9 - Drew Neil / @nelstrom

11/26/2012 at 02:46PM

23
#10 - Marcin Sza / @coot_

11/27/2012 at 08:20AM

24
#11 - Joonas Pihlajamaa / @jokkebk

04/01/2014 at 04:39AM

28
#12 - Hubba / @HubbaBubbaFett

11/26/2012 at 01:44PM

28
#13 - Tyler / @tylerbindon

10/14/2013 at 03:18PM

30
#14 - Matt Garriott / @GarriottMatt

12/08/2012 at 03:26PM

30
#15 - Kana Natsuno / @kana1

08/28/2013 at 01:43AM

33
#16 - Jason Wolf / @zephyr_wolf

11/26/2012 at 08:16AM

35
#17 - Casey Dwyer / @caseydwyer

10/23/2013 at 02:16AM

51
#18 - Alex Pounds / @acreature

06/24/2014 at 12:15PM

55
#19 - James / @Dronak

09/20/2014 at 11:01AM

57
#20 - Justin Knag / @justinknag

10/09/2014 at 11:16PM

71
#21 - Scott Harvey / @scottharveyco

11/29/2012 at 02:01AM