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

48 active golfers, 174 entries

Leaderboard (lowest score wins):
22
#31 - Brendan Schaenzer / @bschaenzer

09/30/2020 at 01:35PM

23
#32 - Chris Thompson / @ctmusicnz

07/29/2020 at 01:23AM

23
#33 - Golf Gopher / @GolfGopher3

08/17/2020 at 01:36PM

23
#34 - Sean Dewar / @seandewar

09/18/2020 at 04:07PM

23
#35 - :wq / @write_quit_22

05/19/2021 at 06:27PM

23
#36 - Leander Hendrikx / @leanderhendrikx

09/20/2021 at 12:24PM

24
#37 - Sam Houston / @shouston33

07/29/2020 at 10:09PM

24
#38 - Martin Kauppinen / @MartinKauppinen

08/15/2020 at 06:40PM

25
#39 - analogpixel / @analogp1xel

07/28/2020 at 11:11PM

25
#40 - Yasky / @Yaasky

09/01/2020 at 05:46PM

25
#41 - Stefan Kanev / @skanev

05/25/2021 at 07:58PM

26
#42 - Danila Kutenin / @Danlark1

09/17/2021 at 01:30PM

27
#43 - Maibritt Illner / @Maibritt_Illner

08/04/2020 at 06:57PM

28
#44 - pikjes / @pikjes2

03/21/2021 at 06:23PM

28
#45 - Rory Smith / @alan0buchanan

09/20/2021 at 11:31PM

29
#46 - tom / @marlow_th

05/07/2021 at 05:15AM

30
#47 - abhijeet patil / @abhijeetptl5

09/04/2020 at 10:00AM

39
#48 - mindgitrwx / @mindgitrwx

08/05/2020 at 10:52AM