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):
30
#61 - James / @Dronak

10/19/2023 at 06:45PM

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

01/08/2011 at 07:16PM

31
#63 - Christopher Brew / @Seph1rothVII

01/11/2012 at 10:11PM

32
#64 - Joost / @vlabakje

02/23/2011 at 04:50PM

32
#65 - RockerZZY / @rocker_zzy

09/12/2020 at 02:58AM

32
#66 - shahanavaz m / @shahanavazm

02/01/2024 at 03:34PM

33
#67 - じょんあば / @john_ababa

02/26/2012 at 11:47AM

36
#68 - Mislav Marohnić / @mislav

12/06/2011 at 07:28PM

38
#69 - aimee / @sermoa

01/08/2011 at 07:01PM

39
#70 - Ben Griffiths / @beng

01/15/2011 at 09:04PM

187
#71 - Mark Watson / @mrkrwtsn

11/20/2018 at 11:03PM