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

Change to ascending order - 548 entries

Change each line of numbers consistently from descending to ascending order.

  • Best score: 17
  • Best player score: 17
  • Position: #16 / 134
  • Number of attempts: 5
Wrap the text of an email message to 79 characters - 870 entries

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

  • Best score: 5
  • Best player score: 5
  • Position: #340 / 452
  • Number of attempts: 2
Search and Replace 0 - 5162 entries

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

  • Best score: 12
  • Best player score: 12
  • Position: #754 / 1675
  • Number of attempts: 2
Vertical Limit - 2637 entries

transform a succession of one word lines to a an array of strings

  • Best score: 21
  • Best player score: 21
  • Position: #108 / 778
  • Number of attempts: 7
Hatsuyume - 582 entries

http://en.wikipedia.org/wiki/Hatsuyume

  • Best score: 15
  • Best player score: 16
  • Position: #20 / 194
  • Number of attempts: 7
Context insensitive completion 0 - 607 entries

Buried in the lines you're not supposed to add is the line "Add this line!" Add that line to the top of the file.

  • Best score: 6
  • Best player score: 7
  • Position: #134 / 256
  • Number of attempts: 2
Change the content of a string - 1803 entries

This docstring is a complete lie. Fix it.

  • Best score: 22
  • Best player score: 22
  • Position: #256 / 656
  • Number of attempts: 3
Sort and add attributes - 1598 entries

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

  • Best score: 33
  • Best player score: 33
  • Position: #309 / 617
  • Number of attempts: 3
Whitespace, empty lines and tabs - 4054 entries

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

  • Best score: 16
  • Best player score: 31
  • Position: #622 / 866
  • Number of attempts: 1
Simple text editing with Vim - 13645 entries

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

  • Best score: 13
  • Best player score: 13
  • Position: #754 / 3907
  • Number of attempts: 4
Reformat/Refactor a Golfer Class - 7694 entries

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

  • Best score: 7
  • Best player score: 46
  • Position: #1316 / 1893
  • Number of attempts: 4
Dmitrii Efimenko
Github:

entered into 11 challenges

contributed 0 challenges