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

0 comments


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

0 comments


Created by: @udioica

262 active golfers, 781 entries

Leaderboard (lowest score wins):
12
#151 - Mikael Saltzman / @MikaelSaltzman

09/25/2015 at 11:46PM

12
#152 - AD / @Lievr0

11/21/2015 at 03:06PM

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

03/13/2016 at 01:39PM

12
#154 - Andres Araya / @arayaandresfco

05/16/2016 at 02:22AM

12
#155 - Jeremiah Goyette / @JeremiahGoyette

08/02/2016 at 05:06AM

12
#156 - George Angelopoulos / @g_usermod

08/06/2016 at 01:05PM

12
#157 - Samuel Damashek / @SamuelDamashek

05/19/2017 at 07:52PM

12
#158 - Carl Egbert / @CarlOEgbert

06/14/2017 at 02:55AM

12
#159 - Jacob Buete / @JBuete

07/03/2017 at 12:30PM

12
#160 - Jon Bakies / @jonbakies

10/05/2017 at 08:06PM

12
#161 - Bart Reynolds / @bartums

04/07/2018 at 08:22PM

12
#162 - Ivo Blöchliger / @aigledesalpes

08/15/2019 at 07:32PM

12
#163 - Aaron / @_Lordofthevoid_

12/06/2019 at 01:57PM

13
#164 - 許肇南 / @dh3014

06/30/2015 at 10:18AM

13
#165 - Geoff Gu / @geoff_gu

06/30/2015 at 11:40AM

13
#166 - Anoop Kumar / @anooplive

06/30/2015 at 12:14PM

13
#167 - Eduardo / @earada

06/30/2015 at 01:29PM

13
#168 - Lieven Keersmaekers / @LievenKeersmaek

06/30/2015 at 06:21PM

13
#169 - lumi / @lumi_woking

07/01/2015 at 06:03PM

13
#170 - Mathew Abado / @MathewAbado

07/02/2015 at 12:43AM

13
#171 - Thnikkaman / @nabrahamson

07/02/2015 at 01:43PM

13
#172 - Connor Osborn / @connor_osborn

07/03/2015 at 04:51AM

13
#173 - Stefan Knudsen / @knud32

07/05/2015 at 03:33PM

13
#174 - Cakejoke / @Cakejoke

07/05/2015 at 04:32PM

13
#175 - Samuel Masuy / @samasuy

07/05/2015 at 07:06PM

13
#176 - Shizukesa / @Shizukesa

07/06/2015 at 10:09PM

13
#177 - simonced / @simonced

07/07/2015 at 02:08PM

13
#178 - Agostino Hernandez / @vimagostino

07/08/2015 at 06:08PM

13
#179 - luffy / @raxcoi

07/11/2015 at 09:52PM

13
#180 - Olik / @oli33k

07/15/2015 at 01:10PM