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

constructor - 165 entries

coding a constructor for a simple class

  • Best score: 59
  • Best player score: 88
  • Position: #20 / 56
  • Number of attempts: 2
switch variable - 4917 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 12
  • Position: #665 / 1701
  • Number of attempts: 4
Refactor to Helpers - 45 entries

This Rails partial is almost all template escapes. Put it into a helper, and refactor each case to methods so we can build out the controls for each. (I've converted to tabs - fighting with Vimgolf's default config shouldn't be part of the challenge.)

  • Best score: 147
  • Best player score: 288
  • Position: #13 / 22
  • Number of attempts: 1
Shebangs for all - 1771 entries

We've all seen or used a shebang once or twice. Ditch the specific paths and leave just a dynamic Ruby and Python bath behind.

  • Best score: 11
  • Best player score: 13
  • Position: #171 / 467
  • Number of attempts: 3
Make Fancy Header - 963 entries

Make the header text stand out with surrounding asterisks

  • Best score: 16
  • Best player score: 16
  • Position: #55 / 326
  • Number of attempts: 3
Simple text editing with Vim - 11634 entries

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

  • Best score: 13
  • Best player score: 14
  • Position: #865 / 3412
  • Number of attempts: 1
Reformat/Refactor a Golfer Class - 6015 entries

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

  • Best score: 32
  • Best player score: 33
  • Position: #204 / 1482
  • Number of attempts: 4
maxthoursie
Twitter:

entered into 7 challenges

contributed 0 challenges