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

Python Hello World! Reformatting - 1057 entries

A novice Python using prints Hello World! and a pro shows him different way. Using vim to get into pro style from novice, win the challenge.

  • Best score: 39
  • Best player score: 43
  • Position: #161 / 402
  • Number of attempts: 6
Happy TvvO - 443 entries

Don’t forget the past, learn from it. Happy New Year.

  • Best score: 12
  • Best player score: 12
  • Position: #13 / 213
  • Number of attempts: 7
Minimalist Limerick - 540 entries

Reproduce this lovely poem.

  • Best score: 30
  • Best player score: 40
  • Position: #137 / 178
  • Number of attempts: 1
Vertical Limit - 2642 entries

transform a succession of one word lines to a an array of strings

  • Best score: 10
  • Best player score: 35
  • Position: #734 / 781
  • Number of attempts: 2
The meaning - 589 entries

Numbers are fun!

  • Best score: 5
  • Best player score: 5
  • Position: #52 / 369
  • Number of attempts: 3
imports alignment (python) - 729 entries

Align as one import per line.

  • Best score: 17
  • Best player score: 32
  • Position: #168 / 205
  • Number of attempts: 1
Reformat some Python - 660 entries

Fix some very bizarrely laid-out code.

  • Best score: 34
  • Best player score: 46
  • Position: #162 / 249
  • Number of attempts: 1
Whitespace, empty lines and tabs - 4083 entries

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

  • Best score: 7
  • Best player score: 27
  • Position: #494 / 872
  • Number of attempts: 4
Simple text editing with Vim - 13682 entries

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

  • Best score: 13
  • Best player score: 14
  • Position: #1000 / 3920
  • Number of attempts: 7
Reformat/Refactor a Golfer Class - 7737 entries

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

  • Best score: 7
  • Best player score: 38
  • Position: #656 / 1901
  • Number of attempts: 8
David Xia
Twitter:

The cure for boredom is curiosity. There is no cure for curiosity.

entered into 10 challenges

contributed 0 challenges