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

64 active golfers, 245 entries

Leaderboard (lowest score wins):
29
#61 - math is what I hate / @mpnmbn

03/13/2022 at 02:42PM

30
#62 - abhijeet patil / @abhijeetptl5

09/04/2020 at 10:00AM

31
#63 - aravindthangavel / @aravindpt

04/11/2022 at 02:36AM

39
#64 - mindgitrwx / @mindgitrwx

08/05/2020 at 10:52AM