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 55926044bbcb9851bc000001

Mirror Symmetry

Add backslashes.

Start file
|/-/-/-/|
End file
|\/-\/-\/-\/|

View Diff

1c1
< |/-/-/-/|
---
> |\/-\/-\/-\/|

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 267 remaining solutions by signing in and submitting your own entry
#268 Programmer Probs / @ProgrammerProbs - Score: 18 - 06/30/15 @ 13:38
/\/<CR>i\<Esc>nn.nn.nn.ZZ

0 comments


#269 mikebailey / @mikebailey - Score: 18 - 07/01/15 @ 04:45
:%s/\//\\\//g<CR>:wq<CR>

0 comments


Created by: @udioica

269 active golfers, 822 entries

Leaderboard (lowest score wins):
12
#151 - Marcin Szamotulski / @me_coot

08/16/2015 at 01:23PM

12
#152 - Jaypal Singh / @JaypalSingh

08/18/2015 at 09:00PM

12
#153 - Sergey Semushin / @Predelnik

08/29/2015 at 08:20AM

12
#154 - Nicholas Marrone / @nickmarrone

09/07/2015 at 03:37PM

12
#155 - Yaroslav Kanarev / @yarosurabu

09/08/2015 at 04:36PM

12
#156 - Léo S / @LeoSauvaget

09/25/2015 at 06:56PM

12
#157 - Mikael Saltzman / @MikaelSaltzman

09/25/2015 at 11:46PM

12
#158 - AD / @Lievr0

11/21/2015 at 03:06PM

12
#159 - Carlos A Henríquez Q / @lagunex

03/13/2016 at 01:39PM

12
#160 - Andres Araya / @arayaandresfco

05/16/2016 at 02:22AM

12
#161 - Jeremiah Goyette / @JeremiahGoyette

08/02/2016 at 05:06AM

12
#162 - George Angelopoulos / @g_usermod

08/06/2016 at 01:05PM

12
#163 - Samuel Damashek / @SamuelDamashek

05/19/2017 at 07:52PM

12
#164 - Carl Egbert / @CarlOEgbert

06/14/2017 at 02:55AM

12
#165 - Jacob Buete / @JBuete

07/03/2017 at 12:30PM

12
#166 - Jon Bakies / @jonbakies

10/05/2017 at 08:06PM

12
#167 - Bart Reynolds / @bartums

04/07/2018 at 08:22PM

12
#168 - Ivo Blöchliger / @aigledesalpes

08/15/2019 at 07:32PM

12
#169 - Aaron / @_Lordofthevoid_

12/06/2019 at 01:57PM

12
#170 - vimgolfaccfekxh / @vimgolfaccfekxh

10/30/2022 at 09:28PM

13
#171 - 許肇南 / @dh3014

06/30/2015 at 10:18AM

13
#172 - Geoff Gu / @geoff_gu

06/30/2015 at 11:40AM

13
#173 - Anoop Kumar / @anooplive

06/30/2015 at 12:14PM

13
#174 - Eduardo / @earada

06/30/2015 at 01:29PM

13
#175 - Lieven Keersmaekers / @LievenKeersmaek

06/30/2015 at 06:21PM

13
#176 - lumi / @lumi_woking

07/01/2015 at 06:03PM

13
#177 - Mathew Abado / @MathewAbado

07/02/2015 at 12:43AM

13
#178 - Thnikkaman / @nabrahamson

07/02/2015 at 01:43PM

13
#179 - Connor Osborn / @connor_osborn

07/03/2015 at 04:51AM

13
#180 - Stefan Knudsen / @knud32

07/05/2015 at 03:33PM