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 168 remaining solutions by signing in and submitting your own entry
#169 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

169 active golfers, 843 entries

Leaderboard (lowest score wins):
98
#151 - 황태림 / @okroller77

10/25/2023 at 07:41AM

102
#152 - Rory Smith / @alan0buchanan

09/14/2021 at 01:32AM

103
#153 - MerryElvira / @ElviraBTC

09/24/2022 at 05:25AM

106
#154 - Herman Stavelin / @HsBruker

08/16/2021 at 01:51PM

106
#155 - Johnny Neira / @JohnnyNeira7

01/29/2023 at 03:18PM

108
#156 - Roy H / @hroy02

12/02/2021 at 09:57PM

111
#157 - July Kaizen / @jckaizen27

01/06/2022 at 06:28AM

115
#158 - Il Granfiatore / @M_Klauer

08/13/2021 at 10:03PM

121
#159 - Aarya / @aaryabhatia6

07/16/2022 at 05:48AM

123
#160 - hey / @jkijkftufty

05/06/2022 at 06:14PM

136
#161 - vimgolfaccfekxh / @vimgolfaccfekxh

10/18/2022 at 04:06PM

150
#162 - Nougatine Naja / @NougatineNaja

12/28/2021 at 01:50PM

153
#163 - Thomas 🏴 / @ThomasGrgrczk

11/25/2022 at 12:28PM

160
#164 - Andrii Soldatenko / @a_soldatenko

10/03/2022 at 01:42PM

197
#165 - brian shurman / @superduper5851

11/04/2022 at 06:13AM

218
#166 - LandR / @ListenAndR

10/25/2023 at 07:23AM

223
#167 - Mathew Varughese / @varhawk5

09/05/2021 at 01:13PM

391
#168 - vimgolf / @vimgolf10

02/26/2023 at 06:39PM

444
#169 - oleg / @oleg12573505

01/29/2022 at 03:02PM