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

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

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

Pretty simple, number the list.

  • Best score: 13
  • Best player score: 22
  • Position: #420 / 655
  • Number of attempts: 1
Shebangs for all - 2049 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: #455 / 523
  • Number of attempts: 4
Reverse Simple Deletion - 857 entries

You did the simple deletion, now reverse it.

  • Best score: 11
  • Best player score: 12
  • Position: #189 / 461
  • Number of attempts: 2
Increment, increment, increment.... - 701 entries

Vim likes macros

  • Best score: 10
  • Best player score: 12
  • Position: #192 / 413
  • Number of attempts: 1
Context Insensitive completion 1 - 512 entries

Finish writing this simple Python HTTP server.

  • Best score: 18
  • Best player score: 20
  • Position: #192 / 248
  • Number of attempts: 2
Change the content of a string - 1675 entries

This docstring is a complete lie. Fix it.

  • Best score: 22
  • Best player score: 27
  • Position: #457 / 616
  • Number of attempts: 1
Sort and add attributes - 1512 entries

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

  • Best score: 33
  • Best player score: 39
  • Position: #521 / 585
  • Number of attempts: 1
Add fold markers to a .c file - 664 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: #183 / 191
  • Number of attempts: 1
Simple text editing with Vim - 13145 entries

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

  • Best score: 13
  • Best player score: 14
  • Position: #863 / 3778
  • Number of attempts: 3
Reformat/Refactor a Golfer Class - 7261 entries

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

  • Best score: 10
  • Best player score: 48
  • Position: #1326 / 1792
  • 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