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 189 remaining solutions by signing in and submitting your own entry
#190 Nicola Girardi / bruciasse - Score: 14 - 07/01/15 @ 09:28
$F/i\<Esc>;.;.;.ZZ

0 comments


#191 David Stensland / DavidStensland - Score: 14 - 07/01/15 @ 23:06
i\<Esc>xpf-.;.;.ZZ

0 comments


#192 Mike DeBruyn / djroot2 - Score: 14 - 07/03/15 @ 01:44
:s:/:\\/:g<CR><Esc>ZZ

0 comments


#193 Benny Wong / bdotdub - Score: 14 - 07/06/15 @ 19:11
a\<Esc>2l.2l.2l.ZZ

0 comments


#194 bc / _bcarrell - Score: 14 - 07/07/15 @ 19:17
$F/i\<Esc>;.;.;.ZZ

0 comments


#195 aisapatino / aisapatino - Score: 14 - 07/30/15 @ 04:57
a\<Right><Right>\<Right><Right>\<Right><Right>\<Esc>ZZ

0 comments


#196 Alexander Buntakov / Buntakov - Score: 14 - 07/30/15 @ 11:35
f/s\/<Esc>;.;.;.ZZ

0 comments


#197 gyermolenko / gyermolenko_ - Score: 14 - 08/14/15 @ 10:28
:s#\/#\\/#g<CR>ZZ

0 comments


#198 Mikołaj Morzy / MikolajMorzy - Score: 14 - 08/20/15 @ 09:03
:%s:/:\\/:g<CR>ZZ

0 comments


#199 Dawid retkiewicz / dawret - Score: 14 - 08/21/15 @ 11:08
qqf/i\<Esc><Right>q3@qZZ

0 comments


#200 Andrew Michaud / andrewjmichaud - Score: 14 - 09/04/15 @ 00:33
lqai\<Esc>3lq3@aZZ

0 comments


#201 0e4ef622 / 0e4ef622 - Score: 14 - 09/13/15 @ 16:10
a\<Esc>ll.ll.ll.ZZ

0 comments


#202 .さとうにるぽ引退.swp / nillpo - Score: 14 - 09/16/15 @ 01:23
qqf/i\<Esc>lq5@qZZ

0 comments


#203 Ben Vandervalk / benvvalk - Score: 14 - 09/19/15 @ 02:57
qqf/i\<Esc>lq3@qZZ

0 comments


#204 Slavisa Djukic / ssdjuka - Score: 14 - 10/01/15 @ 21:46
qef/i\<Esc>lq3@eZZ

0 comments


#205 Marcus Buffett / MarcusBuffett - Score: 14 - 10/05/15 @ 04:53
a\<Esc>2l.2l.2l.ZZ

0 comments


#206 Pin / ponfelipon - Score: 14 - 10/08/15 @ 17:23
a\<Esc><Right><Right>.<Right><Right>.<Right><Right>.ZZ

0 comments


#207 Stani Banani / Stani_Banani - Score: 14 - 10/14/15 @ 00:32
qq?/<CR>i\<Esc>q3@qZZ

0 comments


#208 Daniel Imhoff / dwieeb - Score: 14 - 10/24/15 @ 20:47
f/s\/<Esc>;.;.;.ZZ

0 comments


#209 h l / lonnez90 - Score: 14 - 12/08/15 @ 20:43
a\<Esc>ll.ll.ll.ZZ

0 comments


#210 Quatrix / Quatrix - Score: 14 - 08/10/16 @ 22:00
qqf/s\/<Esc>q9@qZZ

0 comments


#211 Kyouma / kyoumaJohn - Score: 14 - 10/14/16 @ 17:20
qqa\<Esc>2t/q3@qZZ

0 comments


#212 jn / j1357924 - Score: 14 - 10/19/16 @ 19:30
qqf/i\<Esc>lq3@qZZ

0 comments


#213 Marcel Akkerman / MarcelAkkerman - Score: 14 - 12/22/16 @ 12:17
qqf/i\<Esc>lq3@qZZ

0 comments


#214 Hans Yelek / hans_yelek - Score: 14 - 01/18/17 @ 04:47
?/<CR>i\<Esc>n.n.n.ZZ

0 comments


#215 Avian Y / y_avian - Score: 14 - 02/09/17 @ 14:22
$F/i\<Esc>;.;.;.ZZ

0 comments


#216 Márton Németh / nemarci42 - Score: 14 - 03/01/17 @ 12:57
$F/i\<Esc>;.;.;.ZZ

0 comments


#217 Jeff / RealJeffIrwin - Score: 14 - 12/20/17 @ 15:57
qqt/a\<Esc>lq3@qZZ

0 comments


#218 Luke Lee / luke0201 - Score: 14 - 05/06/18 @ 09:25
:s/\//\\&/g<CR>ZZ

0 comments


#219 Pomin Wu / pm5 - Score: 15 - 06/30/15 @ 10:07
:s/\//\\\//g<CR>ZZ

0 comments


#220 Hendrik Lammers / hendriklammers - Score: 15 - 07/01/15 @ 06:23
:s/\//\\\//g<CR>ZZ

0 comments


#221 teilersumme / teilersumme - Score: 15 - 07/08/15 @ 17:14
:s/\//\\\//g<CR>ZZ

0 comments


