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

654 active golfers, 2376 entries

Leaderboard (lowest score wins):
15
#571 - Gerald Tilma / @GeraldTilma

10/18/2015 at 04:14PM

15
#572 - abbystasja / @abbystasja

12/21/2015 at 11:26PM

15
#573 - David Stolfo / @david_stolfo

01/06/2016 at 06:02PM

15
#574 - niwatoco / @yoshitune9

07/19/2018 at 07:41PM

15
#575 - Sxcy / @SxcyX

10/22/2018 at 01:36PM

15
#576 - 강현 / @Applesquiz

01/27/2019 at 04:38PM

15
#577 - gtgtgt02 / @gtgtgt02

04/01/2019 at 02:49PM

15
#578 - Henry Wang (theKidOfArcrania) / @kidOfArcrania

05/24/2019 at 08:34PM

15
#579 - Vim Golfer / @VimGolfer6

08/17/2019 at 01:21PM

16
#580 - John Martinsson / @Darksoox

10/10/2014 at 03:29PM

16
#581 - Alex Birdsall / @OilCanSamson

12/17/2014 at 03:44AM

16
#582 - Jake Eskel / @JakeEskel

12/28/2014 at 08:50PM

16
#583 - chvzvhn / @chvzvhn

04/02/2015 at 03:12AM

16
#584 - Hendrik Lammers / @hendriklammers

05/07/2015 at 07:22PM

16
#585 - Agostino Hernandez / @vimagostino

07/08/2015 at 06:40PM

16
#586 - Marcus Buffett / @MarcusBuffett

10/05/2015 at 04:58AM

16
#587 - Alexander Ryzhikov / @Coobaha

01/15/2016 at 01:40PM

16
#588 - Nelson Zhang / @Fasoters

05/24/2017 at 01:18AM

16
#589 - Kaydo Alders / @Yousousen

03/13/2018 at 05:07PM

16
#590 - andrwyoung / @andrwyoung1

03/04/2019 at 07:19PM

16
#591 - Michaël Lévesque-Dion / @mlevesquedion

04/25/2019 at 10:04PM

16
#592 - monaqa / @mo_naqa

09/16/2019 at 10:21AM

16
#593 - Ariel Miculas / @ArielMiculas

09/19/2019 at 03:28PM

17
#594 - CY / @wongcy0

10/17/2014 at 10:41PM

17
#595 - Владимир Оберемок / @Nihtalak

10/25/2014 at 08:19PM

17
#596 - Mikael Evander / @mikael_evander

11/04/2014 at 12:23PM

17
#597 - Jens Weggemann / @JensWeggemann

11/27/2014 at 08:03AM

17
#598 - Kyle Nesslein / @knessl

10/02/2015 at 04:43PM

17
#599 - Dan Oneata / @DanOneata

05/15/2016 at 03:30PM

17
#600 - Random / @Random29985999

11/29/2018 at 03:47PM