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 600 remaining solutions by signing in and submitting your own entry
#601 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

601 active golfers, 2125 entries

Leaderboard (lowest score wins):
15
#511 - Oliver Christ / @0liverChrist

10/09/2014 at 09:34PM

15
#512 - Patrick Mitchell / @jpmitche11

10/10/2014 at 12:46AM

15
#513 - Marcin Sza / @coot_

10/10/2014 at 08:13PM

15
#514 - Michael Daffin / @James14790

10/14/2014 at 10:15AM

15
#515 - David Asabina / @vidbina

10/16/2014 at 06:54PM

15
#516 - Aaron Lebahn / @cplusplus

10/18/2014 at 12:00AM

15
#517 - ЕвгенийВ / @imater

10/27/2014 at 05:00AM

15
#518 - JamesT / @jamestrinklein

11/07/2014 at 07:13PM

15
#519 - Jason Wolf / @zephyr_wolf

11/14/2014 at 08:00PM

15
#520 - jake romer / @notjakeromer

11/20/2014 at 09:42AM

15
#521 - Katie Li / @ryfgvb

11/28/2014 at 09:25PM

15
#522 - Michael Leong / @mhwleong

12/03/2014 at 03:41PM

15
#523 - Jordana Lachow / @TomofBedlam

12/28/2014 at 08:58PM

15
#524 - Eric Biven / @EricBiven

12/31/2014 at 10:00PM

15
#525 - Gideon VanRiette / @gidjv

03/05/2015 at 07:13PM

15
#526 - Jack Z / @itszhou

06/28/2015 at 04:24PM

15
#527 - Stani Banani / @Stani_Banani

10/17/2015 at 10:18PM

15
#528 - Gerald Tilma / @GeraldTilma

10/18/2015 at 04:14PM

15
#529 - abbystasja / @abbystasja

12/21/2015 at 11:26PM

15
#530 - David Stolfo / @david_stolfo

01/06/2016 at 06:02PM

15
#531 - niwatoco / @yoshitune9

07/19/2018 at 07:41PM

15
#532 - Sxcy / @SxcyX

10/22/2018 at 01:36PM

15
#533 - 강현 / @Applesquiz

01/27/2019 at 04:38PM

15
#534 - gtgtgt02 / @gtgtgt02

04/01/2019 at 02:49PM

16
#535 - John Martinsson / @Darksoox

10/10/2014 at 03:29PM

16
#536 - Alex Birdsall / @OilCanSamson

12/17/2014 at 03:44AM

16
#537 - Jake Eskel / @JakeEskel

12/28/2014 at 08:50PM

16
#538 - chvzvhn / @chvzvhn

04/02/2015 at 03:12AM

16
#539 - Hendrik Lammers / @hendriklammers

05/07/2015 at 07:22PM

16
#540 - Agostino Hernandez / @vimagostino

07/08/2015 at 06:40PM