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

Wrap the text of an email message to 79 characters - 576 entries

You're replying to an email with silly long lines. Clean them up.

  • Best score: 5
  • Best player score: 5
  • Position: #33 / 352
  • Number of attempts: 5
imports alignment (python) - 640 entries

Align as one import per line.

  • Best score: 17
  • Best player score: 91
  • Position: #191 / 191
  • Number of attempts: 2
Rotating Philosophers Problem - 376 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: 34
  • Position: #135 / 159
  • Number of attempts: 1
Generate English Alphabets - 438 entries

Start with a, get up to z.

  • Best score: 19
  • Best player score: 24
  • Position: #40 / 194
  • Number of attempts: 3
Insert a Markdown link - 411 entries

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

  • Best score: 22
  • Best player score: 27
  • Position: #99 / 139
  • Number of attempts: 1
Numbering a List - 1828 entries

Pretty simple, number the list.

  • Best score: 13
  • Best player score: 19
  • Position: #151 / 625
  • Number of attempts: 5
Whitespace, empty lines and tabs - 2979 entries

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

  • Best score: 16
  • Best player score: 34
  • Position: #539 / 663
  • Number of attempts: 2
Flodder-challenge - 901 entries

Replace the text the most efficient and win!

  • Best score: 27
  • Best player score: 49
  • Position: #244 / 270
  • Number of attempts: 1
Simple text editing with Vim - 11624 entries

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

  • Best score: 13
  • Best player score: 14
  • Position: #768 / 3410
  • Number of attempts: 7
Reformat/Refactor a Golfer Class - 6014 entries

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

  • Best score: 32
  • Best player score: 41
  • Position: #784 / 1481
  • Number of attempts: 4
Misha (Mike) Granin
Twitter:

from lake Baikal, Siberia: Designer, Entrepreneur, Teacher of Sri Sri Yoga, YES!+

entered into 10 challenges

contributed 0 challenges