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 by @GavinKoeng:

Unlock 8 remaining solutions by signing in and submitting your own entry
Created by: @ctmusicnz

84 active golfers, 339 entries

Solutions by @GavinKoeng:
19
#23 - Gavin / @GavinKoeng

01/18/2026 at 08:28AM

20
#>39 - Gavin / @GavinKoeng

01/18/2026 at 08:27AM

21
#>44 - Gavin / @GavinKoeng

01/18/2026 at 08:27AM

22
#>52 - Gavin / @GavinKoeng

01/18/2026 at 08:26AM

23
#>59 - Gavin / @GavinKoeng

01/18/2026 at 08:24AM

26
#>72 - Gavin / @GavinKoeng

01/18/2026 at 08:22AM

26
#>72 - Gavin / @GavinKoeng

01/18/2026 at 08:23AM

49
#>84 - Gavin / @GavinKoeng

01/18/2026 at 08:19AM