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):
19
#571 - Ben Baker-Smith / @Bit_Synthesis

07/17/2016 at 06:08AM

19
#572 - Ryan van Rensburg / @rdvr001

07/21/2016 at 10:17AM

19
#573 - Pierre Stévens / @pierre_stv

11/04/2017 at 09:40AM

19
#574 - Floch Geoffrey / @floch_geoffrey

07/30/2018 at 12:06PM

19
#575 - Víctor López / @viticlick

08/23/2018 at 09:19AM

19
#576 - Eric Moss / @NotEricMoss

11/04/2018 at 09:58PM

19
#577 - Bumazhka / @Bumazhka

02/11/2019 at 07:42AM

19
#578 - T A / @SirAviles

02/11/2019 at 10:22PM

19
#579 - 黒澤亮二 / @rjkuro

03/25/2019 at 06:03PM

20
#580 - 木下 和巳@意識低い勢 / @warugaki_kazumi

10/20/2014 at 05:40AM

20
#581 - Jonathan Jin / @jjin082693

11/17/2014 at 05:14PM

20
#582 - Doru-Mihai Muntean / @dorumihai

12/01/2016 at 11:05PM

20
#583 - Jurica / @Jurica34581259

11/16/2018 at 11:51AM

20
#584 - king of cool / @fyces

01/17/2019 at 08:55AM

20
#585 - Vimfiz / @vimfiz

04/02/2019 at 10:55PM

22
#586 - Dmitry Teslenko / @krab_mozga

10/09/2014 at 01:18PM

22
#587 - Syd Kerckhove / @KerckhoveSyd

11/07/2014 at 09:02PM

22
#588 - jiangchuan / @tommy_he

11/15/2014 at 07:09PM

22
#589 - diogovk / @diogovk

05/08/2015 at 06:50PM

23
#590 - Dave Solomon / @davemsolomon

11/02/2014 at 02:08PM

23
#591 - Tom / @CronutFacts

05/22/2016 at 08:11PM

23
#592 - David Aguilera / @davilera

08/11/2016 at 02:17PM

23
#593 - Joaquin Coronel / @cantstoptheguac

02/03/2017 at 03:27PM

25
#594 - Martin Chabot / @martinosis

01/02/2015 at 01:27AM

25
#595 - ui / @ui61065627

03/13/2019 at 02:17AM

28
#596 - Anton / @AntonAzgarovich

06/10/2016 at 07:23PM

29
#597 - Violette Vanadium / @ViolettVanadium

10/08/2014 at 05:16AM

33
#598 - Dr John Zoidberg / @johnny_zoidberg

10/17/2014 at 11:31PM

34
#599 - IHateTweeting999 / @ITweeting999

05/05/2019 at 08:40PM

39
#600 - Justin Knag / @justinknag

10/09/2014 at 03:20AM