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

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

  • Best score: 12
  • Best player score: 16
  • Position: #1190 / 1675
  • 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 - 5128 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 11
  • Position: #6 / 1764
  • 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 - 2039 entries

Insert blank lines to make it more organized and readable

  • Best score: 13
  • Best player score: 15
  • Position: #211 / 658
  • Number of attempts: 3
remove dupes from array - 1377 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 / 341
  • Number of attempts: 9
imports alignment (python) - 725 entries

Align as one import per line.

  • Best score: 17
  • Best player score: 20
  • Position: #84 / 203
  • Number of attempts: 7
Fix the Haiku - 331 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: #93 / 116
  • Number of attempts: 2
Reformat a C golf submission - 681 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: #151 / 222
  • 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: 16
  • Position: #2273 / 3907
  • Number of attempts: 3
Reformat/Refactor a Golfer Class - 7694 entries

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

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

entered into 11 challenges

contributed 0 challenges