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

Swap values - 4643 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 13
  • Position: #561 / 1274
  • Number of attempts: 4
One number per line - 18755 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 17
  • Position: #1191 / 3870
  • Number of attempts: 8
Split line with dots - 2154 entries

This line is too long, split it.

  • Best score: 15
  • Best player score: 20
  • Position: #361 / 635
  • Number of attempts: 2
O Christmas Tree - 109 entries

Design a macro that makes trees grow (or ASCII triangles, if that's too hard).

  • Best score: 22
  • Best player score: 30
  • Position: #26 / 43
  • Number of attempts: 1
A HAPPY NEW YEAR 2014 ! - 10682 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 11
  • Position: #19 / 3689
  • Number of attempts: 3
attr_aligner - 3522 entries

Two attr keywords. Two separate indentations. Align the colons.

  • Best score: 19
  • Best player score: 34
  • Position: #546 / 703
  • Number of attempts: 1
Words in parens - 12967 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 14
  • Position: #229 / 3969
  • Number of attempts: 5
Circle of Fifths with Sharps - 114 entries

Display a list of the Circle of Fifths with corresponding solfege syllables with sharps. Handling spaces may be tricky.

  • Best score: 24
  • Best player score: 55
  • Position: #33 / 38
  • Number of attempts: 1
switch variable - 5079 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 11
  • Position: #414 / 1749
  • Number of attempts: 3
Reformat/Refactor a Golfer Class - 7154 entries

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

  • Best score: 28
  • Best player score: 40
  • Position: #822 / 1754
  • Number of attempts: 1
Joel Gärtner
Twitter:

entered into 10 challenges

contributed 0 challenges