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 9v006115f6d000000000020c

Fill in the chess board

Fill in the name of each square using its file (a-h) and rank (1-8).

Start file
  a  b  c  d  e  f  g  h
8
7
6
5
4
3
2
1
End file
  a  b  c  d  e  f  g  h
8 a8 b8 c8 d8 e8 f8 g8 h8
7 a7 b7 c7 d7 e7 f7 g7 h7
6 a6 b6 c6 d6 e6 f6 g6 h6
5 a5 b5 c5 d5 e5 f5 g5 h5
4 a4 b4 c4 d4 e4 f4 g4 h4
3 a3 b3 c3 d3 e3 f3 g3 h3
2 a2 b2 c2 d2 e2 f2 g2 h2
1 a1 b1 c1 d1 e1 f1 g1 h1

View Diff

2,9c2,9
< 8
< 7
< 6
< 5
< 4
< 3
< 2
< 1
---
> 8 a8 b8 c8 d8 e8 f8 g8 h8
> 7 a7 b7 c7 d7 e7 f7 g7 h7
> 6 a6 b6 c6 d6 e6 f6 g6 h6
> 5 a5 b5 c5 d5 e5 f5 g5 h5
> 4 a4 b4 c4 d4 e4 f4 g4 h4
> 3 a3 b3 c3 d3 e3 f3 g3 h3
> 2 a2 b2 c2 d2 e2 f2 g2 h2
> 1 a1 b1 c1 d1 e1 f1 g1 h1

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 184 remaining solutions by signing in and submitting your own entry
#185 oleg / @oleg12573505 - Score: 444 - 01/29/22 @ 15:02
qqja a<Esc>q7@q<C-A><C-A><C-A>ggfbqqylja  b<Esc>q8@qggwwylqqja  c<Esc>q@q7@qggfdyljkjkqqja  d<Esc>q8@qggfeylqqja  e<Esc>q8@qggffylqqja  f<Esc>q8@qggfgylqqja  g<Esc>q8@qggfhylqqja  h<Esc>q8@qqqa1<Up>2<Up>3<Up>4<Up>5<Up>6<Up>7<Up>8<Esc>qGfg@qu<Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down>fgqqa1<Up><Left>2<Up><Left>3<Up><Left>4<Up><Left>5<Up><Left>6<Up><Left>7<Up><Left>8<Esc>q<Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Left><Left><Left><Left>@q<Down><Down><Down><Down><Down><Down><Down><Down><Down><Left><Left><Left><Left>@q<Left><Left><Left><Left><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down>@q<Down><Left><Down>?c<CR>nnnn@q?b<CR>nn@q>a<CR>><Esc><Esc>?a<CR>nn@q:s/[]<Left>b-h] <BS><BS><Right><Left><Left><Left><Left><Left> \(<Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right>\)/\1/g<CR><Down>.<Down>.<Down>.<Down>.<Down>.<Down>uuuuu:<Up><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left>%<CR><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up>:<Up><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><BS><Right><Right><Right><BS><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Left> <CR><Down>:<Up><CR>:wq<CR>

0 comments


Created by: @tomkpz

185 active golfers, 959 entries

Leaderboard (lowest score wins):
25
#61 - hector / @w29975700

11/26/2021 at 11:42PM

25
#62 - Brandon / @Brandon10678836

08/26/2022 at 06:27PM

25
#63 - e_e / @eleloi

02/12/2023 at 05:05PM

25
#64 - mau-mauricelim / @mau-mauricelim

09/12/2024 at 03:42AM

26
#65 - 우정민 / @jeongmin2021

10/02/2022 at 04:39AM

27
#66 - Ivo Blöchliger / @aigledesalpes

06/07/2022 at 12:08PM

27
#67 - ._. / @Katharsic

11/17/2022 at 06:54PM

27
#68 - Rao Zvorovski / @RaoZvorovski

01/18/2023 at 01:22AM

27
#69 - Divvy C. / @divvy_c

08/11/2023 at 04:09PM

28
#70 - Michael / @triorph

11/09/2021 at 07:08AM

28
#71 - brett / @brettyukich

08/24/2022 at 04:16PM

29
#72 - z00master / @z00master

08/04/2022 at 04:22PM

30
#73 - Monte Creasor / @montecreasor

08/18/2021 at 01:34AM

30
#74 - 关红伟 / @speed2exe

09/09/2021 at 07:53PM

31
#75 - Duncan / @Duncan31503119

11/01/2021 at 09:05PM

31
#76 - Austin Willliams / @GuitarMusash616

11/12/2022 at 09:40PM

32
#77 - Hommels / @pseudohommels

10/26/2021 at 08:40PM

33
#78 - Babil G. Sarwar / @gsbabil

08/13/2021 at 11:42PM

33
#79 - 吴建明 / @pysnow5300

09/26/2021 at 11:58AM

33
#80 - Snurli / @Snurlipus

11/21/2021 at 07:04PM

33
#81 - vuems / @vuems2win

11/17/2022 at 01:01PM

34
#82 - m397 / @m39752809546

08/23/2021 at 12:40PM

34
#83 - wandering sol / @SunReyE

10/09/2021 at 11:56PM

34
#84 - Pablo R. Dinella / @pablordinella

12/01/2021 at 12:52PM

34
#85 - Justin Haaheim / @justinhaaheim

02/24/2022 at 08:11AM

35
#86 - Maorun / @Maorun11

08/13/2021 at 03:59PM

35
#87 - Bspammer / @Bspammer

08/13/2021 at 10:07PM

35
#88 - e1mnos / @e1mnos

08/14/2021 at 05:06PM

35
#89 - T. Arch / @TArch76864215

08/28/2021 at 09:47PM

35
#90 - Raiden di Rivia / @Raiden_di_Rivia

10/26/2021 at 11:48PM