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

664 active golfers, 2411 entries

Leaderboard (lowest score wins):
12
#451 - Bruce Adams / @bruceadams1054

10/13/2018 at 11:38AM

12
#452 - Phil Devitt / @GeneralHav0k

01/02/2019 at 04:05PM

12
#453 - Timothy Bryan / @tim_bryan

02/22/2019 at 11:32PM

12
#454 - zenwalker / @zenwalker93

03/09/2019 at 01:37PM

12
#455 - Vitaly Sinilin / @unterwulf

05/15/2019 at 04:06PM

12
#456 - albalitz / @_albalitz

06/07/2019 at 01:04PM

12
#457 - vicver09 / @vicver091

12/18/2019 at 07:21PM

12
#458 - JimmyGymglish / @JGymglish

01/15/2020 at 11:14AM

12
#459 - Nick Lee / @TooManyNickLees

04/05/2020 at 09:56PM

13
#460 - James / @Dronak

10/07/2014 at 11:05PM

13
#461 - Eric Kever / @codeoverlode

10/23/2014 at 09:59PM

13
#462 - Matthew Barrington / @mbarrin

10/27/2014 at 12:41AM

13
#463 - Jesse Morton / @Jesse_Motion

11/03/2014 at 11:44AM

13
#464 - PHCerdan / @PHCerdan

11/04/2014 at 03:17AM

13
#465 - Ilya Kolo / @Gray_Wind

11/04/2014 at 10:42AM

13
#466 - Xavier Goás A. / @xa4us

11/07/2014 at 09:09PM

13
#467 - AA / @stonewareslord

11/26/2014 at 08:10PM

13
#468 - kobby / @_kafdot_

12/09/2014 at 11:45AM

13
#469 - Steve Alison / @Steve_Alison

12/12/2014 at 11:37PM

13
#470 - Andrew Leung / @aleungpivotal

12/18/2014 at 05:35PM

13
#471 - Tact Overflow / @muppling

12/29/2014 at 04:13PM

13
#472 - David Wright / @David27Wright

01/08/2015 at 05:09PM

13
#473 - Kristijan Husak / @kristijan_husak

02/03/2015 at 08:14AM

13
#474 - Jacob / @0x604

02/08/2015 at 06:18PM

13
#475 - かっかる / @86ktcal

02/12/2015 at 07:17AM

13
#476 - Dmitry Zudochkin / @zudochkin

02/18/2015 at 06:07AM

13
#477 - Deepak Surti / @dmsurti

03/16/2015 at 02:12PM

13
#478 - Arjan Molenaar / @ajmolenaar

03/30/2015 at 02:04PM

13
#479 - Adrien Fabre / @statox42

05/19/2015 at 08:33PM

13
#480 - Teemu Okkonen / @TeemuOkkonen

07/08/2015 at 08:21PM