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 [challenge ID]

Played Challenges

A HAPPY NEW YEAR 2014 ! - 10564 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 33
  • Position: #3614 / 3646
  • Number of attempts: 1
Top X - 191 entries

The End File is the Top 10 Vimgolf Leaderboard at June 29, 2013. This is a second version, with a great contribution of @udioica. X is ten in Roman,a numeric system in ancient Rome

  • Best score: 18
  • Best player score: 88
  • Position: #69 / 69
  • Number of attempts: 1
abcd > a b c d - 274 entries

transform the single spaces into 4 spaces repeat for each line

  • Best score: 15
  • Best player score: 15
  • Position: #116 / 213
  • Number of attempts: 1
The name of the game - 638 entries

End up with the name of the game.

  • Best score: 11
  • Best player score: 11
  • Position: #151 / 350
  • Number of attempts: 2
SFD-ROC: vimvimvim - 1531 entries

Oh no, this line is longer than 80 chars... put each 'vim' on a new line.

  • Best score: 8
  • Best player score: 16
  • Position: #413 / 431
  • Number of attempts: 2
Saving the hashes(#) - 1973 entries

The following file is copied from vimcasts.org(Its only for learning purpose,hope the site owner doesn't mind it), its probably the easiest of challenges.Our goal is to delete every line which doesn't contain a hash signs. The remaining hash signs with numbers are then sorted to get the final output.

  • Best score: 20
  • Best player score: 29
  • Position: #316 / 468
  • Number of attempts: 3
remove dupes from array - 1324 entries

given a random string that contains a ruby-esque array, make sure that there are no duplicate elements

  • Best score: 17
  • Best player score: 23
  • Position: #203 / 328
  • Number of attempts: 3
David J Siefert
Twitter:

Inhabitant of planet Earth.

entered into 7 challenges

contributed 0 challenges