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

Search and Replace 0 - 5170 entries

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

  • Best score: 7
  • Best player score: 16
  • Position: #1195 / 1680
  • Number of attempts: 3
constructor - 198 entries

coding a constructor for a simple class

  • Best score: 59
  • Best player score: 115
  • Position: #44 / 62
  • Number of attempts: 7
switch variable - 5136 entries

how fast can you switch two variable ?

  • Best score: 9
  • Best player score: 11
  • Position: #7 / 1767
  • Number of attempts: 2
Replacing some words - 445 entries

How fast could it be?

  • Best score: 17
  • Best player score: 20
  • Position: #52 / 152
  • Number of attempts: 3
Make it more readable - 2041 entries

Insert blank lines to make it more organized and readable

  • Best score: 13
  • Best player score: 15
  • Position: #211 / 659
  • Number of attempts: 3
remove dupes from array - 1379 entries

given a random string that contains a ruby-esque array, make sure that there are no duplicate elements

  • Best score: 17
  • Best player score: 17
  • Position: #7 / 342
  • Number of attempts: 9
imports alignment (python) - 729 entries

Align as one import per line.

  • Best score: 17
  • Best player score: 20
  • Position: #85 / 205
  • Number of attempts: 7
Fix the Haiku - 332 entries

Change this slightly scrambled haiku to its unscrambled form and fix the capitalisation and punctuation along the way.

  • Best score: 28
  • Best player score: 47
  • Position: #94 / 117
  • Number of attempts: 2
Reformat a C golf submission - 682 entries

Take this C golf submission (for the "tiny but standards-compliant Hello World program" category, naturally), and turn it into formatted C code.

  • Best score: 22
  • Best player score: 35
  • Position: #152 / 223
  • Number of attempts: 1
Simple text editing with Vim - 13682 entries

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

  • Best score: 13
  • Best player score: 16
  • Position: #2281 / 3920
  • Number of attempts: 3
Reformat/Refactor a Golfer Class - 7737 entries

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

  • Best score: 7
  • Best player score: 36
  • Position: #463 / 1901
  • Number of attempts: 7
Maciej Suchecki
Twitter:

entered into 11 challenges

contributed 0 challenges