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 - 1006 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: #155 / 383
  • Number of attempts: 6
Happy TvvO - 427 entries

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

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

Reproduce this lovely poem.

  • Best score: 30
  • Best player score: 40
  • Position: #135 / 174
  • Number of attempts: 1
Vertical Limit - 2564 entries

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

  • Best score: 21
  • Best player score: 35
  • Position: #715 / 759
  • Number of attempts: 2
The meaning - 575 entries

Numbers are fun!

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

Align as one import per line.

  • Best score: 17
  • Best player score: 32
  • Position: #162 / 198
  • Number of attempts: 1
Reformat some Python - 627 entries

Fix some very bizarrely laid-out code.

  • Best score: 34
  • Best player score: 46
  • Position: #156 / 240
  • Number of attempts: 1
Whitespace, empty lines and tabs - 3775 entries

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

  • Best score: 16
  • Best player score: 27
  • Position: #458 / 809
  • Number of attempts: 4
Simple text editing with Vim - 13039 entries

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

  • Best score: 13
  • Best player score: 14
  • Position: #961 / 3751
  • Number of attempts: 7
Reformat/Refactor a Golfer Class - 7201 entries

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

  • Best score: 28
  • Best player score: 38
  • Position: #617 / 1768
  • 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