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

un-C-escape string - 56 entries

Convert escape sequences to characters

  • Best score: 12
  • Best player score: 12
  • Position: #10 / 50
  • Number of attempts: 1
switch variable - 5028 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 13
  • Position: #1052 / 1734
  • Number of attempts: 1
Format the output - 145 entries

Sometimes your standard out is a little hard to read. Take this multilevel hash and make it human readable.

  • Best score: 35
  • Best player score: 75
  • Position: #31 / 39
  • Number of attempts: 3
Line Zipper - 450 entries

Zip/pair related lines.

  • Best score: 12
  • Best player score: 13
  • Position: #24 / 210
  • Number of attempts: 4
Alphabetize the directory - 283 entries

Put the contacts and their information in alphabetical order.

  • Best score: 30
  • Best player score: 34
  • Position: #45 / 99
  • Number of attempts: 4
Rotating Philosophers Problem - 388 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: 30
  • Position: #54 / 163
  • Number of attempts: 8
Numbering a List - 1855 entries

Pretty simple, number the list.

  • Best score: 13
  • Best player score: 20
  • Position: #275 / 638
  • Number of attempts: 6
Reformat/Refactor a Golfer Class - 6512 entries

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

  • Best score: 32
  • Best player score: 53
  • Position: #1386 / 1603
  • Number of attempts: 3
Scott Nielsen
Twitter:

entered into 8 challenges

contributed 0 challenges