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 54345d14d529ef0002227d4c

That hyphen

"vim vi improved"

Start file
(vim -
vi
improved)
(vim
vi
improved)
End file
vim vi improved
(vim -
vi
improved)
(vim
vi
improved)

View Diff

0a1
> vim vi improved

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 412 remaining solutions by signing in and submitting your own entry
#413 Nicolas Dascanio / NicoDascanio - Score: 14 - 11/27/14 @ 12:44
4G3YggPxJJ$xZZ

0 comments


#414 aaron sullivan / aaronsull - Score: 14 - 11/29/14 @ 23:18
2yjPxf-xJJ$xZZ

0 comments


#415 Bernardo Amorim / BernardoDCGA - Score: 14 - 12/31/14 @ 04:03
3yyPx$xJ$J$xZZ

0 comments


#416 Raynard, Jordan / raynard_jordan - Score: 14 - 01/14/15 @ 13:51
3jdi(u<C-Left>O<Esc>pJJZZ

0 comments


#417 SilentFl / Silent_Fl - Score: 14 - 01/27/15 @ 07:43
JJYuuPxwxx$xZZ

0 comments


#418 沸腾钢 / tobecloud - Score: 14 - 02/08/15 @ 10:08
Ov<C-N> vi i<C-N><Esc>:wq<CR>

0 comments


#419 Marcin Brański / 3h4xx - Score: 14 - 03/10/15 @ 15:59
y3yPxJbxxJ$xZZ

0 comments


#420 BartJanssen / BartJanssen - Score: 14 - 03/13/15 @ 07:43
y3yPxf-xJJ$xZZ

0 comments


#421 Jay Pfaffman / pfaffman - Score: 14 - 04/27/15 @ 19:37
l4ywhO<Esc>p$xJJZZ

0 comments


#422 Rolf / liffon - Score: 14 - 04/28/15 @ 20:21
GyibggO<C-O>p<Esc>JJZZ

0 comments


#423 Jonas Ng / jnshey - Score: 14 - 05/26/15 @ 15:13
yi(O<Esc>pwxVjjJZZ

0 comments


#424 Kevin Knox / kevinrknox - Score: 14 - 05/26/15 @ 17:55
3yyPxf-xJJ$xZZ

0 comments


#425 mat / matgeist - Score: 14 - 06/02/15 @ 18:07
3jyi)ggO<Esc>PJJZZ

0 comments


#426 Hervé Rouault / hrouault - Score: 14 - 06/12/15 @ 21:52
y2jPxJ<BS>xxJ$xZZ

0 comments


#427 raghu erapaneedi / raghue9 - Score: 14 - 06/19/15 @ 12:58
GyibggO<C-O>p<Esc>JJZZ

0 comments


#428 darookee / darookee - Score: 14 - 07/24/15 @ 09:44
yi(O<Esc>P3J2b2xZZ

0 comments


#429 alex / alexAngle8 - Score: 14 - 08/23/15 @ 06:30
3jyi(ggO<Esc>pJJZZ

0 comments


#430 Jesse Atkinson / jsatk - Score: 14 - 08/29/15 @ 03:48
GyibggO<C-O>p<Esc>JJZZ

0 comments


#431 AD / Lievr0 - Score: 14 - 11/21/15 @ 14:32
3YP3J0xw..$.ZZ

0 comments


#432 h l / lonnez90 - Score: 14 - 12/03/15 @ 01:36
y2jPxJhxxJ$xZZ

0 comments


#433 twenty2twoss / twenty2twoss - Score: 14 - 01/20/16 @ 18:17
3yyPxf-x3J$xZZ

0 comments


#434 Pratap Koritala / pratap_koritala - Score: 14 - 02/21/16 @ 05:52
y3yPxJbxxJ$xZZ

0 comments


#435 John Brown / ThisIsJohnBrown - Score: 14 - 03/06/16 @ 04:24
y3yPxJhxxJ$xZZ

0 comments


#436 M S / b1790037 - Score: 14 - 03/15/16 @ 18:03
yi(O<Esc>P3J2bxxZZ

0 comments


#437 Dinesh Bhosale / MrDineshBhosale - Score: 14 - 03/30/16 @ 22:30
y3yPxf-xJJ$xZZ

0 comments


#438 Ryan Dwyer / ryan_dwyer - Score: 14 - 06/05/16 @ 21:46
y/(<CR>PxJXXJ$xZZ

0 comments


#439 Micha / michman89 - Score: 14 - 08/12/16 @ 10:02
3j3Y{Px3J$x:x<CR>

0 comments


#440 Nome / sensorario - Score: 14 - 12/13/16 @ 06:21
Ovim vi im<C-N><Esc>ZZ

0 comments


#441 Patrick Sanan / patricksanan - Score: 14 - 02/20/17 @ 13:36
3yyPxf-xJJ$xZZ

0 comments


#442 Brandon Height / Lask0x - Score: 14 - 08/08/17 @ 03:52
3yyPx$xJ$J$xZZ

0 comments


#443 Jeff / RealJeffIrwin - Score: 14 - 10/09/17 @ 18:51
2yjPxf-xJJ$xZZ

0 comments


#444 Luke Parsons / lukeparsons - Score: 14 - 12/28/17 @ 13:42
2yjPxf-xJJ$xZZ

0 comments


#445 Dennis Burke / ikirudennis - Score: 14 - 02/25/18 @ 14:53
y2jPxf-xJJ$xZZ

0 comments


#446 Oliver Christ / 0liverChrist - Score: 15 - 10/09/14 @ 21:34
4GVGyggPxJJ<End>xZZ

0 comments


#447 Patrick Mitchell / jpmitche11 - Score: 15 - 10/10/14 @ 00:46
y3yP3J_xwxx$xZZ

0 comments


#448 Marcin Sza / coot_ - Score: 15 - 10/10/14 @ 20:13
3YPxf-dw2JJ$DZZ

0 comments


#449 Michael Daffin / James14790 - Score: 15 - 10/14/14 @ 10:15
Gyi(ggO<Esc>`ppJJZZ

0 comments


#450 David Asabina / vidbina - Score: 15 - 10/16/14 @ 18:54
4G3yy1GPxJJ$xZZ

0 comments


#451 Aaron Lebahn / cplusplus - Score: 15 - 10/18/14 @ 00:00
2yjPxJXxJ$x:wq<CR>

0 comments


#452 ЕвгенийВ / imater - Score: 15 - 10/27/14 @ 05:00
y3yP3J_xwxx$xZZ

0 comments


#453 JamesT / jamestrinklein - Score: 15 - 11/07/14 @ 19:13
y3yP3J_xwxx$xZZ

0 comments


#454 Jason Wolf / zephyr_wolf - Score: 15 - 11/14/14 @ 20:00
3YPx3JA<BS><Esc>F-2xZZ

0 comments


#455 jake romer / notjakeromer - Score: 15 - 11/20/14 @ 09:42
3YPx3JA<BS><Esc>F-2xZZ

0 comments


#456 Katie Li / ryfgvb - Score: 15 - 11/28/14 @ 21:25
4G3yy1GPxJJ$xZZ

0 comments


#457 Michael Leong / mhwleong - Score: 15 - 12/03/14 @ 15:41
2yjPxJXxJ$x:wq<CR>

0 comments


#458 Jordana Lachow / TomofBedlam - Score: 15 - 12/28/14 @ 20:58
3YPx3JA<BS><Esc>F-2xZZ

0 comments


#459 Eric Biven / EricBiven - Score: 15 - 12/31/14 @ 22:00
y3yP3J_xwxx$xZZ

0 comments


#460 Gideon VanRiette / gidjv - Score: 15 - 03/05/15 @ 19:13
:4,6y<CR>Px3JA<BS><Esc>ZZ

0 comments


#461 Jack Z / itszhou - Score: 15 - 06/28/15 @ 16:24
:4,6y<CR>P3J$x0xZZ

0 comments


#462 Stani Banani / Stani_Banani - Score: 15 - 10/17/15 @ 22:18
y3yP3J$x0xwxxZZ

0 comments


#463 Gerald Tilma / GeraldTilma - Score: 15 - 10/18/15 @ 16:14
4GyGggPJJ$x0xZZ

0 comments


#464 abbystasja / abbystasja - Score: 15 - 12/21/15 @ 23:26
3<Down>3yyggPx3J$xZZ

0 comments


#465 David Stolfo / david_stolfo - Score: 15 - 01/06/16 @ 18:02
3yyP3J0xwxx$xZZ

0 comments


#466 John Martinsson / Darksoox - Score: 16 - 10/10/14 @ 15:29
4Gyi(ggPJJea<CR><Esc>ZZ

0 comments


#467 Alex Birdsall / OilCanSamson - Score: 16 - 12/17/14 @ 03:44
yi(O<Esc>p3V:j<CR>WdwZZ

0 comments


#468 Jake Eskel / JakeEskel - Score: 16 - 12/28/14 @ 20:50
Gyi(ggPJJf(i<CR><Esc>ZZ

0 comments


#469 chvzvhn / chvzvhn - Score: 16 - 04/02/15 @ 03:12
:4,6t0<CR>kkxJJ$xZZ

0 comments


#470 Hendrik Lammers / hendriklammers - Score: 16 - 05/07/15 @ 19:22
GyibggO<C-R>"<Esc>2k3JZZ

0 comments


#471 Agostino Hernandez / vimagostino - Score: 16 - 07/08/15 @ 18:40
3j3yyggP3J$x0xZZ

0 comments


#472 Marcus Buffett / MarcusBuffett - Score: 16 - 10/05/15 @ 04:58
3YPJJA<BS><Esc>F-2x0xZZ

0 comments


#473 Alexander Ryzhikov / Coobaha - Score: 16 - 01/15/16 @ 13:40
4G3YHP3%J.$x0xZZ

0 comments


#474 Nelson Zhang / Fasoters - Score: 16 - 05/24/17 @ 01:18
y3yPJJ0xf-xx$xZZ

0 comments


#475 Kaydo Alders / Yousousen - Score: 16 - 03/13/18 @ 17:07
3yyPJJ$xF-..0.ZZ

0 comments


#476 CY / wongcy0 - Score: 17 - 10/17/14 @ 22:41
3jV2jyggPJJ<Home>x<End>xZZ

0 comments


#477 Владимир Оберемок / Nihtalak - Score: 17 - 10/25/14 @ 20:19
3yyPJJ0xf-2xf)xZZ

0 comments


#478 Mikael Evander / mikael_evander - Score: 17 - 11/04/14 @ 12:23
*yi(ggPJJf(i<CR><Esc>ZZ<NL>

0 comments


#479 Jens Weggemann / JensWeggemann - Score: 17 - 11/27/14 @ 08:03
GvibyggPJJwwi<CR><Esc>ZZ

0 comments


#480 Kyle Nesslein / knessl - Score: 17 - 10/02/15 @ 16:43
3jv%yggPxJJf)r<CR>ZZ

0 comments


#481 Dan Oneata / DanOneata - Score: 17 - 05/15/16 @ 15:30
4jyi(ggPJJf(i<CR><Esc>ZZ

0 comments


#482 Shizukesa / Shizukesa - Score: 18 - 07/06/15 @ 22:49
4jyibgg0PJJf(i<CR><Esc>ZZ

0 comments


#483 Christopher Wells / ExcaliburZero_Z - Score: 18 - 12/19/15 @ 14:41
3GveyHOvim vi <Esc>pZZ

0 comments


#484 F Prades Illanes / fprades - Score: 19 - 10/23/14 @ 10:53
Ovim vi improved<Esc>ZZ

0 comments


#485 Jan Novak / odpadnimail - Score: 19 - 11/18/14 @ 23:46
Ovim vi improved<Esc>ZZ

0 comments


#486 Akira Sasaki / hikomimo - Score: 19 - 11/20/14 @ 03:52
Ovim vi improved<Esc>ZZ

0 comments


#487 Edmundo Perez / ingedmundo - Score: 19 - 12/03/14 @ 15:33
Ovim vi improved<Esc>ZZ

0 comments


#488 Rao Zvorovski / RaoZvorovski - Score: 19 - 12/05/14 @ 11:07
Ovim vi improved<Esc>ZZ

0 comments


#489 luffy / raxcoi - Score: 19 - 12/16/14 @ 09:48
Ovim vi improved<Esc>ZZ

0 comments


#490 Adam Redfern / AdmRedfern - Score: 19 - 12/22/14 @ 16:31
Ovim vi improved<Esc>ZZ

0 comments


#491 きよ / Mr_kiyo - Score: 19 - 12/31/14 @ 02:48
Ovim vi improved<Esc>ZZ

0 comments


#492 Yuan Guan / yuanguan89 - Score: 19 - 03/02/15 @ 05:47
Ovim vi improved<Esc>ZZ

0 comments


#493 Maxime / Maxime_VII - Score: 19 - 06/23/15 @ 14:39
Ovim vi improved<Esc>ZZ

0 comments


#494 Mika .B / Michael_Ben_Ali - Score: 19 - 09/11/15 @ 13:15
Ovim vi improved<Esc>ZZ

0 comments


#495 Eitan Burcat / eburcat - Score: 19 - 05/11/16 @ 18:55
Ovim vi improved<Esc>ZZ

0 comments


#496 wall2flower / wall2flower - Score: 19 - 06/04/16 @ 18:13
Ovim vi improved<Esc>ZZ

0 comments


#497 Ben Baker-Smith / Bit_Synthesis - Score: 19 - 07/17/16 @ 06:08
Ovim vi improved<Esc>ZZ

0 comments


#498 Ryan van Rensburg / rdvr001 - Score: 19 - 07/21/16 @ 10:17
:4,6t0<CR>:1,3j<CR>%x0xZZ

0 comments


#499 Pierre Stévens / pierre_stv - Score: 19 - 11/04/17 @ 09:40
Ovim vi improved<Esc>ZZ

0 comments


#500 木下 和巳@意識低い勢 / warugaki_kazumi - Score: 20 - 10/20/14 @ 05:40
Ovim vi improved<Esc>:x<CR>

0 comments


#501 Jonathan Jin / jjin082693 - Score: 20 - 11/17/14 @ 17:14
:4,6y<CR>PxJJA<BS><Esc>:w<CR>:wq<CR>

0 comments


#502 Doru-Mihai Muntean / dorumihai - Score: 20 - 12/01/16 @ 23:05
Gvi(yggO<C-R>0<Esc>ggJJ<Esc>:wq<CR>

0 comments


#503 Dmitry Teslenko / krab_mozga - Score: 22 - 10/09/14 @ 13:18
Ovim vi impo<BS>roved<Esc><Esc>ZZ

0 comments


#504 Syd Kerckhove / KerckhoveSyd - Score: 22 - 11/07/14 @ 21:02
ivim vi improved<CR><Esc>:wq<CR>

0 comments


#505 jiangchuan / tommy_he - Score: 22 - 11/15/14 @ 19:09
/(<CR>l3ywggPJJni<CR><Esc>zz:wq<CR>

0 comments


#506 diogovk / diogovk - Score: 22 - 05/08/15 @ 18:50
/m$<CR>bv/d<CR>yggPJJna<CR><Esc>:x<CR>

0 comments


#507 Dave Solomon / davemsolomon - Score: 23 - 11/02/14 @ 14:08
i<CR><Up>vim vi improved<Esc>:wq<CR>

0 comments


#508 Tom / CronutFacts - Score: 23 - 05/22/16 @ 20:11
<Right>v<Down><Down>fdy0i<CR><Up><Esc>p2gqjf-xxZZ

0 comments


#509 David Aguilera / davilera - Score: 23 - 08/11/16 @ 14:17
ya(Pxw<Del>a<Del><Esc>A <Esc>a<Del><Esc>wwr<CR>:x<CR>

0 comments


#510 Joaquin Coronel / cantstoptheguac - Score: 23 - 02/03/17 @ 15:27
Ovim vi improved<Esc>:w<CR>:q<CR>

0 comments


#511 Martin Chabot / martinosis - Score: 25 - 01/02/15 @ 01:27
:4<CR>lv/d<CR>yggPjkJJwwi<CR><Esc>zzZZ

0 comments


#512 Anton / AntonAzgarovich - Score: 28 - 06/10/16 @ 19:23
<Down><Right>kOvim vi improved:<BS><Esc>:w<CR>Qq<CR>

0 comments


#513 Violette Vanadium / ViolettVanadium - Score: 29 - 10/08/14 @ 05:16
3jyi)HP:1,1<BS>2s/\n/\ /<CR>f(i<CR><Esc>ZZ

0 comments


#514 Dr John Zoidberg / johnny_zoidberg - Score: 33 - 10/17/14 @ 23:31
i<CR><Esc>kivimviim<BS><BS><BS><BS> vi improved<Esc>Qwq<CR>

0 comments


#515 Justin Knag / justinknag - Score: 39 - 10/09/14 @ 03:20
ggjjjy33PPyj3yyPggddjjpkddkkPxJJ$xjjjZZ

0 comments


#516 Juampy NR / juampynr - Score: 55 - 10/10/14 @ 20:33
<Esc>xJhxx<Esc>lJ<Esc>lllllllllllllx<Esc>ja '<BS>-<Esc>jjkk3yyjjp<Esc>lllllxx<Esc>:wq<CR>

0 comments


Created by: udioica

516 active golfers, 1718 entries

Leaderboard (lowest score wins):
9
#121 - mebubo / mebubo

05/01/2016 at 10:04AM

9
#122 - John Goes / johnwgoes

05/07/2016 at 04:00PM

9
#123 - Ben Hill / KaizenSoze70

05/09/2016 at 12:36AM

9
#124 - John Doe Sr. / johndoe67890543

05/31/2016 at 06:36PM

9
#125 - Foo Bar / foobar01123

06/02/2016 at 12:07PM

9
#126 - Elliott Beach / 718282Beach

06/07/2016 at 03:48AM

9
#127 - Yudi Matsuzake / yudimatsuzake

06/07/2016 at 03:45PM

9
#128 - Pablo R. Dinella / pablordinella

06/11/2016 at 02:40PM

9
#129 - Ameen P / Ameen_P1

06/18/2016 at 09:39AM

9
#130 - TaoChen / 632143592Tao

06/20/2016 at 06:33AM

9
#131 - George Angelopoulos / g_usermod

08/06/2016 at 07:23PM

9
#132 - jdupont655 / jdupont655

09/02/2016 at 11:04AM

9
#133 - Stephen Aument / saument

09/03/2016 at 04:55AM

9
#134 - Will / obiwan__k3n00bi

09/03/2016 at 08:31AM

9
#135 - hor1ace / hor3ace

09/08/2016 at 03:20PM

9
#136 - 알카포 / alkpo12

09/10/2016 at 05:59AM

9
#137 - loki2441 / loki2441

09/10/2016 at 09:32PM

9
#138 - Constantine / ConstantineHatz

09/26/2016 at 06:55PM

9
#139 - Nico / _Nico_Caro

09/30/2016 at 03:24PM

9
#140 - Lukas Kruemel / KruemelKobold

10/06/2016 at 09:37AM

9
#141 - trx / trxdbg

10/12/2016 at 01:38PM

9
#142 - Karl Lundquist / karllundquist

10/21/2016 at 12:11AM

9
#143 - retro / tryphopp

11/10/2016 at 08:56AM

9
#144 - BlackCap / BlackCapCoder

11/23/2016 at 06:00PM

9
#145 - Wessel Sinnema / wsinnema

11/27/2016 at 05:22PM

9
#146 - Alan Turing / alantrng

11/28/2016 at 11:21PM

9
#147 - Marcel Akkerman / MarcelAkkerman

12/22/2016 at 07:47AM

9
#148 - Pierre Maoui / poupougnac

12/24/2016 at 08:57AM

9
#149 - Ilya Shakirov / aelaau

03/20/2017 at 03:06PM

9
#150 - Andreas Anderbach / anderbacha

03/21/2017 at 12:53PM