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

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

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

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

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

Little role switching.

  • Best score: 12
  • Best player score: 55
  • Position: #2114 / 2138
  • Number of attempts: 1
A Simple One - 1057 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 / 667
  • Number of attempts: 5
Reverse Simple Deletion - 854 entries

You did the simple deletion, now reverse it.

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

Vim likes macros

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

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

  • Best score: 20
  • Best player score: 29
  • Position: #101 / 180
  • Number of attempts: 6
Turn this csv list into queries - 252 entries

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

  • Best score: 98
  • Best player score: 113
  • Position: #33 / 101
  • Number of attempts: 9
The Cake is a Lie - 1365 entries

Correct the capitalization of each word

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

Make the header text stand out with surrounding asterisks

  • Best score: 15
  • Best player score: 18
  • Position: #246 / 346
  • Number of attempts: 8
Change the content of a string - 1593 entries

This docstring is a complete lie. Fix it.

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

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

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

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

  • Best score: 19
  • Best player score: 23
  • Position: #298 / 425
  • Number of attempts: 9
Plicatibu
Twitter:

entered into 13 challenges

contributed 0 challenges