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):
18
#1 - Kerson Hsiao / @KersonHsiao

11/27/2012 at 03:52AM

18
#2 - Urtica dioica / @udioica

11/27/2012 at 04:03AM

18
#3 - Conner McDaniel / @connermcd

11/27/2012 at 05:10AM

18
#4 - Petro Тrouq / @zulolosi

07/02/2014 at 02:42PM

18
#5 - John Braxler / @braxler

10/01/2014 at 06:23PM

18
#6 - Saki Gw / @Sakigw

04/14/2017 at 06:41PM

18
#7 - Janzen / @__Coos

09/23/2022 at 11:52AM

18
#8 - Peppa Pig / @PeppaPigSg

06/09/2024 at 06:38AM

18
#9 - nickGPT / @nickandbro

08/28/2024 at 07:22PM

19
#10 - pftb12345 / @pftb12345

05/02/2015 at 11:24PM

20
#11 - a24f0600 / @a24f0600

11/28/2012 at 03:45PM

21
#12 - Vasil Sakarov / @vsakarov

11/29/2012 at 11:03PM

21
#13 - James Davis / @tripvg

06/27/2013 at 05:42PM

23
#14 - Drew Neil / @nelstrom

11/26/2012 at 10:46PM

23
#15 - Marcin Szamotulski / @me_coot

11/27/2012 at 04:20PM

23
#16 - mark0829 / @mark0829

04/15/2015 at 04:51AM

24
#17 - Joonas Pihlajamaa / @jokkebk

04/01/2014 at 11:39AM

24
#18 - Matt / @mcr05

01/20/2015 at 04:47PM

28
#19 - Hubba / @HubbaBubbaFett

11/26/2012 at 09:44PM

28
#20 - Tyler / @tylerbindon

10/14/2013 at 10:18PM

30
#21 - Matt Garriott / @GarriottMatt

12/08/2012 at 11:26PM

30
#22 - kana / @kana1

08/28/2013 at 08:43AM

32
#23 - Luke Bryant / @LukeBryant55

10/07/2017 at 11:15PM

32
#24 - James / @Dronak

11/03/2022 at 08:21PM

33
#25 - Jason Wolf / @zephyr_wolf

11/26/2012 at 04:16PM

35
#26 - Casey Dwyer / @caseydwyer

10/23/2013 at 09:16AM

36
#27 - AAbraxas / @AAbraxas1

03/22/2021 at 08:11PM

48
#28 - shahanavaz m / @shahanavazm

04/04/2024 at 06:08PM

51
#29 - Alex Pounds / @acreature

06/24/2014 at 07:15PM

51
#30 - Miłosz Łakomy / @foobar01123

06/14/2016 at 12:35PM