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):
197
#181 - brian shurman / @superduper5851

11/04/2022 at 06:13AM

218
#182 - LandR / @ListenAndR

10/25/2023 at 07:23AM

223
#183 - Mathew Varughese / @varhawk5

09/05/2021 at 01:13PM

391
#184 - vimgolf / @vimgolf10

02/26/2023 at 06:39PM

444
#185 - oleg / @oleg12573505

01/29/2022 at 03:02PM