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

67 active golfers, 141 entries

Leaderboard (lowest score wins):
32
#61 - RockerZZY / @rocker_zzy

09/12/2020 at 02:58AM

33
#62 - 無ん垢の叫び / @john_ababa

02/26/2012 at 11:47AM

36
#63 - Mislav Marohnić / @mislav

12/06/2011 at 07:28PM

38
#64 - aimee / @sermoa

01/08/2011 at 07:01PM

39
#65 - Ben Griffiths / @beng

01/15/2011 at 09:04PM

64
#66 - shahanavaz m / @shahanavazm

02/19/2022 at 06:22AM

187
#67 - Mark Watson / @mrkrwtsn

11/20/2018 at 11:03PM