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

153 active golfers, 722 entries

Leaderboard (lowest score wins):
38
#91 - RosaTryp / @RosaTryp

03/10/2023 at 06:04PM

39
#92 - vimgolfleo / @vimgolfleo1

10/17/2021 at 11:28AM

39
#93 - A White Dwarf / @AWhiteDwarf1

12/03/2021 at 10:14PM

39
#94 - Irakli Chigvaria / @tchigvaria

06/24/2022 at 06:34PM

40
#95 - Scott Berger / @scottberger

09/24/2021 at 02:26PM

40
#96 - Michael Herring / @mayoroftuesday

12/06/2021 at 04:12PM

40
#97 - Omar Alawadhi / @OmarAla59544225

10/09/2022 at 11:44AM

40
#98 - Alex Oliveira / @AlexROliveira2

01/10/2023 at 04:02PM

41
#99 - MrRubiksSC / @RubiksSc

08/14/2021 at 01:44PM

41
#100 - thari.eth / @thari_eth

11/14/2021 at 06:22AM

42
#101 - enji / @enji_ja

09/21/2021 at 08:16PM

42
#102 - TimMcGuire / @mcguire

12/07/2021 at 12:45AM

44
#103 - Desentcare / @ashuyali

08/25/2022 at 02:03PM

45
#104 - Connor / @ronnocthered

08/15/2021 at 05:27AM

45
#105 - Ricardo / @Ricardo35589803

09/06/2021 at 06:47PM

45
#106 - Noise Official / @zmunk19

09/07/2021 at 08:05PM

45
#107 - Hydrazar / @scpchickenbird

11/14/2021 at 03:12PM

45
#108 - Milovan Zogovic / @zogash

11/19/2021 at 02:33PM

45
#109 - Erik Öjebo / @erikojebo

01/22/2022 at 10:53PM

46
#110 - Хью Джолли / @DzolliH

06/19/2022 at 08:26AM

47
#111 - damien / @GreatTestyTest

08/27/2021 at 08:39PM

47
#112 - ややお / @yayaoh

12/19/2021 at 03:02PM

47
#113 - jn / @j1357924

10/26/2022 at 01:39PM

48
#114 - math is what I hate / @mpnmbn

12/12/2021 at 12:05PM

48
#115 - ⚫ hgtp://Shifor 🛠️ / @shifor_gnome

02/28/2023 at 08:06PM

50
#116 - SwordSwordSwordBird / @SwordSwordBird

09/04/2021 at 05:59AM

50
#117 - Fedleder / @fedleder

04/25/2022 at 09:22AM

52
#118 - br_bookbinder / @br_bookbinder

08/14/2021 at 02:44AM

52
#119 - まじで≡すごい(mod🌗) / @i_wanna_be_a_jk

08/25/2021 at 05:57AM

52
#120 - Paul Page / @theRealPaulPage

01/21/2022 at 10:25PM