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):
19
#31 - scpchicken / @scpchick

10/18/2023 at 06:30AM

19
#32 - tien / @tien40766111

11/17/2023 at 10:18AM

19
#33 - Remus Dalrymple / @bornintheflames

01/01/2024 at 10:34PM

19
#34 - jeffreymrussell / @jeffreymrussell

01/05/2024 at 12:00PM

19
#35 - Peppa Pig / @PeppaPigSg

06/02/2024 at 06:20AM

19
#36 - Berel94 / @Berel94

11/30/2024 at 08:33PM

20
#37 - Jon Krause / @jkrause314

08/13/2021 at 05:45PM

20
#38 - Maksim / @its_terra

08/15/2021 at 02:31PM

20
#39 - AAbraxas / @AAbraxas1

08/16/2021 at 12:24PM

20
#40 - Quentin Leroy / @qnleroy

08/22/2021 at 08:18AM

20
#41 - Tinko Minko / @tandikula

09/24/2021 at 05:50AM

20
#42 - Jean George / @JeanGeo20504212

10/19/2021 at 04:10PM

20
#43 - Sammit / @somemeatjain

01/25/2022 at 06:07PM

20
#44 - Даня Ефимов / @Abberatus

02/10/2022 at 04:06PM

20
#45 - BowTiedCoin / @BowTiedCoin

02/11/2022 at 12:00PM

20
#46 - Youssef Magdy / @youssef_magdy29

04/28/2022 at 05:29AM

20
#47 - sdfghjk / @sdfghjk88424595

05/19/2022 at 04:28PM

20
#48 - Ivan Trepakov / @liontiger23

12/30/2022 at 07:06PM

20
#49 - naka / @nak38223985244

07/02/2023 at 12:31PM

20
#50 - Luoyb / @Luoyb

10/23/2023 at 01:34AM

20
#51 - Aly Thobani / @alythobani

04/05/2024 at 11:34PM

20
#52 - Lennart / @lennartack

05/04/2024 at 11:32AM

22
#53 - garry quested / @GQuested

08/24/2021 at 08:38AM

22
#54 - mevmev / @mevmev8

09/19/2021 at 07:44PM

22
#55 - hamb / @hamb88140219

03/25/2022 at 05:15AM

23
#56 - Lisa Ugray / @lisa_ugray

08/17/2021 at 01:26PM

23
#57 - Tars / @cnTars

10/13/2021 at 12:31PM

24
#58 - Fabio Ortega / @_Ortega

04/05/2023 at 06:52PM

25
#59 - Baxter / @Baxter79512802

11/14/2021 at 03:29PM

25
#60 - 深窓の令嬢@ドクター / @arbino1031

11/23/2021 at 02:25PM