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

613 active golfers, 2178 entries

Leaderboard (lowest score wins):
13
#451 - Andrew Loucky / @merely_oolong

10/03/2015 at 05:14PM

13
#452 - Bogumił Kamiński / @BogumilKaminski

10/25/2015 at 04:10PM

13
#453 - Cory Duplantis / @ctfhacker

11/16/2015 at 12:17AM

13
#454 - Tarik Koc / @tariktheturk

11/21/2015 at 12:14AM

13
#455 - udreki / @udreki

02/20/2016 at 09:10AM

13
#456 - Matteo Signer / @MatteoSigner

04/26/2016 at 08:44AM

13
#457 - Andres Araya / @arayaandresfco

05/15/2016 at 05:41PM

13
#458 - malet / @Malet

06/24/2016 at 10:43PM

13
#459 - PeterGC / @petkusGC

08/14/2016 at 06:52PM

13
#460 - Tith Chantara / @TithChantara

01/12/2017 at 10:20PM

13
#461 - J. Cosa / @esoesotracosa

01/18/2017 at 03:10PM

13
#462 - caplod / @caplod

03/25/2017 at 03:01PM

13
#463 - Reinaldo Astudillo / @astudillor

03/25/2017 at 09:15PM

13
#464 - squdle / @squdle

06/24/2017 at 10:33AM

13
#465 - Михаил Добров / @mSuGfwFz2ZNvv5b

07/10/2017 at 09:05PM

13
#466 - Clay Thomas / @CHThomas95

07/29/2017 at 05:25PM

13
#467 - David / @Latiku

08/25/2017 at 02:02PM

13
#468 - F-R Vuillemin / @frvuillemin

09/28/2017 at 02:08PM

13
#469 - Ron Alexssen / @Ralexhere

10/30/2017 at 07:06AM

13
#470 - Apox / @apox159

07/18/2018 at 11:20PM

13
#471 - prince ducaca / @prince_du_caca

09/20/2018 at 06:51PM

13
#472 - Luis Rodriguez / @luisthecoder

11/14/2018 at 11:23PM

13
#473 - diwa / @Di_nate_

12/18/2018 at 03:31AM

13
#474 - 김현수 / @flyhigh43

04/28/2019 at 05:11AM

13
#475 - Jason Chen / @chezbgone

07/04/2019 at 07:42AM

14
#476 - MiningMarsh / @MiningMarsh

10/15/2014 at 01:39AM

14
#477 - Vincent Yu / @vyuniverse

10/15/2014 at 09:20AM

14
#478 - Jonny / @Jonnytron

10/21/2014 at 08:24PM

14
#479 - Stanislav Mazhara / @akmegran

10/24/2014 at 03:52AM

14
#480 - Jakub Lewandowski / @kubinux

10/27/2014 at 10:03PM