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

Well, swap the values...

  • Best score: 11
  • Best player score: 13
  • Position: #562 / 1284
  • Number of attempts: 4
One number per line - 18840 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 17
  • Position: #1195 / 3893
  • Number of attempts: 8
Split line with dots - 2156 entries

This line is too long, split it.

  • Best score: 15
  • Best player score: 20
  • Position: #361 / 636
  • 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 ! - 10720 entries

A HAPPY NEW YEAR 2014 !

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

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

  • Best score: 19
  • Best player score: 34
  • Position: #547 / 706
  • Number of attempts: 1
Words in parens - 13005 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 14
  • Position: #233 / 3979
  • Number of attempts: 5
Circle of Fifths with Sharps - 119 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: #34 / 39
  • Number of attempts: 1
switch variable - 5101 entries

how fast can you switch two variable ?

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

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

  • Best score: 7
  • Best player score: 40
  • Position: #853 / 1848
  • Number of attempts: 1
Joel Gärtner
Twitter:

entered into 10 challenges

contributed 0 challenges