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

545 active golfers, 1841 entries

Leaderboard (lowest score wins):
19
#511 - Akira Sasaki / @hikomimo

11/20/2014 at 03:52AM

19
#512 - Edmundo Perez / @ingedmundo

12/03/2014 at 03:33PM

19
#513 - Rao Zvorovski / @RaoZvorovski

12/05/2014 at 11:07AM

19
#514 - luffy / @raxcoi

12/16/2014 at 09:48AM

19
#515 - Adam Redfern / @AdmRedfern

12/22/2014 at 04:31PM

19
#516 - きよ / @Mr_kiyo

12/31/2014 at 02:48AM

19
#517 - Yuan Guan / @yuanguan89

03/02/2015 at 05:47AM

19
#518 - Maxime / @Maxime_VII

06/23/2015 at 02:39PM

19
#519 - Mika .B / @Michael_Ben_Ali

09/11/2015 at 01:15PM

19
#520 - Eitan Burcat / @eburcat

05/11/2016 at 06:55PM

19
#521 - wall2flower / @wall2flower

06/04/2016 at 06:13PM

19
#522 - Ben Baker-Smith / @Bit_Synthesis

07/17/2016 at 06:08AM

19
#523 - Ryan van Rensburg / @rdvr001

07/21/2016 at 10:17AM

19
#524 - Pierre Stévens / @pierre_stv

11/04/2017 at 09:40AM

19
#525 - Floch Geoffrey / @floch_geoffrey

07/30/2018 at 12:06PM

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

08/23/2018 at 09:19AM

19
#527 - Eric Moss / @NotEricMoss

11/04/2018 at 09:58PM

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

10/20/2014 at 05:40AM

20
#529 - Jonathan Jin / @jjin082693

11/17/2014 at 05:14PM

20
#530 - Doru-Mihai Muntean / @dorumihai

12/01/2016 at 11:05PM

20
#531 - Jurica / @Jurica34581259

11/16/2018 at 11:51AM

22
#532 - Dmitry Teslenko / @krab_mozga

10/09/2014 at 01:18PM

22
#533 - Syd Kerckhove / @KerckhoveSyd

11/07/2014 at 09:02PM

22
#534 - jiangchuan / @tommy_he

11/15/2014 at 07:09PM

22
#535 - diogovk / @diogovk

05/08/2015 at 06:50PM

23
#536 - Dave Solomon / @davemsolomon

11/02/2014 at 02:08PM

23
#537 - Tom / @CronutFacts

05/22/2016 at 08:11PM

23
#538 - David Aguilera / @davilera

08/11/2016 at 02:17PM

23
#539 - Joaquin Coronel / @cantstoptheguac

02/03/2017 at 03:27PM

25
#540 - Martin Chabot / @martinosis

01/02/2015 at 01:27AM