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

Readable Rubyhash - 239 entries

Rubyists talk about being cutting edge but how many are using 1.9 in production? Time to convert those verbose 1.8 hashes in to symbolic, succinct 1.9 beauties!

  • Best score: 23
  • Best player score: 38
  • Position: #77 / 88
  • Number of attempts: 1
NATO phonetic alphabet - 476 entries

Transform the series of words into a list.

  • Best score: 19
  • Best player score: 28
  • Position: #164 / 181
  • Number of attempts: 1
A simple change - 396 entries

Just change the numbers in the most efficient way ...

  • Best score: 12
  • Best player score: 22
  • Position: #163 / 175
  • Number of attempts: 1
The name of the game - 627 entries

End up with the name of the game.

  • Best score: 11
  • Best player score: 24
  • Position: #341 / 343
  • Number of attempts: 1
SFD-ROC: vimvimvim - 1508 entries

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

  • Best score: 8
  • Best player score: 27
  • Position: #424 / 424
  • Number of attempts: 1
Let's play some Ivmgolf - 1004 entries

Oops, I spelled that wrong.

  • Best score: 7
  • Best player score: 27
  • Position: #414 / 417
  • Number of attempts: 2
Whitespace, empty lines and tabs - 2970 entries

Convert tabs to spaces, strip empty lines and trailing whitespace.

  • Best score: 16
  • Best player score: 31
  • Position: #459 / 661
  • Number of attempts: 2
Simple text editing with Vim - 11619 entries

Make the pairs of lines match up by making each second line same as first

  • Best score: 13
  • Best player score: 14
  • Position: #943 / 3408
  • Number of attempts: 2
Reformat/Refactor a Golfer Class - 5993 entries

A simple case of removing unneeded code and fixing broken indentation.

  • Best score: 32
  • Best player score: 41
  • Position: #803 / 1478
  • Number of attempts: 3

Contributed Challenges

Add links to an existing HTML table - 60 entries

Add these links at that top to the respective table cell. First link, first cell, etc.

Joshua Travis
Twitter:

Awesome.

entered into 9 challenges

contributed 1 challenges