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

71 active golfers, 163 entries

Leaderboard (lowest score wins):
25
#31 - russellzhaomao / @russellzhaomao

06/03/2022 at 03:20AM

26
#32 - aaaa3331 / @aaaa3331

01/08/2011 at 09:46PM

26
#33 - Akira Matsuda / @a_matsuda

01/09/2011 at 01:53AM

26
#34 - Paul King / @nrocy

01/09/2011 at 05:57PM

26
#35 - Bryan Kam / @bryankam

01/11/2011 at 08:03PM

26
#36 - Rob Ciaccio / @RobertoCalavera

01/17/2011 at 05:53AM

26
#37 - Andrew Dorman / @andydorman

02/22/2011 at 03:23PM

26
#38 - vimja / @vimja666

11/04/2011 at 06:27PM

26
#39 - Xavier Nayrac / @lkdjiin

01/07/2012 at 09:21PM

26
#40 - Paul Gessler / @pdgessler

06/08/2012 at 11:54PM

26
#41 - Chris Brown / @engineercyb

09/12/2012 at 12:17AM

26
#42 - wingdeans / @wingdeans

09/17/2021 at 03:18AM

27
#43 - Pete Johns / @johnsyweb

01/08/2011 at 08:12PM

27
#44 - Balkoth / @_Balkoth_

01/08/2011 at 09:07PM

27
#45 - Rörd Hinrichsen / @roerdhh

01/09/2011 at 10:03PM

27
#46 - Visnu Pitiyanuvath / @visnup

01/11/2011 at 07:50PM

27
#47 - Carlos Troncoso Phillips / @carlostph

01/13/2011 at 11:26PM

27
#48 - Julien Pivotto / @roidelapluie

03/17/2011 at 09:09AM

27
#49 - Justin Cullen / @zenguine

02/27/2012 at 11:34PM

27
#50 - Joonas Pihlajamaa / @jokkebk

03/15/2014 at 03:30PM

28
#51 - Victor Vaile / @victorv4_

01/08/2011 at 11:13PM

28
#52 - Christoph Stock / @christophstock

01/14/2011 at 06:05PM

28
#53 - SirVer / @SirVerII

01/22/2011 at 09:53PM

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

05/30/2011 at 05:47PM

28
#55 - Emile Swarts / @EmileSwarts

06/09/2011 at 08:31PM

28
#56 - Dave / @zzdave13

07/24/2011 at 09:38PM

28
#57 - Nolen Royalty / @NolenRoyalty

04/20/2012 at 09:58PM

29
#58 - RobertT / @techrt2050

09/03/2013 at 05:58PM

29
#59 - teo danciu / @teozaurus

10/17/2013 at 02:07PM

30
#60 - drio / @drio

02/01/2011 at 06:07PM