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

remove dupes from array - 1260 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
  • Number of attempts: 9
Make it more readable - 1818 entries

Insert blank lines to make it more organized and readable

  • Best score: 13
  • Best player score: 15
  • Number of attempts: 3
imports alignment (python) - 586 entries

Align as one import per line.

  • Best score: 17
  • Best player score: 20
  • Number of attempts: 7
constructor - 165 entries

coding a constructor for a simple class

  • Best score: 59
  • Best player score: 115
  • Number of attempts: 7
Replacing some words - 405 entries

How fast could it be?

  • Best score: 17
  • Best player score: 20
  • Number of attempts: 3
Reformat/Refactor a Golfer Class - 5734 entries

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

  • Best score: 32
  • Best player score: 36
  • Number of attempts: 7
Reformat a C golf submission - 489 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
  • Number of attempts: 1
Fix the Haiku - 247 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
  • Number of attempts: 2
Simple text editing with Vim - 11200 entries

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

  • Best score: 13
  • Best player score: 16
  • Number of attempts: 3
Search and Replace 0 - 4479 entries

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

  • Best score: 12
  • Best player score: 16
  • Number of attempts: 3
switch variable - 4777 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 11
  • Number of attempts: 2
Maciej Suchecki
Twitter:

entered into 11 challenges

contributed 0 challenges