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

Turn the x

Turn the x to a +

Start file
\     /
 \   /
  \ /
   X
  / \
 /   \
/     \
End file
   |
   |
   |
---+---
   |
   |
   |

View Diff

1,7c1,7
< \     /
<  \   /
<   \ /
<    X
<   / \
<  /   \
< /     \
---
>    |
>    |
>    |
> ---+---
>    |
>    |
>    |

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 50 remaining solutions by signing in and submitting your own entry
#51 mindgitrwx / @mindgitrwx - Score: 39 - 08/05/20 @ 10:52
7dda   \<BS>|<Esc>yy6pjjI---r+<BS><BS>+---<Esc>lxI<BS><BS><BS><Esc>ZZ

0 comments


Created by: @ctmusicnz

51 active golfers, 190 entries

Leaderboard (lowest score wins):
19
#1 - Tanzeel Kazi / @tanzeelkazi

08/12/2020 at 10:34PM

19
#2 - Saki Gw / @Sakigw

08/18/2020 at 07:17AM

19
#3 - Tom Dalling / @tom_dalling

08/31/2020 at 02:20PM

19
#4 - speisz / @speiszc

09/05/2020 at 10:21PM

19
#5 - John Braxler / @braxler

01/28/2021 at 07:23PM

19
#6 - AAbraxas / @AAbraxas1

02/08/2021 at 07:14PM

19
#7 - Paul McDowell / @191_paul

05/11/2021 at 07:17PM

19
#8 - Ray Dennis / @raysden

05/19/2021 at 03:21PM

19
#9 - Max Mossberg / @mxmossy

06/30/2021 at 05:37PM

19
#10 - Miłosz Łakomy / @foobar01123

07/13/2021 at 09:17AM

19
#11 - Hourann Lin / @HourannLin

08/05/2021 at 10:42AM

19
#12 - Roman Privalov / @RomanPrivalov

08/30/2021 at 01:26PM

19
#13 - Hydrazar / @hydrazar

11/14/2021 at 10:52PM

20
#14 - Jon Krause / @jkrause314

07/29/2020 at 04:19AM

20
#15 - Daniel Steinberg / @dstein64

07/29/2020 at 05:47AM

20
#16 - Smylers / @Smylers2

07/29/2020 at 06:00AM

20
#17 - Petro Тrouq / @zulolosi

07/30/2020 at 05:49PM

20
#18 - Martin Bielik / @mabielik

08/10/2020 at 07:25PM

20
#19 - roudens / @roudens2

01/29/2021 at 01:39AM

20
#20 - Jung Yeon Park / @park_jungy

02/01/2021 at 06:32PM

20
#21 - treb / @treb03683130

03/11/2021 at 05:35AM

20
#22 - Tuure / @tuure_p

03/22/2021 at 02:07AM

20
#23 - wex / @wex12923175

03/28/2021 at 07:11PM

20
#24 - I_Don't_Want_This_Account / @IDontWa59298038

07/15/2021 at 03:02AM

20
#25 - Jean George / @JeanGeo20504212

11/21/2021 at 11:23PM

21
#26 - Tinko Minko / @tandikula

08/10/2020 at 06:24AM

21
#27 - TimMcGuire / @mcguire

08/13/2020 at 02:38PM

21
#28 - Roger Stoltz / @rogsto1

10/17/2020 at 11:32AM

22
#29 - Coded / @coded_nz

07/29/2020 at 01:22AM

22
#30 - Olle Wiklund / @Kabix

07/31/2020 at 08:41AM