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

544 active golfers, 1836 entries

Leaderboard (lowest score wins):
13
#391 - Kristijan Husak / @kristijan_husak

02/03/2015 at 08:14AM

13
#392 - Jacob / @0x604

02/08/2015 at 06:18PM

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

02/12/2015 at 07:17AM

13
#394 - Dmitry Zudochkin / @vredniy

02/18/2015 at 06:07AM

13
#395 - Deepak Surti / @dmsurti

03/16/2015 at 02:12PM

13
#396 - Arjan Molenaar / @ajmolenaar

03/30/2015 at 02:04PM

13
#397 - Adrien Fabre / @statox42

05/19/2015 at 08:33PM

13
#398 - Teemu Okkonen / @TeemuOkkonen

07/08/2015 at 08:21PM

13
#399 - Roben Kleene / @robenkleene

07/31/2015 at 12:10AM

13
#400 - aisapatino / @aisapatino

08/12/2015 at 06:46AM

13
#401 - Sergey Semushin / @Predelnik

08/27/2015 at 06:47AM

13
#402 - Maxime Dréau / @mdreau

09/02/2015 at 11:52AM

13
#403 - Andrew Michaud / @andrewjmichaud

09/04/2015 at 12:26AM

13
#404 - Andrew Loucky / @merely_oolong

10/03/2015 at 05:14PM

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

10/25/2015 at 04:10PM

13
#406 - Cory Duplantis / @CoryDuplantis

11/16/2015 at 12:17AM

13
#407 - Tarik Koc / @tariktheturk

11/21/2015 at 12:14AM

13
#408 - udreki / @udreki

02/20/2016 at 09:10AM

13
#409 - Matteo Signer / @MatteoSigner

04/26/2016 at 08:44AM

13
#410 - Andres Araya / @arayaandresfco

05/15/2016 at 05:41PM

13
#411 - malet / @Malet

06/24/2016 at 10:43PM

13
#412 - PeterGC / @petkusGC

08/14/2016 at 06:52PM

13
#413 - Tith Chantara / @TithChantara

01/12/2017 at 10:20PM

13
#414 - J. Cosa / @esoesotracosa

01/18/2017 at 03:10PM

13
#415 - caplod / @caplod

03/25/2017 at 03:01PM

13
#416 - Reinaldo Astudillo / @astudillor

03/25/2017 at 09:15PM

13
#417 - squdle / @squdle

06/24/2017 at 10:33AM

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

07/10/2017 at 09:05PM

13
#419 - Clay Thomas / @CHThomas95

07/29/2017 at 05:25PM

13
#420 - David / @Latiku

08/25/2017 at 02:02PM