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 5fad35a736518b000960caef

Put a cross in the square

Put a cross in the square

Start file
--------
|      |
|      |
|      |
|      |
|      |
|      |
--------
End file
--------
|\    /|
| \  / |
|  \/  |
|  /\  |
| /
 \ |
|/    \|
--------

View Diff

2,7c2,7
< |      |
< |      |
< |      |
< |      |
< |      |
< |      |
---
> |\    /|
> | \  / |
> |  \/  |
> |  /\  |
> | /
 \ |
> |/    \|

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 90 remaining solutions by signing in and submitting your own entry
#91 Spam Mail / @mrfdot - Score: 52 - 05/26/23 @ 01:31
jlr\jlr\jlr\jr/jhr/jhr/lllllr\khr\kh\r\kr/klr/klr/ZZ

0 comments


Created by: @rax0m

91 active golfers, 228 entries

Leaderboard (lowest score wins):
22
#31 - Julian Pottle / @jules_np

10/12/2021 at 05:37AM

22
#32 - Jean George / @JeanGeo20504212

10/19/2021 at 06:04PM

22
#33 - RezmeD / @rezmed0

10/30/2021 at 10:01AM

22
#34 - Christopher Williams / @chrstphrsnw

12/17/2021 at 10:36PM

22
#35 - Subsector3174 / @subsector3174

11/06/2022 at 11:29PM

22
#36 - Selvaganapathy P / @canabady

04/25/2023 at 11:20AM

22
#37 - 李建宏 / @xx19971016

08/31/2023 at 08:27AM

22
#38 - Ludovic Schwartz / @ludovicschwartz

11/20/2023 at 02:03PM

23
#39 - Ceda EI / @ceda_ei

11/12/2020 at 02:02PM

23
#40 - Jake Grossman / @PiranaLaugh

11/12/2020 at 04:01PM

23
#41 - Rafal C. / @RafalC37709324

11/14/2020 at 09:50AM

23
#42 - "Smylers" / @Smylers2

11/14/2020 at 10:50AM

23
#43 - Jonáš Šerých / @serycjon

11/15/2020 at 06:12PM

23
#44 - Jan Lukány / @Lukanyj

11/17/2020 at 10:22PM

23
#45 - quemeraisc / @quemeraisc

11/20/2020 at 08:07AM

23
#46 - Leander Hendrikx / @leanderhendrikx

11/22/2020 at 11:03AM

23
#47 - __VimGolfer__ / @VimGolfer19

11/27/2020 at 06:56PM

23
#48 - chocolate / @chocola81394123

11/29/2020 at 04:55AM

23
#49 - hepebexè / @hepebexe

11/30/2020 at 06:31PM

23
#50 - Fake Konto / @F4k3K0n70

02/14/2021 at 05:48PM

23
#51 - 김범준 / @kmbmjn

02/17/2021 at 05:52AM

23
#52 - Tuure / @tuure_p

03/22/2021 at 02:37AM

23
#53 - Eric Söderström / @eksoderstrom

03/26/2021 at 03:53PM

23
#54 - Kurtis D. Miller / @phdkurt

05/26/2021 at 05:27PM

23
#55 - grsh / @girish_i_am

05/27/2021 at 08:40AM

23
#56 - Sebastien Nicoud / @sebnukem

07/19/2021 at 01:25AM

23
#57 - mevmev / @mevmev8

09/04/2021 at 12:32PM

23
#58 - x03n046 / @x03n046

05/23/2022 at 09:05AM

23
#59 - brett / @brettyukich

08/12/2022 at 03:33PM

23
#60 - Desentcare / @ashuyali

08/25/2022 at 06:43AM