#222 Jonas Ng / jnshey - Score: 15 - 07/09/15 @ 13:58
$qq?/<CR>i\<Esc>q3@qZZ

0 comments


#223 Kyle Fuller / kylefuller - Score: 15 - 07/17/15 @ 01:57
i<Right>\<Right><Right>\<Right><Right>\<Right><Right>\<Esc>ZZ

0 comments


#224 vimgolf / myspare307 - Score: 15 - 07/17/15 @ 20:14
:s/\//\\\//g<CR>ZZ

0 comments


#225 McKay Ward / mckayward - Score: 15 - 07/26/15 @ 23:34
:s/\//\\\//g<CR>ZZ

0 comments


#226 Anshu Avinash / anshu_avinash - Score: 15 - 10/17/15 @ 22:12
:s/\//\\\//g<CR>ZZ

0 comments


#227 Gerald Tilma / GeraldTilma - Score: 15 - 10/18/15 @ 16:00
:s/\//\\\//g<CR>ZZ

0 comments


#228 Vaisian / Vaisian - Score: 15 - 07/08/16 @ 07:59
:s/\//\\\//g<CR>ZZ

0 comments


#229 Markus Bala / bala4901 - Score: 15 - 11/17/16 @ 01:33
$F/i\<Esc>;.;.;.<Esc>ZZ

0 comments


#230 Gurukandhamoorthi / Gurukandhamoor1 - Score: 15 - 07/11/17 @ 14:04
qqf/i\<Esc>llq3@qZZ

0 comments


#231 Peter / PeterHartshorn - Score: 15 - 03/28/18 @ 12:29
a\<Right><Right>\<Right><Right>\<Right><Right>\<Esc>:x<CR>

0 comments


#232 Mike McGowan / mikemcgowan75 - Score: 16 - 07/04/15 @ 06:02
:%s/\//\\\//g<CR>ZZ

0 comments


#233 J Andrew McCormick / jandrewmc - Score: 16 - 07/23/15 @ 19:35
a\<Right><Right>\<Right><Right>\<Right><Right>\<Esc>:wq<CR>

0 comments


#234 Hector Davensburg / hdavensburg - Score: 16 - 08/01/15 @ 16:28
f/i\<Right><Right>\<Right><Right>\<Right><Right>\<Esc>ZZ

0 comments


#235 Nicola A / aitkenster - Score: 17 - 07/29/15 @ 16:40
i<Right>\<Right><Right>\<Right><Right>\<Right><Right>\<Esc>:wq<CR>

0 comments


#236 Programmer Probs / ProgrammerProbs - Score: 18 - 06/30/15 @ 13:38
/\/<CR>i\<Esc>nn.nn.nn.ZZ

0 comments


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

0 comments


Created by: udioica

237 active golfers, 655 entries

Leaderboard (lowest score wins):
7
#1 - John Braxler / braxler

06/30/2015 at 06:01PM

7
#2 - Tim Chase / gumnos

06/30/2015 at 06:17PM

7
#3 - Assaf Lavie / AssafLavie

06/30/2015 at 06:27PM

7
#4 - Urtica dioica / udioica

06/30/2015 at 06:29PM

7
#5 - Mutter Mumble / muttermumble

06/30/2015 at 06:49PM

7
#6 - Petro Тrouq / zulolosi

06/30/2015 at 07:52PM

7
#7 - Alex Girdler / zraved

06/30/2015 at 10:36PM

7
#8 - John Stephens ⚑ / johnstephens

07/01/2015 at 04:38AM

7
#9 - pftb12345 / pftb12345

07/01/2015 at 05:30AM

7
#10 - Vim Viking / vim_viking

07/01/2015 at 10:49PM

7
#11 - raghu erapaneedi / raghue9

07/03/2015 at 09:42AM

7
#12 - Christopher Rhodes / crr0004

07/04/2015 at 06:37AM

7
#13 - Matthieu Crapet / mcr05

07/04/2015 at 07:58PM

7
#14 - Lifepillar / lifepillar

07/05/2015 at 03:01PM

7
#15 - Mike / creatre

07/06/2015 at 11:13PM

7
#16 - Jacob Niehus / wilywampa

07/07/2015 at 06:16AM

7
#17 - Louis Burke / LambdaABeta

07/07/2015 at 05:26PM

7
#18 - Elizabeth / sprinkles418

07/07/2015 at 06:40PM

7
#19 - Anton Davydov / anton_davydov

07/07/2015 at 08:24PM

7
#20 - Steve Tjoa / stevetjoa

07/08/2015 at 05:54PM

7
#21 - David Willming / wdialvmeo

07/09/2015 at 04:26AM

7
#22 - Smylers / Smylers2

07/10/2015 at 07:42AM

7
#23 - Steffen Köhler / Baertierchen

07/11/2015 at 09:33PM

7
#24 - S.Lebedev / drasgo

07/17/2015 at 01:25PM

7
#25 - James Pringle / mathbyjames

07/21/2015 at 08:26PM

7
#26 - Andreas Schlegel / andischl

07/26/2015 at 07:50PM

7
#27 - Ferdev vimgolf / fergvimgolf

08/07/2015 at 04:53AM

7
#28 - Veritas / _VeritasL

08/13/2015 at 05:43PM

7
#29 - Дима Давыдов / xaykot

08/14/2015 at 08:07PM

7
#30 - Nick Xiao / nicoster

08/18/2015 at 03:12PM