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 4d28aef94bcd032f1c0000dc

The Universal Declaration of Human Rights, Article 1

Somebody's got this slightly muddled up. See how quickly you can fix it. (I made this to experiment with buffers. I'm not actually sure whether this is faster with buffers or without.)

Start file
All in a spirit of human beings are equal in dignity and rights.
They are born free and should act
towards one another endowed with reason and conscience and brotherhood.
End file
All human beings are born free and equal in dignity and rights.
They are endowed with reason and conscience and should act
towards one another in a spirit of brotherhood.

View Diff

1,3c1,3
< All in a spirit of human beings are equal in dignity and rights.
< They are born free and should act
< towards one another endowed with reason and conscience and brotherhood.
---
> All human beings are born free and equal in dignity and rights.
> They are endowed with reason and conscience and should act
> towards one another in a spirit of brotherhood.

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 63 remaining solutions by signing in and submitting your own entry
#64 Mark Watson / @mrkrwtsn - Score: 187 - 11/20/18 @ 23:03
ddddddi<50-53>All human beings are born free and equal in dignity and rights.<CR>They are endowed with reason and conscience and should act<CR>towards one another in a spirit of brotherhood.<Esc>[201~<Esc>ZZ

0 comments


Created by: @sermoa

64 active golfers, 129 entries

Leaderboard (lowest score wins):
26
#31 - Bryan Kam / @bryankam

01/11/2011 at 08:03PM

26
#32 - Rob Ciaccio / @RobertoCalavera

01/17/2011 at 05:53AM

26
#33 - Andrew Dorman / @andydorman

02/22/2011 at 03:23PM

26
#34 - vimja / @vimja666

11/04/2011 at 06:27PM

26
#35 - Xavier Nayrac / @lkdjiin

01/07/2012 at 09:21PM

26
#36 - Paul Gessler / @pdgessler

06/08/2012 at 11:54PM

26
#37 - Chris Brown / @engineercyb

09/12/2012 at 12:17AM

27
#38 - Pete Johns / @johnsyweb

01/08/2011 at 08:12PM

27
#39 - Balkoth / @_Balkoth_

01/08/2011 at 09:07PM

27
#40 - Rörd Hinrichsen / @roerdhh

01/09/2011 at 10:03PM

27
#41 - Visnu Pitiyanuvath / @visnup

01/11/2011 at 07:50PM

27
#42 - Carlos Troncoso / @carlostph

01/13/2011 at 11:26PM

27
#43 - Julien Pivotto / @roidelapluie

03/17/2011 at 09:09AM

27
#44 - Justin Cullen / @zenguine

02/27/2012 at 11:34PM

27
#45 - Joonas Pihlajamaa / @jokkebk

03/15/2014 at 03:30PM

28
#46 - Victor Vaile / @victorv4_

01/08/2011 at 11:13PM

28
#47 - Christoph Stock / @christophstock

01/14/2011 at 06:05PM

28
#48 - SirVer / @SirVerII

01/22/2011 at 09:53PM

28
#49 - Teflon Ted t(◕‿◕t) / @teflonted

05/30/2011 at 05:47PM

28
#50 - (Emile (Swarts)) / @EmileSwarts

06/09/2011 at 08:31PM

28
#51 - Dave / @zzdave13

07/24/2011 at 09:38PM

28
#52 - Nolen Royalty / @NolenRoyalty

04/20/2012 at 09:58PM

29
#53 - RobertT / @techrt2050

09/03/2013 at 05:58PM

29
#54 - teo danciu / @teozaurus

10/17/2013 at 02:07PM

30
#55 - drio / @drio

02/01/2011 at 06:07PM

31
#56 - h_east (トロッコ6個) / @h_east

01/08/2011 at 07:16PM

31
#57 - Christopher Brew / @Seph1rothVII

01/11/2012 at 10:11PM

32
#58 - Joost / @vlabakje

02/23/2011 at 04:50PM

32
#59 - RockerZZY / @rocker_zzy

09/12/2020 at 02:58AM

33
#60 - 無ん垢の叫び / @john_ababa

02/26/2012 at 11:47AM