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 48 remaining solutions by signing in and submitting your own entry
#49 Emile Swarts / EmileSwarts - Score: 28 - 06/09/11 @ 20:31
wdth/en<CR>Pldtb?b<CR>Pldts?eq<CR>PZZ

0 comments

#50 Dave / zzdave13 - Score: 28 - 07/24/11 @ 21:38
w4dw/en<NL>Pw6dw?b<NL>Pw3dw?eq<NL>PZZ

0 comments

#51 Nolen Royalty / NolenRoyalty - Score: 28 - 04/20/12 @ 21:58
wdth/en<CR>Pldtb?b<CR>Pldts?eq<CR>PZZ

0 comments

#52 RobertT / techrt2050 - Score: 29 - 09/03/13 @ 17:58
w4dw3wmajjhPldtb-fbPldts`aPZZ

0 comments

#53 teo danciu / teozaurus - Score: 29 - 10/17/13 @ 14:07
wd4w/en<CR>Pld6w/bo<CR>Pld3w/eq<CR>PZZ

0 comments

#54 drio / drio - Score: 30 - 02/01/11 @ 18:07
wd4wG$bP03wd6wk02wPld3wk04wPZZ

0 comments

#55 h_east (トロッコ6個) / h_east - Score: 31 - 01/08/11 @ 19:16
w"ad4w9Wwd3w8bP14wd6w5bP6w"aPZZ

sermoa: Neat! I'm pleased to see that you still used one buffer, saving it for the end, but you thought of a faster way than i did! :)

h_east: Thanks! But no time has come super VimGolfer :)

2 comments

#56 Christopher Brew / Seph1rothVII - Score: 31 - 01/11/12 @ 22:11
wd4wG9wPk4bbd3wk3wPG3wd6wk2bPZZ

0 comments

#57 Joost / vlabakje - Score: 32 - 02/23/11 @ 16:50
wd4w/br<CR>P10bd6wk3bPld3w/are<CR>wPZZ

0 comments

#58 無ん垢の叫び / john_ababa - Score: 33 - 02/26/12 @ 11:47
w"ad4wjww"bd3w5w6dw"aP9BPk5B"bPZZ

0 comments

#59 Mislav Marohnić / mislav - Score: 36 - 12/06/11 @ 19:28
w"bd4WjWWd3Wkw2wP/end<CR>d6WkbbPjb"bPZZ

0 comments

#60 aimee / sermoa - Score: 38 - 01/08/11 @ 19:01
w"ad4w/en<CR>"bd6w"aP?b<CR>"cd3w"bP?eq<CR>"cPZZ

sermoa: Alright, now i'm looking forward to someone solving this in fewer keystrokes (with or without buffers) because that was way more effort than i thought it should be. But at least i've learnt about copypaste buffers! :)

1 comment

#61 Ben Griffiths / beng - Score: 39 - 01/15/11 @ 21:04
Wd4w/br<CR>hp/bo<CR>d3w/eq<CR>hp/en<CR>d6w/sh<CR>hp<Esc>ZZ

0 comments

Created by: sermoa

61 active golfers, 125 entries

Leaderboard (lowest score wins):
24
#1 - Tim Chase / gumnos

01/08/2011 at 07:58PM

24
#2 - Douglas Stockwell / dstockwell

01/08/2011 at 08:01PM

24
#3 - Federico Galassi / federicogalassi

01/08/2011 at 10:51PM

24
#4 - Utkarsh Kukreti / utkarshkukreti

01/08/2011 at 11:59PM

24
#5 - Wei Dai / clvv42

01/09/2011 at 01:53AM

24
#6 - derp derp / derp__

01/09/2011 at 03:14AM

24
#7 - Mattiassich Ákos / mattiassicha

01/09/2011 at 08:42AM

24
#8 - Stephen Morrow / yawmark

01/10/2011 at 03:31AM

24
#9 - ls lahrs / lslah

01/17/2011 at 05:02PM

24
#10 - Ujjwol Lamichhane / Ujjwol

02/03/2011 at 03:23AM

24
#11 - vg / vimgolfer

03/04/2011 at 01:33PM

24
#12 - Hu Junfeng / junfeng

07/31/2011 at 01:04PM

24
#13 - Justin Love / wondible

08/31/2011 at 02:41PM

24
#14 - Dragan Cvetinovic / kawkafi

11/20/2011 at 03:37PM

24
#15 - You-Siang Lin / yslinnctu

12/01/2011 at 03:46AM

24
#16 - Renat Aksitov / Korvin79

02/16/2012 at 01:01PM

24
#17 - Urtica dioica / udioica

07/05/2012 at 10:34PM

24
#18 - Marco Hinz / _mhinz_

05/28/2013 at 01:58PM

24
#19 - John Braxler / braxler

08/25/2014 at 08:17PM

25
#20 - Francisco Dibar / frandibar

01/09/2011 at 02:11AM

25
#21 - Gavin Gilmour / vesech

01/09/2011 at 10:24AM

25
#22 - Agus Lopez / aguslr

01/10/2011 at 11:53PM

25
#23 -  Ikhsan Maulana / ixandidu

01/14/2011 at 04:54PM

25
#24 - Martin Sander / 0x89

01/14/2011 at 08:53PM

25
#25 - Stanley Wang / stanleynwang

08/25/2011 at 11:16AM

25
#26 - William Dunand / wdunand

11/09/2011 at 10:31AM

26
#27 - aaaa3331 / aaaa3331

01/08/2011 at 09:46PM

26
#28 - Akira Matsuda / a_matsuda

01/09/2011 at 01:53AM

26
#29 - Paul King / nrocy

01/09/2011 at 05:57PM

26
#30 - Bryan Kam / bryankam

01/11/2011 at 08:03PM

26
#31 - Rob Ciaccio / RobertoCalavera

01/17/2011 at 05:53AM

26
#32 - Andrew Dorman / andydorman

02/22/2011 at 03:23PM

26
#33 - vimja / vimja666

11/04/2011 at 06:27PM

26
#34 - Xavier Nayrac / lkdjiin

01/07/2012 at 09:21PM

26
#35 - Paul Gessler / pdgessler

06/08/2012 at 11:54PM

26
#36 - Chris Brown / engineercyb

09/12/2012 at 12:17AM

27
#37 - Pete Johns / johnsyweb

01/08/2011 at 08:12PM

27
#38 - Balkoth / _Balkoth_

01/08/2011 at 09:07PM

27
#39 - Rörd Hinrichsen / roerdhh

01/09/2011 at 10:03PM

27
#40 - Visnu Pitiyanuvath / visnup

01/11/2011 at 07:50PM

27
#41 - Carlos Troncoso / carlostph

01/13/2011 at 11:26PM

27
#42 - Julien Pivotto / roidelapluie

03/17/2011 at 09:09AM

27
#43 - Justin Cullen / zenguine

02/27/2012 at 11:34PM

27
#44 - Joonas Pihlajamaa / jokkebk

03/15/2014 at 03:30PM

28
#45 - Victor Vaile / victorv4_

01/08/2011 at 11:13PM

28
#46 - Christoph Stock / christophstock

01/14/2011 at 06:05PM

28
#47 - SirVer / SirVerII

01/22/2011 at 09:53PM

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

05/30/2011 at 05:47PM

28
#49 - Emile Swarts / EmileSwarts

06/09/2011 at 08:31PM

28
#50 - Dave / zzdave13

07/24/2011 at 09:38PM

28
#51 - Nolen Royalty / NolenRoyalty

04/20/2012 at 09:58PM

29
#52 - RobertT / techrt2050

09/03/2013 at 05:58PM

29
#53 - teo danciu / teozaurus

10/17/2013 at 02:07PM

30
#54 - drio / drio

02/01/2011 at 06:07PM

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

01/08/2011 at 07:16PM

31
#56 - Christopher Brew / Seph1rothVII

01/11/2012 at 10:11PM

32
#57 - Joost / vlabakje

02/23/2011 at 04:50PM

33
#58 - 無ん垢の叫び / john_ababa

02/26/2012 at 11:47AM

36
#59 - Mislav Marohnić / mislav

12/06/2011 at 07:28PM

38
#60 - aimee / sermoa

01/08/2011 at 07:01PM

39
#61 - Ben Griffiths / beng

01/15/2011 at 09:04PM