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):
23
#61 - キムラ・OPEL・ユウジ / @kimurayuuji79

10/13/2022 at 03:55AM

23
#62 - steve / @steve35773420

11/18/2022 at 06:25PM

23
#63 - qyACvBm9H8 / @QyBm9

12/04/2022 at 01:41AM

23
#64 - usermod / @g_usermod

02/10/2023 at 01:47PM

23
#65 - RosaTryp / @RosaTryp

03/15/2023 at 05:40PM

23
#66 - jasonlee / @jasonle61136657

03/30/2023 at 11:43PM

23
#67 - SRINIVASU SALADI / @SRINIVASUS22587

02/14/2025 at 02:06AM

24
#68 - Vinícius Hoyer / @viniciushoyer

11/20/2020 at 02:58PM

24
#69 - WhyIsThisFishInMyEar / @why_ear

11/21/2021 at 12:56AM

24
#70 - Joe Ellis / @joechrisellis

12/05/2021 at 04:38PM

24
#71 - Daniel Harding / @living_180

04/14/2022 at 05:05PM

24
#72 - 梅 / @umetosawara

05/04/2022 at 01:03PM

24
#73 - c3b277c3b3 / @c3b277c3b3

05/16/2022 at 01:07PM

24
#74 - z00master / @z00master

07/29/2022 at 09:58PM

24
#75 - Aliasf / @rammenmaster96

04/02/2023 at 07:28PM

24
#76 - uppercase reducer / @uppercasereduce

06/24/2023 at 04:35PM

24
#77 - UrbanNinja1010 / @UrbanNinja1010

04/07/2025 at 08:28AM

25
#78 - Sebastian W. / @Sebasti91439242

11/15/2020 at 09:19PM

25
#79 - X audio / @X_xaudio

05/31/2021 at 03:48AM

25
#80 - Pacific Grove / @frank_green_012

03/31/2023 at 06:39AM

25
#81 - sap / @sap38838304

04/28/2023 at 05:25AM

25
#82 - SmoggyFog / @SmoggyFog

05/30/2023 at 06:19PM

26
#83 - Mohammad Ali / @xMohammadAlix

07/12/2021 at 08:50AM

26
#84 - Auri Iodide / @auri_iodide

03/06/2022 at 01:18AM

27
#85 - Zach Tower / @realZachTower

01/17/2022 at 10:50PM

27
#86 - Xianhao Yu / @YXHXianYu

03/27/2024 at 07:42AM

27
#87 - xiaoao1024 / @xiaoao1024

05/09/2024 at 11:36AM

28
#88 - A White Dwarf / @AWhiteDwarf1

06/28/2021 at 06:23PM

28
#89 - Joe Bushi / @joebushi

12/01/2022 at 08:19PM

30
#90 - Matilda Amy / @Matilda_Amy2

03/30/2023 at 04:50PM