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

601 active golfers, 2125 entries

Leaderboard (lowest score wins):
13
#451 - PeterGC / @petkusGC

08/14/2016 at 06:52PM

13
#452 - Tith Chantara / @TithChantara

01/12/2017 at 10:20PM

13
#453 - J. Cosa / @esoesotracosa

01/18/2017 at 03:10PM

13
#454 - caplod / @caplod

03/25/2017 at 03:01PM

13
#455 - Reinaldo Astudillo / @astudillor

03/25/2017 at 09:15PM

13
#456 - squdle / @squdle

06/24/2017 at 10:33AM

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

07/10/2017 at 09:05PM

13
#458 - Clay Thomas / @CHThomas95

07/29/2017 at 05:25PM

13
#459 - David / @Latiku

08/25/2017 at 02:02PM

13
#460 - F-R Vuillemin / @frvuillemin

09/28/2017 at 02:08PM

13
#461 - Ron Alexssen / @Ralexhere

10/30/2017 at 07:06AM

13
#462 - Apox / @apox159

07/18/2018 at 11:20PM

13
#463 - prince ducaca / @prince_du_caca

09/20/2018 at 06:51PM

13
#464 - Luis Rodriguez / @luisthecoder

11/14/2018 at 11:23PM

13
#465 - diwa / @Di_nate_

12/18/2018 at 03:31AM

13
#466 - 김현수 / @flyhigh43

04/28/2019 at 05:11AM

14
#467 - MiningMarsh / @MiningMarsh

10/15/2014 at 01:39AM

14
#468 - Vincent Yu / @vyuniverse

10/15/2014 at 09:20AM

14
#469 - Jonny / @Jonnytron

10/21/2014 at 08:24PM

14
#470 - Stanislav Mazhara / @akmegran

10/24/2014 at 03:52AM

14
#471 - Jakub Lewandowski / @kubinux

10/27/2014 at 10:03PM

14
#472 - w1zeman1p / @wizemanip

11/06/2014 at 05:21AM

14
#473 - Felix Boers / @felixboers

11/12/2014 at 08:46AM

14
#474 - Thomas Geßler / @th_gessler

11/16/2014 at 12:48PM

14
#475 - Nicolas Dascanio / @NicoDascanio

11/27/2014 at 12:44PM

14
#476 - aaron sullivan / @aaronsull

11/29/2014 at 11:18PM

14
#477 - Bernardo Amorim / @BernardoDCGA

12/31/2014 at 04:03AM

14
#478 - Raynard, Jordan / @raynard_jordan

01/14/2015 at 01:51PM

14
#479 - SilentFl / @Silent_Fl

01/27/2015 at 07:43AM

14
#480 - 沸腾钢 / @tobecloud

02/08/2015 at 10:08AM