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

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

  • Best score: 5
  • Best player score: 5
  • Position: #274 / 384
  • Number of attempts: 5
Search and Replace 0 - 4790 entries

Replace every instance of 'aaa' with 'xaaax'.

  • Best score: 12
  • Best player score: 12
  • Position: #700 / 1585
  • Number of attempts: 5
Vice versa - 7778 entries

Little role switching.

  • Best score: 12
  • Best player score: 55
  • Position: #2077 / 2095
  • Number of attempts: 1
A Simple One - 996 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: #545 / 641
  • Number of attempts: 5
Reverse Simple Deletion - 832 entries

You did the simple deletion, now reverse it.

  • Best score: 11
  • Best player score: 11
  • Position: #50 / 454
  • Number of attempts: 6
Increment, increment, increment.... - 643 entries

Vim likes macros

  • Best score: 10
  • Best player score: 10
  • Position: #49 / 398
  • Number of attempts: 3
Indentation - 497 entries

Indent each line according to the right number of spaces it needs.

  • Best score: 21
  • Best player score: 29
  • Position: #95 / 168
  • Number of attempts: 6
Turn this csv list into queries - 204 entries

Transform each line of this csv file into a MySQL-ready INSERT query.

  • Best score: 98
  • Best player score: 113
  • Position: #30 / 95
  • Number of attempts: 9
The Cake is a Lie - 1284 entries

Correct the capitalization of each word

  • Best score: 9
  • Best player score: 9
  • Position: #266 / 511
  • Number of attempts: 4
Make Fancy Header - 1007 entries

Make the header text stand out with surrounding asterisks

  • Best score: 16
  • Best player score: 18
  • Position: #240 / 337
  • Number of attempts: 8
Change the content of a string - 1457 entries

This docstring is a complete lie. Fix it.

  • Best score: 22
  • Best player score: 22
  • Position: #200 / 552
  • Number of attempts: 4
Sort and add attributes - 1321 entries

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

  • Best score: 33
  • Best player score: 33
  • Position: #249 / 527
  • Number of attempts: 4
Reconstruct the Sentence - 1348 entries

Get the sentence back in the proper order, remove duplicate lines, and then combine the separate lines into one.

  • Best score: 20
  • Best player score: 23
  • Position: #269 / 379
  • Number of attempts: 9
Plicatibu
Twitter:

entered into 13 challenges

contributed 0 challenges