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

695 active golfers, 2556 entries

Leaderboard (lowest score wins):
13
#511 - Bogumił Kamiński / @BogumilKaminski

10/25/2015 at 04:10PM

13
#512 - Cory Duplantis / @ctfhacker

11/16/2015 at 12:17AM

13
#513 - Tarik Koc / @tariktheturk

11/21/2015 at 12:14AM

13
#514 - udreki / @udreki

02/20/2016 at 09:10AM

13
#515 - Matteo Signer / @MatteoSigner

04/26/2016 at 08:44AM

13
#516 - Andres Araya / @arayaandresfco

05/15/2016 at 05:41PM

13
#517 - malet / @Malet

06/24/2016 at 10:43PM

13
#518 - PeterGC / @petkusGC

08/14/2016 at 06:52PM

13
#519 - Tith Chantara / @TithChantara

01/12/2017 at 10:20PM

13
#520 - J. Cosa / @esoesotracosa

01/18/2017 at 03:10PM

13
#521 - caplod / @caplod

03/25/2017 at 03:01PM

13
#522 - Reinaldo Astudillo / @astudillor

03/25/2017 at 09:15PM

13
#523 - squdle / @squdle

06/24/2017 at 10:33AM

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

07/10/2017 at 09:05PM

13
#525 - Clay Thomas / @CHThomas95

07/29/2017 at 05:25PM

13
#526 - David / @Latiku

08/25/2017 at 02:02PM

13
#527 - F-R Vuillemin / @frvuillemin

09/28/2017 at 02:08PM

13
#528 - Ron Alexssen / @Ralexhere

10/30/2017 at 07:06AM

13
#529 - Apox / @apox159

07/18/2018 at 11:20PM

13
#530 - prince ducaca / @prince_du_caca

09/20/2018 at 06:51PM

13
#531 - Luis Rodriguez / @luisthecoder

11/14/2018 at 11:23PM

13
#532 - diwa / @Di_nate_

12/18/2018 at 03:31AM

13
#533 - 김현수 / @flyhigh43

04/28/2019 at 05:11AM

13
#534 - Jason Chen / @chezbgone

07/04/2019 at 07:42AM

13
#535 - Ivo Blöchliger / @aigledesalpes

08/05/2019 at 09:34AM

13
#536 - pysnow530 / @pysnow530

11/26/2019 at 04:28AM

13
#537 - Martin Kauppinen / @MartinKauppinen

08/16/2020 at 07:14PM

13
#538 - Kaustubh Murumkar / @k_austub_h

09/26/2020 at 12:13AM

14
#539 - MiningMarsh / @MiningMarsh

10/15/2014 at 01:39AM

14
#540 - Vincent Yu / @vyuniverse

10/15/2014 at 09:20AM