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
#421 - F-R Vuillemin / @frvuillemin

09/28/2017 at 02:08PM

13
#422 - Ron Alexssen / @Ralexhere

10/30/2017 at 07:06AM

13
#423 - Apox / @apox159

07/18/2018 at 11:20PM

13
#424 - prince ducaca / @prince_du_caca

09/20/2018 at 06:51PM

13
#425 - Luis Rodriguez / @luisthecoder

11/14/2018 at 11:23PM

14
#426 - MiningMarsh / @MiningMarsh

10/15/2014 at 01:39AM

14
#427 - Vincent Yu / @vyuniverse

10/15/2014 at 09:20AM

14
#428 - Jonny / @Jonnytron

10/21/2014 at 08:24PM

14
#429 - Stanislav Mazhara / @akmegran

10/24/2014 at 03:52AM

14
#430 - Jakub Lewandowski / @kubinux

10/27/2014 at 10:03PM

14
#431 - w1zeman1p / @wizemanip

11/06/2014 at 05:21AM

14
#432 - Felix Boers / @felixboers

11/12/2014 at 08:46AM

14
#433 - Thomas Geßler / @th_gessler

11/16/2014 at 12:48PM

14
#434 - Nicolas Dascanio / @NicoDascanio

11/27/2014 at 12:44PM

14
#435 - aaron sullivan / @aaronsull

11/29/2014 at 11:18PM

14
#436 - Bernardo Amorim / @BernardoDCGA

12/31/2014 at 04:03AM

14
#437 - Raynard, Jordan / @raynard_jordan

01/14/2015 at 01:51PM

14
#438 - SilentFl / @Silent_Fl

01/27/2015 at 07:43AM

14
#439 - 沸腾钢 / @tobecloud

02/08/2015 at 10:08AM

14
#440 - Marcin Brański / @3h4xx

03/10/2015 at 03:59PM

14
#441 - BartJanssen / @BartJanssen

03/13/2015 at 07:43AM

14
#442 - Jay Pfaffman / @pfaffman

04/27/2015 at 07:37PM

14
#443 - Rolf / @liffon

04/28/2015 at 08:21PM

14
#444 - Jonas Ng / @jnshey

05/26/2015 at 03:13PM

14
#445 - Kevin Knox / @kevinrknox

05/26/2015 at 05:55PM

14
#446 - mat / @matgeist

06/02/2015 at 06:07PM

14
#447 - Hervé Rouault / @hrouault

06/12/2015 at 09:52PM

14
#448 - raghu erapaneedi / @raghue9

06/19/2015 at 12:58PM

14
#449 - darookee / @darookee

07/24/2015 at 09:44AM

14
#450 - alex / @alexAngle8

08/23/2015 at 06:30AM