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

Rotating Philosophers Problem - 421 entries

Can you help the philosophers find a good place to sit before they get five forks and spaghetti?

  • Best score: 29
  • Best player score: 33
  • Position: #125 / 169
  • Number of attempts: 1
HTML to Haml - 905 entries

Help convert this HTML page to Haml.

  • Best score: 23
  • Best player score: 42
  • Position: #129 / 207
  • Number of attempts: 4
Insert a Markdown link - 473 entries

Put a link in a markdown document, using the after-the-paragraph format.

  • Best score: 22
  • Best player score: 25
  • Position: #81 / 157
  • Number of attempts: 5
Numbering a List - 1969 entries

Pretty simple, number the list.

  • Best score: 13
  • Best player score: 19
  • Position: #158 / 661
  • Number of attempts: 2
The holy-grail may help - 405 entries

Can you find it in less than 20 strokes, Arthur?

  • Best score: 16
  • Best player score: 16
  • Position: #60 / 221
  • Number of attempts: 4
Assignment Alignment - 909 entries

line up the operators. Use spaces, not tabs.

  • Best score: 18
  • Best player score: 29
  • Position: #143 / 226
  • Number of attempts: 2
A Simple One - 1091 entries

Here is a very simple one - just to illustrate/introduce a vim feature that some people seem to miss...

  • Best score: 9
  • Best player score: 9
  • Position: #155 / 680
  • Number of attempts: 2
Dumb to smart - 116 entries

Turn dumb quote to smart vim's way.

  • Best score: 27
  • Best player score: 33
  • Position: #34 / 60
  • Number of attempts: 2
Reconstruct the Sentence - 1745 entries

Get the sentence back in the proper order, remove duplicate lines, and then combine the separate lines into one.

  • Best score: 19
  • Best player score: 22
  • Position: #282 / 457
  • Number of attempts: 2
Simple text editing with Vim - 13626 entries

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

  • Best score: 13
  • Best player score: 19
  • Position: #2813 / 3902
  • Number of attempts: 4
Reformat/Refactor a Golfer Class - 7681 entries

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

  • Best score: 7
  • Best player score: 41
  • Position: #915 / 1889
  • Number of attempts: 4

Contributed Challenges

HTML to Haml - 905 entries

Help convert this HTML page to Haml.

Bradly Feeley
Twitter:

Ruby developer, Husband, outdoorsman, musician, and follower of Christ

entered into 11 challenges

contributed 1 challenges