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

82 active golfers, 328 entries

Leaderboard (lowest score wins):
24
#61 - キムラ・OPEL・ユウジ / @kimurayuuji79

11/08/2022 at 09:00AM

24
#62 - RosaTryp / @RosaTryp

03/13/2023 at 06:12PM

24
#63 - nickGPT / @nickandbro

08/24/2024 at 04:44AM

25
#64 - analogpixel / @analogp1xel

07/28/2020 at 11:11PM

25
#65 - Yāsky / @Yaasky

09/01/2020 at 05:46PM

25
#66 - Stefan Kanev / @skanev

05/25/2021 at 07:58PM

25
#67 - Frédéric Heulin / @talineo

12/01/2023 at 05:23PM

26
#68 - Danila Kutenin / @Danlark1

09/17/2021 at 01:30PM

26
#69 - Alira / @Alira_1

12/21/2021 at 04:50PM

26
#70 - Patrick Hereford / @phereford

04/04/2022 at 01:09PM

27
#71 - Maibritt Illner / @Maibritt_Illner

08/04/2020 at 06:57PM

27
#72 - x03n046 / @x03n046

05/20/2022 at 09:07AM

27
#73 - Elliot Schemmel / @regulated

10/09/2024 at 01:41PM

28
#74 - pikjes / @pikjes2

03/21/2021 at 06:23PM

28
#75 - Rory Smith / @alan0buchanan

09/20/2021 at 11:31PM

28
#76 - Auri Iodide / @auri_iodide

03/06/2022 at 07:41AM

28
#77 - Olivier Bégassat / @zk_evm

06/11/2023 at 06:49PM

29
#78 - tom / @marlow_th

05/07/2021 at 05:15AM

29
#79 - math is what I hate / @mpnmbn

03/13/2022 at 02:42PM

30
#80 - abhijeet patil / @abhijeetptl5

09/04/2020 at 10:00AM

31
#81 - aravindthangavel / @aravindpt

04/11/2022 at 02:36AM

39
#82 - mindgitrwx / @mindgitrwx

08/05/2020 at 10:52AM