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

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

  • Best score: 12
  • Best player score: 16
  • Position: #1086 / 1541
  • Number of attempts: 3
constructor - 165 entries

coding a constructor for a simple class

  • Best score: 59
  • Best player score: 115
  • Position: #41 / 56
  • Number of attempts: 7
switch variable - 4917 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 11
  • Position: #6 / 1701
  • Number of attempts: 2
Replacing some words - 412 entries

How fast could it be?

  • Best score: 17
  • Best player score: 20
  • Position: #49 / 145
  • Number of attempts: 3
Make it more readable - 1891 entries

Insert blank lines to make it more organized and readable

  • Best score: 13
  • Best player score: 15
  • Position: #192 / 622
  • Number of attempts: 3
remove dupes from array - 1290 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 / 325
  • Number of attempts: 9
imports alignment (python) - 640 entries

Align as one import per line.

  • Best score: 17
  • Best player score: 20
  • Position: #79 / 191
  • Number of attempts: 7
Fix the Haiku - 261 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: #84 / 105
  • Number of attempts: 2
Reformat a C golf submission - 522 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: #129 / 193
  • Number of attempts: 1
Simple text editing with Vim - 11624 entries

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

  • Best score: 13
  • Best player score: 16
  • Position: #1986 / 3410
  • Number of attempts: 3
Reformat/Refactor a Golfer Class - 6004 entries

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

  • Best score: 32
  • Best player score: 36
  • Position: #400 / 1480
  • Number of attempts: 7
Maciej Suchecki
Twitter:

entered into 11 challenges

contributed 0 challenges