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):
36
#61 - Mislav Marohnić / @mislav

12/06/2011 at 07:28PM

38
#62 - aimee / @sermoa

01/08/2011 at 07:01PM

39
#63 - Ben Griffiths / @beng

01/15/2011 at 09:04PM

187
#64 - Mark Watson / @mrkrwtsn

11/20/2018 at 11:03PM