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 - 274 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: #85 / 97
  • Number of attempts: 1
NATO phonetic alphabet - 538 entries

Transform the series of words into a list.

  • Best score: 19
  • Best player score: 28
  • Position: #176 / 197
  • Number of attempts: 1
A simple change - 476 entries

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

  • Best score: 12
  • Best player score: 22
  • Position: #182 / 196
  • Number of attempts: 1
The name of the game - 678 entries

End up with the name of the game.

  • Best score: 11
  • Best player score: 24
  • Position: #361 / 363
  • Number of attempts: 1
SFD-ROC: vimvimvim - 1620 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: #448 / 450
  • Number of attempts: 1
Let's play some Ivmgolf - 1138 entries

Oops, I spelled that wrong.

  • Best score: 7
  • Best player score: 27
  • Position: #447 / 450
  • Number of attempts: 2
Whitespace, empty lines and tabs - 3843 entries

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

  • Best score: 16
  • Best player score: 31
  • Position: #574 / 828
  • Number of attempts: 2
Simple text editing with Vim - 13251 entries

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

  • Best score: 13
  • Best player score: 14
  • Position: #1026 / 3806
  • Number of attempts: 2
Reformat/Refactor a Golfer Class - 7369 entries

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

  • Best score: 7
  • Best player score: 41
  • Position: #908 / 1821
  • Number of attempts: 3

Contributed Challenges

Add links to an existing HTML table - 97 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