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

Swap values inside brackets - 2431 entries

Easy challenge.

  • Best score: 14
  • Best player score: 21
  • Position: #410 / 560
  • Number of attempts: 1
Wrap the text of an email message to 79 characters - 576 entries

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

  • Best score: 5
  • Best player score: 5
  • Position: #26 / 352
  • Number of attempts: 1
Python Hello World! Reformatting - 897 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: 44
  • Position: #198 / 350
  • Number of attempts: 1
A Simple One - 924 entries

Here is a very simple one - just to illustrate/introduce a vim feature that some people seem to miss...

  • Best score: 9
  • Best player score: 9
  • Position: #158 / 612
  • Number of attempts: 1
Almost encrypted - 180 entries

Convert the first paragraph to be even less readable.

  • Best score: 5
  • Best player score: 5
  • Position: #47 / 136
  • Number of attempts: 1
Remember FizzBuzz? - 589 entries

Output FizzBuzz to 100. Start with nothing.

  • Best score: 39
  • Best player score: 91
  • Position: #148 / 166
  • Number of attempts: 1
Whitespace, empty lines and tabs - 2980 entries

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

  • Best score: 16
  • Best player score: 42
  • Position: #623 / 664
  • Number of attempts: 1
Simple text editing with Vim - 11637 entries

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

  • Best score: 13
  • Best player score: 16
  • Position: #1972 / 3413
  • Number of attempts: 3
Reformat/Refactor a Golfer Class - 6015 entries

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

  • Best score: 32
  • Best player score: 41
  • Position: #783 / 1482
  • Number of attempts: 1
Jes
Twitter:

entered into 9 challenges

contributed 0 challenges