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):
7
#61 - Abdullah / @dada3mn

08/11/2016 at 05:59AM

7
#62 - Will / @obiwan__k3n00bi

08/30/2016 at 06:43AM

7
#63 - jdupont655 / @jdupont655

09/02/2016 at 05:02PM

7
#64 - Stephen Aument / @saument

09/04/2016 at 04:13AM

7
#65 - trx / @trxdbg

10/13/2016 at 01:31PM

7
#66 - Constantine / @ConstantineHatz

10/18/2016 at 03:41AM

7
#67 - Roey Berman / @ManBergundyPig

11/23/2016 at 02:56PM

7
#68 - swarkEafs / @EafsSwark

12/16/2016 at 03:40PM

7
#69 - Saki Gw / @Sakigw

01/28/2017 at 02:17AM

7
#70 - Yann / @yannstad

02/25/2017 at 02:09AM

7
#71 - Zhihong Liu / @pieapple03

02/28/2017 at 03:29PM

7
#72 - Solomon / @Trugbildjaeger

04/15/2017 at 02:14PM

7
#73 - 梧桐王子 / @WutongYujie

05/07/2017 at 03:41AM

7
#74 - Remus Dalrymple / @bornintheflames

05/07/2017 at 10:26AM

7
#75 - MS / @schrectacular

06/09/2017 at 04:31PM

7
#76 - Plop plop / @plopplopplop6

08/08/2017 at 06:39PM

7
#77 - Turkey Man / @lvturkeyman

11/13/2017 at 01:11PM

7
#78 - Arijus / @argshook

02/05/2018 at 01:00PM

7
#79 - ParasamGateZero / @ParasamGateZero

02/20/2018 at 02:05AM

7
#80 - Daniël De Koker / @daniel_koker

07/04/2018 at 08:03AM

7
#81 - Dax / @zacoxi

11/16/2018 at 09:12AM

7
#82 - alekfed / @alek_fed

04/15/2019 at 07:56PM

7
#83 - majo senf / @majo_senf

06/21/2019 at 11:46AM

7
#84 - vimgolfer / @vimgolfer7

10/04/2019 at 01:16AM

7
#85 - Miłosz Łakomy / @foobar01123

12/01/2019 at 04:19PM

7
#86 - relastle / @relastle

03/30/2020 at 04:51AM

7
#87 - RockerZZY / @rocker_zzy

06/15/2020 at 11:32PM

7
#88 - 김범준 / @kmbmjn

05/11/2021 at 02:28AM

7
#89 - pikjes / @pikjes2

07/16/2021 at 05:44PM

7
#90 - Jean George / @JeanGeo20504212

12/17/2021 at 09:13PM