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

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

  • Best score: 21
  • Best player score: 35
  • Position: #714 / 757
  • 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 - 626 entries

Fix some very bizarrely laid-out code.

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

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

  • Best score: 16
  • Best player score: 27
  • Position: #456 / 807
  • Number of attempts: 4
Simple text editing with Vim - 13013 entries

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

  • Best score: 13
  • Best player score: 14
  • Position: #960 / 3744
  • Number of attempts: 7
Reformat/Refactor a Golfer Class - 7173 entries

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

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