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

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

  • Best score: 5
  • Best player score: 5
  • Position: #42 / 405
  • Number of attempts: 1
Numbering a List - 1929 entries

Pretty simple, number the list.

  • Best score: 13
  • Best player score: 22
  • Position: #416 / 651
  • Number of attempts: 1
Shebangs for all - 1961 entries

We've all seen or used a shebang once or twice. Ditch the specific paths and leave just a dynamic Ruby and Python bath behind.

  • Best score: 11
  • Best player score: 23
  • Position: #443 / 506
  • Number of attempts: 4
Reverse Simple Deletion - 845 entries

You did the simple deletion, now reverse it.

  • Best score: 11
  • Best player score: 12
  • Position: #187 / 457
  • Number of attempts: 2
Increment, increment, increment.... - 677 entries

Vim likes macros

  • Best score: 10
  • Best player score: 12
  • Position: #185 / 405
  • Number of attempts: 1
Context Insensitive completion 1 - 494 entries

Finish writing this simple Python HTTP server.

  • Best score: 18
  • Best player score: 20
  • Position: #188 / 243
  • Number of attempts: 2
Change the content of a string - 1541 entries

This docstring is a complete lie. Fix it.

  • Best score: 22
  • Best player score: 27
  • Position: #427 / 577
  • Number of attempts: 1
Sort and add attributes - 1418 entries

Sort the states and add the attribute country to each record.

  • Best score: 33
  • Best player score: 39
  • Position: #489 / 551
  • Number of attempts: 1
Add fold markers to a .c file - 604 entries

Fold markers can make it easier to navigate source code. Add them to this .c file.

  • Best score: 30
  • Best player score: 59
  • Position: #173 / 179
  • Number of attempts: 1
Simple text editing with Vim - 12627 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 / 3653
  • Number of attempts: 3
Reformat/Refactor a Golfer Class - 6825 entries

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

  • Best score: 28
  • Best player score: 48
  • Position: #1278 / 1673
  • Number of attempts: 1
Jeroen
Twitter:

Open Source Consultant at Inuits. Interests: Linux, Ubuntu, PHP, Ruby, Open Source, Gardening, Jogging, Music, Jazz, Star Trek

entered into 11 challenges

contributed 0 challenges