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

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

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

Align as one import per line.

  • Best score: 17
  • Best player score: 91
  • Position: #198 / 198
  • 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 - 487 entries

Start with a, get up to z.

  • Best score: 19
  • Best player score: 24
  • Position: #45 / 206
  • Number of attempts: 3
Insert a Markdown link - 450 entries

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

  • Best score: 22
  • Best player score: 27
  • Position: #106 / 149
  • Number of attempts: 1
Numbering a List - 1935 entries

Pretty simple, number the list.

  • Best score: 13
  • Best player score: 19
  • Position: #170 / 654
  • Number of attempts: 5
Whitespace, empty lines and tabs - 3742 entries

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

  • Best score: 16
  • Best player score: 34
  • Position: #644 / 803
  • Number of attempts: 2
Flodder-challenge - 1326 entries

Replace the text the most efficient and win!

  • Best score: 27
  • Best player score: 49
  • Position: #309 / 346
  • Number of attempts: 1
Simple text editing with Vim - 12989 entries

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

  • Best score: 13
  • Best player score: 14
  • Position: #838 / 3737
  • Number of attempts: 7
Reformat/Refactor a Golfer Class - 7154 entries

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

  • Best score: 28
  • Best player score: 41
  • Position: #868 / 1754
  • 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