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 - 852 entries

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

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

Align as one import per line.

  • Best score: 17
  • Best player score: 91
  • Position: #200 / 200
  • Number of attempts: 2
Rotating Philosophers Problem - 410 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: #140 / 166
  • Number of attempts: 1
Generate English Alphabets - 509 entries

Start with a, get up to z.

  • Best score: 19
  • Best player score: 24
  • Position: #46 / 212
  • Number of attempts: 3
Insert a Markdown link - 465 entries

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

  • Best score: 22
  • Best player score: 27
  • Position: #109 / 154
  • Number of attempts: 1
Numbering a List - 1941 entries

Pretty simple, number the list.

  • Best score: 13
  • Best player score: 19
  • Position: #172 / 657
  • Number of attempts: 5
Whitespace, empty lines and tabs - 3949 entries

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

  • Best score: 16
  • Best player score: 34
  • Position: #674 / 841
  • Number of attempts: 2
Flodder-challenge - 1443 entries

Replace the text the most efficient and win!

  • Best score: 27
  • Best player score: 49
  • Position: #329 / 369
  • Number of attempts: 1
Simple text editing with Vim - 13419 entries

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

  • Best score: 13
  • Best player score: 14
  • Position: #863 / 3846
  • Number of attempts: 7
Reformat/Refactor a Golfer Class - 7508 entries

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

  • Best score: 7
  • Best player score: 41
  • Position: #900 / 1847
  • 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