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):
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 - Steve 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

24
#20 - chaotic / @laersn

08/02/2018 at 02:44PM

24
#21 - Qing Liu / @poeminlash

08/04/2022 at 02:55AM

24
#22 - Peppa Pig / @PeppaPi95550250

07/03/2024 at 08:25AM

24
#23 - nickGPT / @nickandbro

08/28/2024 at 11:17PM

25
#24 - Francisco Dibar / @frandibar

01/09/2011 at 02:11AM

25
#25 - Gavin Gilmour / @_gavingilmour

01/09/2011 at 10:24AM

25
#26 - Agus Lopez / @aguslr

01/10/2011 at 11:53PM

25
#27 -  Ikhsan Maulana / @ixandidu

01/14/2011 at 04:54PM

25
#28 - Martin Sander / @0x89

01/14/2011 at 08:53PM

25
#29 - Stanley Wang / @stanleynwang

08/25/2011 at 11:16AM

25
#30 - William Dunand / @wdunand

11/09/2011 at 10:31AM